/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
- /*
- * Traditional Chinese translation
- * By hata1234
- * 09 April 2007
- */
- Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">???...</div>';
- if(Ext.View){
- Ext.View.prototype.emptyText = "";
- }
- if(Ext.grid.GridPanel){
- Ext.grid.GridPanel.prototype.ddText = "??? {0} ?";
- }
- if(Ext.TabPanelItem){
- Ext.TabPanelItem.prototype.closeText = "?????";
- }
- if(Ext.form.Field){
- Ext.form.Field.prototype.invalidText = "?????????";
- }
- if(Ext.LoadMask){
- Ext.LoadMask.prototype.msg = "???...";
- }
- Date.monthNames = [
- "??",
- "??",
- "??",
- "??",
- "??",
- "??",
- "??",
- "??",
- "??",
- "??",
- "???",
- "???"
- ];
- Date.dayNames = [
- "?",
- "?",
- "?",
- "?",
- "?",
- "?",
- "?"
- ];
- if(Ext.MessageBox){
- Ext.MessageBox.buttonText = {
- ok : "??",
- cancel : "??",
- yes : "?",
- no : "?"
- };
- }
- if(Ext.util.Format){
- Ext.util.Format.date = function(v, format){
- if(!v) return "";
- if(!(v instanceof Date)) v = new Date(Date.parse(v));
- return v.dateFormat(format || "Y/m/d");
- };
- }
- if(Ext.DatePicker){
- Ext.apply(Ext.DatePicker.prototype, {
- todayText : "??",
- minText : "????????????",
- maxText : "????????????",
- disabledDaysText : "",
- disabledDatesText : "",
- monthNames : Date.monthNames,
- dayNames : Date.dayNames,
- nextText : "??? (Ctrl+????)",
- prevText : "??? (Ctrl+????)",
- monthYearText : "???? (Ctrl+?/????????)",
- todayTip : "{0} (???)",
- format : "y/m/d",
- okText : "??",
- cancelText : "??"
- });
- }
- if(Ext.PagingToolbar){
- Ext.apply(Ext.PagingToolbar.prototype, {
- beforePageText : "?",
- afterPageText : "???{0}?",
- firstText : "???",
- prevText : "???",
- nextText : "???",
- lastText : "???",
- refreshText : "????",
- displayMsg : "??{0} - {1}?,?{2}?",
- emptyMsg : '??????'
- });
- }
- if(Ext.form.TextField){
- Ext.apply(Ext.form.TextField.prototype, {
- minLengthText : "???????? {0} ??",
- maxLengthText : "??????? {0} ??",
- blankText : "??????",
- regexText : "",
- emptyText : null
- });
- }
- if(Ext.form.NumberField){
- Ext.apply(Ext.form.NumberField.prototype, {
- minText : "?????????? {0}",
- maxText : "?????????? {0}",
- nanText : "{0} ???????"
- });
- }
- if(Ext.form.DateField){
- Ext.apply(Ext.form.DateField.prototype, {
- disabledDaysText : "????",
- disabledDatesText : "????",
- minText : "????????? {0} ??",
- maxText : "????????? {0} ??",
- invalidText : "{0} ????????? - ???? ? {1} ? ?????",
- format : "Y/m/d"
- });
- }
- if(Ext.form.ComboBox){
- Ext.apply(Ext.form.ComboBox.prototype, {
- loadingText : "??? ...",
- valueNotFoundText : undefined
- });
- }
- if(Ext.form.VTypes){
- Ext.apply(Ext.form.VTypes, {
- emailText : '???????? "user@domain.com" ?E-Mail??',
- urlText : '???????? "http:/'+'/www.domain.com" ?????',
- alphaText : '????????????????( _ )??',
- alphanumText : '???????????????????( _ )??'
- });
- }
- if(Ext.grid.GridView){
- Ext.apply(Ext.grid.GridView.prototype, {
- sortAscText : "????",
- sortDescText : "????",
- lockText : "????",
- unlockText : "??????",
- columnsText : "??"
- });
- }
- if(Ext.grid.PropertyColumnModel){
- Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
- nameText : "??",
- valueText : "??",
- dateFormat : "Y/m/d"
- });
- }
- if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
- Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
- splitTip : "??????.",
- collapsibleSplitTip : "??????. ??????."
- });
- }