PageRenderTime 36ms CodeModel.GetById 21ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/source/Plug-in/ext/build/locale/ext-lang-zh_TW.js

http://prosporous.googlecode.com/
JavaScript | 172 lines | 147 code | 20 blank | 5 comment | 21 complexity | 3ed5a74161798d9dc1ee518e4534b2b0 MD5 | raw file
  1/*
  2 * Traditional Chinese translation
  3 * By hata1234
  4 * 09 April 2007
  5 */
  6
  7Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">???...</div>';
  8
  9if(Ext.View){
 10    Ext.View.prototype.emptyText = "";
 11}
 12
 13if(Ext.grid.GridPanel){
 14    Ext.grid.GridPanel.prototype.ddText = "??? {0} ?";
 15}
 16
 17if(Ext.TabPanelItem){
 18    Ext.TabPanelItem.prototype.closeText = "?????";
 19}
 20
 21if(Ext.form.Field){
 22    Ext.form.Field.prototype.invalidText = "?????????";
 23}
 24
 25if(Ext.LoadMask){
 26    Ext.LoadMask.prototype.msg = "???...";
 27}
 28
 29Date.monthNames = [
 30    "??",
 31    "??",
 32    "??",
 33    "??",
 34    "??",
 35    "??",
 36    "??",
 37    "??",
 38    "??",
 39    "??",
 40    "???",
 41    "???"
 42];
 43
 44Date.dayNames = [
 45    "?",
 46    "?",
 47    "?",
 48    "?",
 49    "?",
 50    "?",
 51    "?"
 52];
 53
 54if(Ext.MessageBox){
 55    Ext.MessageBox.buttonText = {
 56        ok : "??",
 57        cancel : "??",
 58        yes : "?",
 59        no : "?"
 60    };
 61}
 62
 63if(Ext.util.Format){
 64    Ext.util.Format.date = function(v, format){
 65       if(!v) return "";
 66       if(!(v instanceof Date)) v = new Date(Date.parse(v));
 67       return v.dateFormat(format || "Y/m/d");
 68    };
 69}
 70
 71if(Ext.DatePicker){
 72    Ext.apply(Ext.DatePicker.prototype, {
 73       todayText         : "??",
 74       minText           : "????????????",
 75       maxText           : "????????????",
 76       disabledDaysText  : "",
 77       disabledDatesText : "",
 78       monthNames        : Date.monthNames,
 79       dayNames          : Date.dayNames,       
 80       nextText          : "??? (Ctrl+????)",
 81       prevText          : "??? (Ctrl+????)",
 82       monthYearText     : "???? (Ctrl+?/????????)",
 83       todayTip          : "{0} (???)",
 84       format            : "y/m/d",
 85       okText            : "??",
 86       cancelText        : "??"
 87    });
 88}
 89
 90if(Ext.PagingToolbar){
 91    Ext.apply(Ext.PagingToolbar.prototype, {
 92       beforePageText : "?",
 93       afterPageText  : "???{0}?",
 94       firstText      : "???",
 95       prevText       : "???",
 96       nextText       : "???",
 97       lastText       : "???",
 98       refreshText    : "????",
 99       displayMsg     : "??{0} - {1}?,?{2}?",
100       emptyMsg       : '??????'
101    });
102}
103
104if(Ext.form.TextField){
105    Ext.apply(Ext.form.TextField.prototype, {
106       minLengthText : "???????? {0} ??",
107       maxLengthText : "??????? {0} ??",
108       blankText     : "??????",
109       regexText     : "",
110       emptyText     : null
111    });
112}
113
114if(Ext.form.NumberField){
115    Ext.apply(Ext.form.NumberField.prototype, {
116       minText : "?????????? {0}",
117       maxText : "?????????? {0}",
118       nanText : "{0} ???????"
119    });
120}
121
122if(Ext.form.DateField){
123    Ext.apply(Ext.form.DateField.prototype, {
124       disabledDaysText  : "????",
125       disabledDatesText : "????",
126       minText           : "????????? {0} ??",
127       maxText           : "????????? {0} ??",
128       invalidText       : "{0} ????????? - ???? ? {1} ? ?????",
129       format            : "Y/m/d"
130    });
131}
132
133if(Ext.form.ComboBox){
134    Ext.apply(Ext.form.ComboBox.prototype, {
135       loadingText       : "??? ...",
136       valueNotFoundText : undefined
137    });
138}
139
140if(Ext.form.VTypes){
141    Ext.apply(Ext.form.VTypes, {
142       emailText    : '???????? "user@domain.com" ?E-Mail??',
143       urlText      : '???????? "http:/'+'/www.domain.com" ?????',
144       alphaText    : '????????????????( _ )??',
145       alphanumText : '???????????????????( _ )??'
146    });
147}
148
149if(Ext.grid.GridView){
150    Ext.apply(Ext.grid.GridView.prototype, {
151       sortAscText  : "????",
152       sortDescText : "????",
153       lockText     : "????",
154       unlockText   : "??????",
155       columnsText  : "??"
156    });
157}
158
159if(Ext.grid.PropertyColumnModel){
160    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
161       nameText   : "??",
162       valueText  : "??",
163       dateFormat : "Y/m/d"
164    });
165}
166
167if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
168    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
169       splitTip            : "??????.",
170       collapsibleSplitTip : "??????. ??????."
171    });
172}