6 * update based on English Translations by Condor (8 Aug 2008)
7 * By sakuro (30 Aug 2008)
10 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">読み込み中...</div>';
13 Ext.DataView.prototype.emptyText = "";
16 if(Ext.grid.GridPanel){
17 Ext.grid.GridPanel.prototype.ddText = "{0} 行選択";
21 Ext.LoadMask.prototype.msg = "読み込み中...";
39 Date.getShortMonthName = function(month) {
40 return "" + (month + 1);
58 Date.getMonthNumber = function(name) {
59 return Date.monthNumbers[name.substring(0, name.length - 1)];
60 // or simply parseInt(name.substring(0, name.length - 1)) - 1
73 Date.getShortDayName = function(day) {
74 return Date.dayNames[day].substring(0, 1); // just remove "曜日" suffix
77 Date.formatCodes.a = "(this.getHours() < 12 ? '午前' : '午後')";
78 Date.formatCodes.A = "(this.getHours() < 12 ? '午前' : '午後')"; // no case difference
81 Ext.MessageBox.buttonText = {
90 Ext.util.Format.date = function(v, format){
92 if(!(v instanceof Date)) v = new Date(Date.parse(v));
93 return v.dateFormat(format || "Y/m/d");
98 Ext.apply(Ext.DatePicker.prototype, {
100 minText : "選択した日付は最小値以下です。",
101 maxText : "選択した日付は最大値以上です。",
102 disabledDaysText : "",
103 disabledDatesText : "",
104 monthNames : Date.monthNames,
105 dayNames : Date.dayNames,
106 nextText : '次月へ (コントロール+右)',
107 prevText : '前月へ (コントロール+左)',
108 monthYearText : '月選択 (コントロール+上/下で年移動)',
109 todayTip : "{0} (スペースキー)",
112 cancelText : "キャンセル",
117 if(Ext.PagingToolbar){
118 Ext.apply(Ext.PagingToolbar.prototype, {
119 beforePageText : "ページ",
120 afterPageText : "/ {0}",
121 firstText : "最初のページ",
126 displayMsg : "{2} 件中 {0} - {1} を表示",
127 emptyMsg : '表示するデータがありません。'
132 Ext.form.Field.prototype.invalidText = "フィールドの値が不正です。";
135 if(Ext.form.TextField){
136 Ext.apply(Ext.form.TextField.prototype, {
137 minLengthText : "このフィールドの最小値は {0} です。",
138 maxLengthText : "このフィールドの最大値は {0} です。",
139 blankText : "必須項目です。",
145 if(Ext.form.NumberField){
146 Ext.apply(Ext.form.NumberField.prototype, {
147 decimalSeparator : ".",
148 decimalPrecision : 2,
149 minText : "このフィールドの最小値は {0} です。",
150 maxText : "このフィールドの最大値は {0} です。",
151 nanText : "{0} は数値ではありません。"
155 if(Ext.form.DateField){
156 Ext.apply(Ext.form.DateField.prototype, {
157 disabledDaysText : "無効",
158 disabledDatesText : "無効",
159 minText : "このフィールドの日付は、 {0} 以降の日付に設定してください。",
160 maxText : "このフィールドの日付は、 {0} 以前の日付に設定してください。",
161 invalidText : "{0} は間違った日付入力です。 - 入力形式は「{1}」です。",
163 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 if(Ext.form.ComboBox){
168 Ext.apply(Ext.form.ComboBox.prototype, {
169 loadingText : "読み込み中...",
170 valueNotFoundText : undefined
175 Ext.apply(Ext.form.VTypes, {
176 emailText : 'メールアドレスを"user@example.com"の形式で入力してください。',
177 urlText : 'URLを"http:/'+'/www.example.com"の形式で入力してください。',
178 alphaText : '半角英字と"_"のみです。',
179 alphanumText : '半角英数と"_"のみです。'
183 if(Ext.form.HtmlEditor){
184 Ext.apply(Ext.form.HtmlEditor.prototype, {
185 createLinkText : 'リンクのURLを入力してください:',
188 title: '太字 (コントロール+B)',
189 text: '選択テキストを太字にします。',
190 cls: 'x-html-editor-tip'
193 title: '斜体 (コントロール+I)',
194 text: '選択テキストを斜体にします。',
195 cls: 'x-html-editor-tip'
198 title: '下線 (コントロール+U)',
199 text: '選択テキストに下線を引きます。',
200 cls: 'x-html-editor-tip'
204 text: 'フォントサイズを大きくします。',
205 cls: 'x-html-editor-tip'
209 text: 'フォントサイズを小さくします。',
210 cls: 'x-html-editor-tip'
214 text: '選択テキストの背景色を変更します。',
215 cls: 'x-html-editor-tip'
219 text: '選択テキストの色を変更します。',
220 cls: 'x-html-editor-tip'
224 text: 'テキストを左揃えにします。',
225 cls: 'x-html-editor-tip'
229 text: 'テキストを中央揃えにします。',
230 cls: 'x-html-editor-tip'
234 text: 'テキストを右揃えにします。',
235 cls: 'x-html-editor-tip'
237 insertunorderedlist : {
239 text: '番号なし箇条書きを開始します。',
240 cls: 'x-html-editor-tip'
242 insertorderedlist : {
244 text: '番号付き箇条書きを開始します。',
245 cls: 'x-html-editor-tip'
249 text: '選択テキストをハイパーリンクにします。',
250 cls: 'x-html-editor-tip'
254 text: 'ソース編集モードに切り替えます。',
255 cls: 'x-html-editor-tip'
261 if(Ext.grid.GridView){
262 Ext.apply(Ext.grid.GridView.prototype, {
269 if(Ext.grid.GroupingView){
270 Ext.apply(Ext.grid.GroupingView.prototype, {
271 emptyGroupText : '(なし)',
272 groupByText : 'このカラムでグルーピング',
273 showGroupsText : 'グルーピング'
277 if(Ext.grid.PropertyColumnModel){
278 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
285 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
286 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
287 splitTip : "ドラッグするとリサイズできます。",
288 collapsibleSplitTip : "ドラッグでリサイズ。 ダブルクリックで隠す。"
292 if(Ext.form.TimeField){
293 Ext.apply(Ext.form.TimeField.prototype, {
294 minText : "このフィールドの時刻は、 {0} 以降の時刻に設定してください。",
295 maxText : "このフィールドの時刻は、 {0} 以前の時刻に設定してください。",
296 invalidText : "{0} は間違った時刻入力です。",
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"
302 if(Ext.form.CheckboxGroup){
303 Ext.apply(Ext.form.CheckboxGroup.prototype, {
304 blankText : "このグループから最低1つのアイテムを選択しなければなりません。"
308 if(Ext.form.RadioGroup){
309 Ext.apply(Ext.form.RadioGroup.prototype, {
310 blankText : "このグループから1つのアイテムを選択しなければなりません。"