3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Traditional Chinese translation
20 Ext.onReady(function(){
22 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">讀取中...</div>';
26 Ext.view.View.prototype.emptyText = "";
30 Ext.grid.Panel.prototype.ddText = "選擇了 {0} 行";
34 Ext.TabPanelItem.prototype.closeText = "關閉此標籤";
37 if(Ext.form.field.Base){
38 Ext.form.field.Base.prototype.invalidText = "數值不符合欄位規定";
42 Ext.LoadMask.prototype.msg = "讀取中...";
46 Ext.Date.monthNames = [
73 Ext.MessageBox.buttonText = {
82 Ext.apply(Ext.util.Format, {
83 thousandSeparator: '.',
84 decimalSeparator: ',',
85 currencySign: '\u00a5', // Chinese Yuan
91 Ext.apply(Ext.picker.Date.prototype, {
93 minText : "日期必須大於最小容許日期",
94 maxText : "日期必須小於最大容許日期",
95 disabledDaysText : "",
96 disabledDatesText : "",
97 monthNames : Ext.Date.monthNames,
98 dayNames : Ext.Date.dayNames,
99 nextText : "下個月 (Ctrl+右方向鍵)",
100 prevText : "上個月 (Ctrl+左方向鍵)",
101 monthYearText : "選擇月份 (Ctrl+上/下方向鍵選擇年份)",
102 todayTip : "{0} (空白鍵)",
107 if(Ext.picker.Month) {
108 Ext.apply(Ext.picker.Month.prototype, {
114 if(Ext.toolbar.Paging){
115 Ext.apply(Ext.PagingToolbar.prototype, {
116 beforePageText : "第",
117 afterPageText : "頁,共{0}頁",
122 refreshText : "重新整理",
123 displayMsg : "顯示{0} - {1}筆,共{2}筆",
128 if(Ext.form.field.Text){
129 Ext.apply(Ext.form.field.Text.prototype, {
130 minLengthText : "此欄位最少要輸入 {0} 個字",
131 maxLengthText : "此欄位最多輸入 {0} 個字",
132 blankText : "此欄位為必填",
138 if(Ext.form.field.Number){
139 Ext.apply(Ext.form.field.Number.prototype, {
140 minText : "此欄位之數值必須大於 {0}",
141 maxText : "此欄位之數值必須小於 {0}",
142 nanText : "{0} 不是合法的數字"
146 if(Ext.form.field.Date){
147 Ext.apply(Ext.form.field.Date.prototype, {
148 disabledDaysText : "無法使用",
149 disabledDatesText : "無法使用",
150 minText : "此欄位之日期必須在 {0} 之後",
151 maxText : "此欄位之日期必須在 {0} 之前",
152 invalidText : "{0} 不是正確的日期格式 - 必須像是 「 {1} 」 這樣的格式",
157 if(Ext.form.field.ComboBox){
158 Ext.apply(Ext.form.field.ComboBox.prototype, {
159 valueNotFoundText : undefined
161 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
162 loadingText : "讀取中 ..."
166 if(Ext.form.field.VTypes){
167 Ext.apply(Ext.form.field.VTypes, {
168 emailText : '此欄位必須輸入像 "user@example.com" 之E-Mail格式',
169 urlText : '此欄位必須輸入像 "http:/'+'/www.example.com" 之網址格式',
170 alphaText : '此欄位僅能輸入半形英文字母及底線( _ )符號',
171 alphanumText : '此欄位僅能輸入半形英文字母、數字及底線( _ )符號'
175 if(Ext.grid.header.Container){
176 Ext.apply(Ext.grid.header.Container.prototype, {
177 sortAscText : "正向排序",
178 sortDescText : "反向排序",
180 unlockText : "解開欄位鎖定",
185 if(Ext.grid.PropertyColumnModel){
186 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
193 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
194 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
195 splitTip : "拖曳縮放大小.",
196 collapsibleSplitTip : "拖曳縮放大小. 滑鼠雙擊隱藏."