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