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