/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
*/
/**
* Traditional Chinese translation
* By hata1234
* 09 April 2007
*/
Ext.onReady(function() {
var parseCodes;
if (Ext.Date) {
Ext.Date.monthNames = ["一月", "二月", "三月", "四月", "五月", "å…æœˆ", "七月", "八月", "乿œˆ", "åæœˆ", "å一月", "å二月"];
Ext.Date.dayNames = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期å…"];
Ext.Date.formatCodes.a = "(this.getHours() < 12 ? '上åˆ' : '下åˆ')";
Ext.Date.formatCodes.A = "(this.getHours() < 12 ? '上åˆ' : '下åˆ')";
parseCodes = {
g: 1,
c: "if (/(上åˆ)/i.test(results[{0}])) {\n"
+ "if (!h || h == 12) { h = 0; }\n"
+ "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
s: "(上åˆ|下åˆ)",
calcAtEnd: true
};
Ext.Date.parseCodes.a = Ext.Date.parseCodes.A = parseCodes;
}
if (Ext.util && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: ',',
decimalSeparator: '.',
currencySign: '\u00a5',
// Chinese Yuan
dateFormat: 'Y/m/d'
});
}
});
Ext.define("Ext.locale.zh_TW.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.zh_TW.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "鏿“‡äº† {0} 行"
});
Ext.define("Ext.locale.zh_TW.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "é—œé–‰æ¤æ¨™ç±¤"
});
Ext.define("Ext.locale.zh_TW.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "數值ä¸ç¬¦åˆæ¬„ä½è¦å®š"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.zh_TW.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "讀å–ä¸..."
});
Ext.define("Ext.locale.zh_TW.picker.Date", {
override: "Ext.picker.Date",
todayText: "今天",
minText: "æ—¥æœŸå¿…é ˆå¤§æ–¼æœ€å°å®¹è¨±æ—¥æœŸ",
maxText: "æ—¥æœŸå¿…é ˆå°æ–¼æœ€å¤§å®¹è¨±æ—¥æœŸ",
disabledDaysText: "",
disabledDatesText: "",
nextText: "下個月 (Ctrl+峿–¹å‘éµ)",
prevText: "上個月 (Ctrl+左方å‘éµ)",
monthYearText: "鏿“‡æœˆä»½ (Ctrl+上/下方å‘éµé¸æ“‡å¹´ä»½)",
format: "y/m/d",
ariaTitle: '{0}',
ariaTitleDateFormat: 'Y\u5e74m\u6708d\u65e5',
longDayFormat: 'Y\u5e74m\u6708d\u65e5',
monthYearFormat: 'Y\u5e74m\u6708',
getDayInitial: function (value) {
// Grab the last character
return value.substr(value.length - 1);
}
});
Ext.define("Ext.locale.zh_TW.picker.Month", {
override: "Ext.picker.Month",
okText: "确定",
cancelText: "å–æ¶ˆ"
});
Ext.define("Ext.locale.zh_TW.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "第",
afterPageText: "é ,共{0}é ",
firstText: "第一é ",
prevText: "上一é ",
nextText: "下一é ",
lastText: "最後é ",
refreshText: "釿–°æ•´ç†",
displayMsg: "顯示{0} - {1}ç†,å…±{2}ç†",
emptyMsg: '沒有任何資料'
});
Ext.define("Ext.locale.zh_TW.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "æ¤æ¬„使œ€å°‘è¦è¼¸å…¥ {0} 個å—",
maxLengthText: "æ¤æ¬„使œ€å¤šè¼¸å…¥ {0} 個å—",
blankText: "æ¤æ¬„ä½ç‚ºå¿…å¡«",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.zh_TW.form.field.Number", {
override: "Ext.form.field.Number",
minText: "æ¤æ¬„ä½ä¹‹æ•¸å€¼å¿…é ˆå¤§æ–¼ {0}",
maxText: "æ¤æ¬„ä½ä¹‹æ•¸å€¼å¿…é ˆå°æ–¼ {0}",
nanText: "{0} 䏿˜¯åˆæ³•的數å—"
});
Ext.define("Ext.locale.zh_TW.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "無法使用",
disabledDatesText: "無法使用",
minText: "æ¤æ¬„ä½ä¹‹æ—¥æœŸå¿…é ˆåœ¨ {0} 之後",
maxText: "æ¤æ¬„ä½ä¹‹æ—¥æœŸå¿…é ˆåœ¨ {0} 之å‰",
invalidText: "{0} 䏿˜¯æ£ç¢ºçš„æ—¥æœŸæ ¼å¼ - å¿…é ˆåƒæ˜¯ 「 {1} ã€ é€™æ¨£çš„æ ¼å¼",
format: "Y/m/d"
});
Ext.define("Ext.locale.zh_TW.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "讀å–ä¸ ..."
});
});
Ext.define("Ext.locale.zh_TW.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'æ¤æ¬„ä½å¿…é ˆè¼¸å…¥åƒ " [email protected]" 之E-Mailæ ¼å¼',
urlText: 'æ¤æ¬„ä½å¿…é ˆè¼¸å…¥åƒ "http:/' + '/www.example.com" ä¹‹ç¶²å€æ ¼å¼',
alphaText: 'æ¤æ¬„ä½åƒ…能輸入åŠå½¢è‹±æ–‡å—æ¯åŠåº•ç·š( _ )符號',
alphanumText: 'æ¤æ¬„ä½åƒ…能輸入åŠå½¢è‹±æ–‡å—æ¯ã€æ•¸å—åŠåº•ç·š( _ )符號'
});
Ext.define("Ext.locale.zh_TW.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "æ£å‘排åº",
sortDescText: "å呿ޒåº",
lockText: "鎖定欄ä½",
unlockText: "解開欄ä½éŽ–å®š",
columnsText: "欄ä½"
});
Ext.define("Ext.locale.zh_TW.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "å稱",
valueText: "數值",
dateFormat: "Y/m/d"
});
Ext.define("Ext.locale.zh_TW.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "確定",
cancel: "å–æ¶ˆ",
yes: "是",
no: "å¦"
}
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.zh_TW.Component", {
override: "Ext.Component"
});
|