PageRenderTime 26ms CodeModel.GetById 15ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

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