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

http://prosporous.googlecode.com/ · JavaScript · 156 lines · 131 code · 20 blank · 5 comment · 21 complexity · 26e68b75c38baeccd9117d920732effb MD5 · raw file

  1. /*
  2. * Japanese translation
  3. * By tyama
  4. * 04-08-2007, 05:49 AM
  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 = ['1?', '2?', '3?', '4?', '5?', '6?', '7?', '8?', '9?', '10?','11?','12?'];
  23. Date.dayNames = [
  24. "?",
  25. "?",
  26. "?",
  27. "?",
  28. "?",
  29. "?",
  30. "?"];
  31. if(Ext.MessageBox){
  32. Ext.MessageBox.buttonText = {
  33. ok : "OK",
  34. cancel : "?????",
  35. yes : "??",
  36. no : "???"
  37. };
  38. }
  39. if(Ext.util.Format){
  40. Ext.util.Format.date = function(v, format){
  41. if(!v) return "";
  42. if(!(v instanceof Date)) v = new Date(Date.parse(v));
  43. return v.dateFormat(format || "Y/m/d");
  44. };
  45. }
  46. if(Ext.DatePicker){
  47. Ext.apply(Ext.DatePicker.prototype, {
  48. todayText : "??",
  49. minText : "???????????????",
  50. maxText : "???????????????",
  51. disabledDaysText : "",
  52. disabledDatesText : "",
  53. monthNames : Date.monthNames,
  54. dayNames : Date.dayNames,
  55. nextText : '??? (??????+?)',
  56. prevText : '??? (??????+?)',
  57. monthYearText : '??? (??????+?/?????)',
  58. todayTip : "{0} (??????)",
  59. format : "Y/m/d"
  60. });
  61. }
  62. if(Ext.PagingToolbar){
  63. Ext.apply(Ext.PagingToolbar.prototype, {
  64. beforePageText : "???",
  65. afterPageText : "/ {0}",
  66. firstText : "??????",
  67. prevText : "?????",
  68. nextText : "?????",
  69. lastText : "??????",
  70. refreshText : "??",
  71. displayMsg : "{2} ?? {0} - {1} ???",
  72. emptyMsg : '??????????????'
  73. });
  74. }
  75. if(Ext.form.TextField){
  76. Ext.apply(Ext.form.TextField.prototype, {
  77. minLengthText : "???????????? {0} ???",
  78. maxLengthText : "???????????? {0} ???",
  79. blankText : "???????",
  80. regexText : "",
  81. emptyText : null
  82. });
  83. }
  84. if(Ext.form.NumberField){
  85. Ext.apply(Ext.form.NumberField.prototype, {
  86. minText : "???????????? {0} ???",
  87. maxText : "???????????? {0} ???",
  88. nanText : "{0} ???????????"
  89. });
  90. }
  91. if(Ext.form.DateField){
  92. Ext.apply(Ext.form.DateField.prototype, {
  93. disabledDaysText : "??",
  94. disabledDatesText : "??",
  95. minText : "???????????? {0} ???????????????",
  96. maxText : "???????????? {0} ???????????????",
  97. invalidText : "{0} ???????????? - ??????{1}????",
  98. format : "Y/m/d"
  99. });
  100. }
  101. if(Ext.form.ComboBox){
  102. Ext.apply(Ext.form.ComboBox.prototype, {
  103. loadingText : "?????...",
  104. valueNotFoundText : undefined
  105. });
  106. }
  107. if(Ext.form.VTypes){
  108. Ext.apply(Ext.form.VTypes, {
  109. emailText : '????????"user@domain.com"?????????????',
  110. urlText : 'URL?"http:/'+'/www.domain.com"?????????????',
  111. alphaText : '?????"_"?????',
  112. alphanumText : '?????"_"?????'
  113. });
  114. }
  115. if(Ext.grid.GridView){
  116. Ext.apply(Ext.grid.GridView.prototype, {
  117. sortAscText : "??",
  118. sortDescText : "??",
  119. lockText : "??????",
  120. unlockText : "????????",
  121. columnsText : "Columns"
  122. });
  123. }
  124. if(Ext.grid.PropertyColumnModel){
  125. Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
  126. nameText : "??",
  127. valueText : "?",
  128. dateFormat : "Y/m/d"
  129. });
  130. }
  131. if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
  132. Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
  133. splitTip : "????????????????",
  134. collapsibleSplitTip : "?????????? ???????????"
  135. });
  136. }