]> git.proxmox.com Git - extjs.git/blob - extjs/build/classic/locale/locale-ja-debug.js
add extjs 6.0.1 sources
[extjs.git] / extjs / build / classic / locale / locale-ja-debug.js
1 /**
2 * Japanese translation
3 * By tyama
4 * 04-08-2007, 05:49 AM
5 *
6 * update based on English Translations by Condor (8 Aug 2008)
7 * By sakuro (30 Aug 2008)
8 */
9 Ext.onReady(function() {
10 var parseCodes;
11
12 if (Ext.Date) {
13 Ext.Date.monthNames = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'];
14
15 Ext.Date.getShortMonthName = function(month) {
16 return "" + (month + 1);
17 };
18
19 Ext.Date.monthNumbers = {
20 "1": 0,
21 "2": 1,
22 "3": 2,
23 "4": 3,
24 "5": 4,
25 "6": 5,
26 "7": 6,
27 "8": 7,
28 "9": 8,
29 "10": 9,
30 "11": 10,
31 "12": 11
32 };
33
34 Ext.Date.getMonthNumber = function(name) {
35 return Ext.Date.monthNumbers[name.substring(0, name.length - 1)];
36 // or simply parseInt(name.substring(0, name.length - 1)) - 1
37 };
38
39 Ext.Date.dayNames = ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"];
40
41 Ext.Date.getShortDayName = function(day) {
42 return Ext.Date.dayNames[day].substring(0, 1); // just remove "曜日" suffix
43 };
44
45 Ext.Date.formatCodes.a = "(this.getHours() < 12 ? '午前' : '午後')";
46 Ext.Date.formatCodes.A = "(this.getHours() < 12 ? '午前' : '午後')"; // no case difference
47
48 parseCodes = {
49 g: 1,
50 c: "if (/(午前)/i.test(results[{0}])) {\n"
51 + "if (!h || h == 12) { h = 0; }\n"
52 + "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
53 s: "(午前|午後)",
54 calcAtEnd: true
55 };
56
57 Ext.Date.parseCodes.a = Ext.Date.parseCodes.A = parseCodes;
58 }
59
60 if (Ext.util && Ext.util.Format) {
61 Ext.apply(Ext.util.Format, {
62 thousandSeparator: ',',
63 decimalSeparator: '.',
64 currencySign: '\u00a5',
65 // Japanese Yen
66 dateFormat: 'Y/m/d'
67 });
68 }
69 });
70
71 Ext.define("Ext.locale.ja.LoadMask", {
72 override: "Ext.LoadMask",
73 msg: "読み込み中..."
74 });
75
76 Ext.define("Ext.locale.ja.view.View", {
77 override: "Ext.view.View",
78 emptyText: ""
79 });
80
81 Ext.define("Ext.locale.ja.grid.plugin.DragDrop", {
82 override: "Ext.grid.plugin.DragDrop",
83 dragText: "{0} 行選択"
84 });
85
86 // changing the msg text below will affect the LoadMask
87 Ext.define("Ext.locale.ja.view.AbstractView", {
88 override: "Ext.view.AbstractView",
89 loadingText: "読み込み中..."
90 });
91
92 Ext.define("Ext.locale.ja.picker.Date", {
93 override: "Ext.picker.Date",
94 todayText: "今日",
95 minText: "選択した日付は最小値以下です。",
96 maxText: "選択した日付は最大値以上です。",
97 disabledDaysText: "",
98 disabledDatesText: "",
99 nextText: '次月へ (コントロール+右)',
100 prevText: '前月へ (コントロール+左)',
101 monthYearText: '月選択 (コントロール+上/下で年移動)',
102 todayTip: "{0} (スペースキー)",
103 format: "Y/m/d",
104 startDay: 0,
105 ariaTitle: '{0}',
106 ariaTitleDateFormat: 'Y\u5e74m\u6708d\u65e5',
107 longDayFormat: 'Y\u5e74m\u6708d\u65e5',
108 monthYearFormat: 'Y\u5e74m\u6708'
109 });
110
111 Ext.define("Ext.locale.ja.picker.Month", {
112 override: "Ext.picker.Month",
113 okText: "&#160;OK&#160;",
114 cancelText: "キャンセル"
115 });
116
117 Ext.define("Ext.locale.ja.toolbar.Paging", {
118 override: "Ext.PagingToolbar",
119 beforePageText: "ページ",
120 afterPageText: "/ {0}",
121 firstText: "最初のページ",
122 prevText: "前のページ",
123 nextText: "次のページ",
124 lastText: "最後のページ",
125 refreshText: "更新",
126 displayMsg: "{2} 件中 {0} - {1} を表示",
127 emptyMsg: '表示するデータがありません。'
128 });
129
130 Ext.define("Ext.locale.ja.form.field.Base", {
131 override: "Ext.form.field.Base",
132 invalidText: "フィールドの値が不正です。"
133 });
134
135 Ext.define("Ext.locale.ja.form.field.Text", {
136 override: "Ext.form.field.Text",
137 minLengthText: "このフィールドの最小値は {0} です。",
138 maxLengthText: "このフィールドの最大値は {0} です。",
139 blankText: "必須項目です。",
140 regexText: "",
141 emptyText: null
142 });
143
144 Ext.define("Ext.locale.ja.form.field.File", {
145 override: "Ext.form.field.File",
146 buttonText: "参照..."
147 });
148
149 Ext.define("Ext.locale.ja.form.field.Number", {
150 override: "Ext.form.field.Number",
151 decimalPrecision: 2,
152 minText: "このフィールドの最小値は {0} です。",
153 maxText: "このフィールドの最大値は {0} です。",
154 nanText: "{0} は数値ではありません。",
155 negativeText: "負の値は無効です。"
156 });
157
158 Ext.define("Ext.locale.ja.form.field.Date", {
159 override: "Ext.form.field.Date",
160 disabledDaysText: "無効",
161 disabledDatesText: "無効",
162 minText: "このフィールドの日付は、 {0} 以降の日付に設定してください。",
163 maxText: "このフィールドの日付は、 {0} 以前の日付に設定してください。",
164 invalidText: "{0} は間違った日付入力です。 - 入力形式は「{1}」です。",
165 format: "Y/m/d",
166 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"
167 });
168
169 Ext.define("Ext.locale.ja.form.field.ComboBox", {
170 override: "Ext.form.field.ComboBox",
171 valueNotFoundText: undefined
172 }, function() {
173 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
174 loadingText: "読み込み中..."
175 });
176 });
177
178 Ext.define("Ext.locale.ja.form.field.VTypes", {
179 override: "Ext.form.field.VTypes",
180 emailText: 'メールアドレスを"user@example.com"の形式で入力してください。',
181 urlText: 'URLを"http:/' + '/www.example.com"の形式で入力してください。',
182 alphaText: '半角英字と"_"のみです。',
183 alphanumText: '半角英数と"_"のみです。'
184 });
185
186 Ext.define("Ext.locale.ja.form.field.HtmlEditor", {
187 override: "Ext.form.field.HtmlEditor",
188 createLinkText: 'リンクのURLを入力してください:'
189 }, function() {
190 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
191 buttonTips: {
192 bold: {
193 title: '太字 (コントロール+B)',
194 text: '選択テキストを太字にします。',
195 cls: Ext.baseCSSPrefix + 'html-editor-tip'
196 },
197 italic: {
198 title: '斜体 (コントロール+I)',
199 text: '選択テキストを斜体にします。',
200 cls: Ext.baseCSSPrefix + 'html-editor-tip'
201 },
202 underline: {
203 title: '下線 (コントロール+U)',
204 text: '選択テキストに下線を引きます。',
205 cls: Ext.baseCSSPrefix + 'html-editor-tip'
206 },
207 increasefontsize: {
208 title: '文字を大きく',
209 text: 'フォントサイズを大きくします。',
210 cls: Ext.baseCSSPrefix + 'html-editor-tip'
211 },
212 decreasefontsize: {
213 title: '文字を小さく',
214 text: 'フォントサイズを小さくします。',
215 cls: Ext.baseCSSPrefix + 'html-editor-tip'
216 },
217 backcolor: {
218 title: '文字のハイライト',
219 text: '選択テキストの背景色を変更します。',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
221 },
222 forecolor: {
223 title: '文字の色',
224 text: '選択テキストの色を変更します。',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
226 },
227 justifyleft: {
228 title: '左揃え',
229 text: 'テキストを左揃えにします。',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
231 },
232 justifycenter: {
233 title: '中央揃え',
234 text: 'テキストを中央揃えにします。',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
236 },
237 justifyright: {
238 title: '右揃え',
239 text: 'テキストを右揃えにします。',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
241 },
242 insertunorderedlist: {
243 title: '番号なし箇条書き',
244 text: '番号なし箇条書きを開始します。',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
246 },
247 insertorderedlist: {
248 title: '番号付き箇条書き',
249 text: '番号付き箇条書きを開始します。',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
251 },
252 createlink: {
253 title: 'ハイパーリンク',
254 text: '選択テキストをハイパーリンクにします。',
255 cls: Ext.baseCSSPrefix + 'html-editor-tip'
256 },
257 sourceedit: {
258 title: 'ソース編集',
259 text: 'ソース編集モードに切り替えます。',
260 cls: Ext.baseCSSPrefix + 'html-editor-tip'
261 }
262 }
263 });
264 });
265
266 Ext.define("Ext.locale.ja.grid.header.Container", {
267 override: "Ext.grid.header.Container",
268 sortAscText: "昇順",
269 sortDescText: "降順",
270 columnsText: "カラム"
271 });
272
273 Ext.define("Ext.locale.ja.grid.column.Date", {
274 override: "Ext.grid.column.Date",
275 format: "Y/m/d"
276 });
277
278 Ext.define("Ext.locale.ja.grid.GroupingFeature", {
279 override: "Ext.grid.feature.Grouping",
280 emptyGroupText: '(なし)',
281 groupByText: 'このカラムでグルーピング',
282 showGroupsText: 'グルーピング'
283 });
284
285 Ext.define("Ext.locale.ja.grid.PropertyColumnModel", {
286 override: "Ext.grid.PropertyColumnModel",
287 nameText: "名称",
288 valueText: "値",
289 dateFormat: "Y/m/d"
290 });
291
292 Ext.define("Ext.locale.ja.form.field.Time", {
293 override: "Ext.form.field.Time",
294 minText: "このフィールドの時刻は、 {0} 以降の時刻に設定してください。",
295 maxText: "このフィールドの時刻は、 {0} 以前の時刻に設定してください。",
296 invalidText: "{0} は間違った時刻入力です。",
297 format: "g:i A",
298 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"
299 });
300
301 Ext.define("Ext.locale.ja.form.CheckboxGroup", {
302 override: "Ext.form.CheckboxGroup",
303 blankText: "このグループから最低1つのアイテムを選択しなければなりません。"
304 });
305
306 Ext.define("Ext.locale.ja.form.RadioGroup", {
307 override: "Ext.form.RadioGroup",
308 blankText: "このグループから1つのアイテムを選択しなければなりません。"
309 });
310
311 Ext.define("Ext.locale.ja.window.MessageBox", {
312 override: "Ext.window.MessageBox",
313 buttonText: {
314 ok: "OK",
315 cancel: "キャンセル",
316 yes: "はい",
317 no: "いいえ"
318 }
319 });
320
321 // This is needed until we can refactor all of the locales into individual files
322 Ext.define("Ext.locale.ja.Component", {
323 override: "Ext.Component"
324 });