1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
|
/*!
* Ext JS Library 3.0.3
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
/*
* Japanese translation
* By tyama
* 04-08-2007, 05:49 AM
*
* update based on English Translations by Condor (8 Aug 2008)
* By sakuro (30 Aug 2008)
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">èªã?¿è¾¼ã?¿ä¸...</div>';
if(Ext.DataView){
Ext.DataView.prototype.emptyText = "";
}
if(Ext.grid.GridPanel){
Ext.grid.GridPanel.prototype.ddText = "{0} 行�択";
}
if(Ext.LoadMask){
Ext.LoadMask.prototype.msg = "èªã?¿è¾¼ã?¿ä¸...";
}
Date.monthNames = [
'1月',
'2月',
'3月',
'4月',
'5月',
'6月',
'7月',
'8月',
'9月',
'10月',
'11月',
'12月'
];
Date.getShortMonthName = function(month) {
return "" + (month + 1);
};
Date.monthNumbers = {
"1" : 0,
"2" : 1,
"3" : 2,
"4" : 3,
"5" : 4,
"6" : 5,
"7" : 6,
"8" : 7,
"9" : 8,
"10" : 9,
"11" : 10,
"12" : 11
};
Date.getMonthNumber = function(name) {
return Date.monthNumbers[name.substring(0, name.length - 1)];
// or simply parseInt(name.substring(0, name.length - 1)) - 1
};
Date.dayNames = [
"日曜日",
"月曜日",
"�曜日",
"水曜日",
"木曜日",
"金曜日",
"土曜日"
];
Date.getShortDayName = function(day) {
return Date.dayNames[day].substring(0, 1); // just remove "曜日" suffix
};
Date.formatCodes.a = "(this.getHours() < 12 ? '��' : '�後')";
Date.formatCodes.A = "(this.getHours() < 12 ? '��' : '�後')"; // no case difference
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "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 : '次月ã?¸ (コントãƒãƒ¼ãƒ«+å?³)',
prevText : 'å‰?月ã?¸ (コントãƒãƒ¼ãƒ«+å·¦)',
monthYearText : '月é?¸æŠž (コントãƒãƒ¼ãƒ«+上/下ã?§å¹´ç§»å‹•)',
todayTip : "{0} (スペースã‚ー)",
format : "Y/m/d",
okText : "OK",
cancelText : "ã‚ャンセル",
startDay : 0
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "ページ",
afterPageText : "/ {0}",
firstText : "最��ページ",
prevText : "��ページ",
nextText : "次�ページ",
lastText : "最後�ページ",
refreshText : "æ›´æ–°",
displayMsg : "{2} ä»¶ä¸ {0} - {1} を表示",
emptyMsg : '表示�るデータ��り��ん。'
});
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "フィールドã?®å€¤ã?Œä¸?æ£ã?§ã?™ã€‚";
}
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, {
decimalSeparator : ".",
decimalPrecision : 2,
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",
altFormats : "y/m/d|m/d/y|m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|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@example.com"ã?®å½¢å¼?ã?§å…¥åŠ›ã?—ã?¦ã??ã? ã?•ã?„。',
urlText : 'URLã‚’"http:/'+'/www.example.com"ã?®å½¢å¼?ã?§å…¥åŠ›ã?—ã?¦ã??ã? ã?•ã?„。',
alphaText : 'å?Šè§’英å—ã?¨"_"ã?®ã?¿ã?§ã?™ã€‚',
alphanumText : '�角英数�"_"����。'
});
}
if(Ext.form.HtmlEditor){
Ext.apply(Ext.form.HtmlEditor.prototype, {
createLinkText : 'リンクã?®URLを入力ã?—ã?¦ã??ã? ã?•ã?„:',
buttonTips : {
bold : {
title: 'å¤ªå— (コントãƒãƒ¼ãƒ«+B)',
text: 'é?¸æŠžãƒ†ã‚ストを太å—ã?«ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
italic : {
title: '斜体 (コントãƒãƒ¼ãƒ«+I)',
text: 'é?¸æŠžãƒ†ã‚ストを斜体ã?«ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
underline : {
title: '下線 (コントãƒãƒ¼ãƒ«+U)',
text: 'é?¸æŠžãƒ†ã‚ストã?«ä¸‹ç·šã‚’引ã??ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
increasefontsize : {
title: 'æ–‡å—を大ã??ã??',
text: 'フォントサイズを大ã??ã??ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
decreasefontsize : {
title: 'æ–‡å—ã‚’å°?ã?•ã??',
text: 'フォントサイズをå°?ã?•ã??ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
backcolor : {
title: 'æ–‡å—ã?®ãƒ?イライト',
text: 'é?¸æŠžãƒ†ã‚ストã?®èƒŒæ™¯è‰²ã‚’変更ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
forecolor : {
title: 'æ–‡å—ã?®è‰²',
text: 'é?¸æŠžãƒ†ã‚ストã?®è‰²ã‚’変更ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
justifyleft : {
title: '左��',
text: 'テã‚ストを左æ?ƒã?ˆã?«ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
justifycenter : {
title: 'ä¸å¤®æ?ƒã?ˆ',
text: 'テã‚ストをä¸å¤®æ?ƒã?ˆã?«ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
justifyright : {
title: '���',
text: 'テã‚ストをå?³æ?ƒã?ˆã?«ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
insertunorderedlist : {
title: '番å?·ã?ªã?—箇æ?¡æ›¸ã??',
text: '番å?·ã?ªã?—箇æ?¡æ›¸ã??ã‚’é–‹å§‹ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
insertorderedlist : {
title: '番å?·ä»˜ã??箇æ?¡æ›¸ã??',
text: '番å?·ä»˜ã??箇æ?¡æ›¸ã??ã‚’é–‹å§‹ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
createlink : {
title: '�イパーリンク',
text: 'é?¸æŠžãƒ†ã‚ストをãƒ?イパーリンクã?«ã?—ã?¾ã?™ã€‚',
cls: 'x-html-editor-tip'
},
sourceedit : {
title: 'ソース編集',
text: 'ソース編集モード�切り替���。',
cls: 'x-html-editor-tip'
}
}
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "æ˜‡é †",
sortDescText : "é™?é †",
columnsText : "カラム"
});
}
if(Ext.grid.GroupingView){
Ext.apply(Ext.grid.GroupingView.prototype, {
emptyGroupText : '(��)',
groupByText : '��カラム�グルーピング',
showGroupsText : 'グルーピング'
});
}
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 : "ドラッグã?§ãƒªã‚µã‚¤ã‚ºã€‚ ダブルクリックã?§éš ã?™ã€‚"
});
}
if(Ext.form.TimeField){
Ext.apply(Ext.form.TimeField.prototype, {
minText : "ã?“ã?®ãƒ•ィールドã?®æ™‚刻ã?¯ã€? {0} 以é™?ã?®æ™‚刻ã?«è¨å®šã?—ã?¦ã??ã? ã?•ã?„。",
maxText : "ã?“ã?®ãƒ•ィールドã?®æ™‚刻ã?¯ã€? {0} 以å‰?ã?®æ™‚刻ã?«è¨å®šã?—ã?¦ã??ã? ã?•ã?„。",
invalidText : "{0} �間���時刻入力��。",
format : "g:i A",
altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
});
}
if(Ext.form.CheckboxGroup){
Ext.apply(Ext.form.CheckboxGroup.prototype, {
blankText : "��グループ�ら最低1��アイテムを�択���れ��り��ん。"
});
}
if(Ext.form.RadioGroup){
Ext.apply(Ext.form.RadioGroup.prototype, {
blankText : "��グループ�ら1��アイテムを�択���れ��り��ん。"
});
}
|