6 * update based on English Translations by Condor (8 Aug 2008)
7 * By sakuro (30 Aug 2008)
9 Ext.onReady(function() {
11 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">読み込み中...</div>';
15 Ext.view.View.prototype.emptyText = "";
19 Ext.grid.Panel.prototype.ddText = "{0} 行選択";
23 Ext.LoadMask.prototype.msg = "読み込み中...";
27 Ext.Date.monthNames = [
42 Ext.Date.getShortMonthName = function(month) {
43 return "" + (month + 1);
46 Ext.Date.monthNumbers = {
61 Ext.Date.getMonthNumber = function(name) {
62 return Ext.Date.monthNumbers[name.substring(0, name.length - 1)];
63 // or simply parseInt(name.substring(0, name.length - 1)) - 1
76 Ext.Date.getShortDayName = function(day) {
77 return Ext.Date.dayNames[day].substring(0, 1); // just remove "曜日" suffix
80 Ext.Date.formatCodes.a = "(this.getHours() < 12 ? '午前' : '午後')";
81 Ext.Date.formatCodes.A = "(this.getHours() < 12 ? '午前' : '午後')"; // no case difference
85 Ext.MessageBox.buttonText = {
94 Ext.apply(Ext.util.Format, {
95 thousandSeparator: ',',
96 decimalSeparator: '.',
97 currencySign: '\u00a5', // Japanese Yen
103 Ext.apply(Ext.picker.Date.prototype, {
105 minText : "選択した日付は最小値以下です。",
106 maxText : "選択した日付は最大値以上です。",
107 disabledDaysText : "",
108 disabledDatesText : "",
109 monthNames : Ext.Date.monthNames,
110 dayNames : Ext.Date.dayNames,
111 nextText : '次月へ (コントロール+右)',
112 prevText : '前月へ (コントロール+左)',
113 monthYearText : '月選択 (コントロール+上/下で年移動)',
114 todayTip : "{0} (スペースキー)",
120 if(Ext.picker.Month) {
121 Ext.apply(Ext.picker.Month.prototype, {
122 okText : " OK ",
127 if(Ext.toolbar.Paging){
128 Ext.apply(Ext.PagingToolbar.prototype, {
129 beforePageText : "ページ",
130 afterPageText : "/ {0}",
131 firstText : "最初のページ",
136 displayMsg : "{2} 件中 {0} - {1} を表示",
137 emptyMsg : '表示するデータがありません。'
141 if(Ext.form.field.Base){
142 Ext.form.field.Base.prototype.invalidText = "フィールドの値が不正です。";
145 if(Ext.form.field.Text){
146 Ext.apply(Ext.form.field.Text.prototype, {
147 minLengthText : "このフィールドの最小値は {0} です。",
148 maxLengthText : "このフィールドの最大値は {0} です。",
149 blankText : "必須項目です。",
155 if(Ext.form.field.Number){
156 Ext.apply(Ext.form.field.Number.prototype, {
157 decimalSeparator : ".",
158 decimalPrecision : 2,
159 minText : "このフィールドの最小値は {0} です。",
160 maxText : "このフィールドの最大値は {0} です。",
161 nanText : "{0} は数値ではありません。"
165 if(Ext.form.field.Date){
166 Ext.apply(Ext.form.field.Date.prototype, {
167 disabledDaysText : "無効",
168 disabledDatesText : "無効",
169 minText : "このフィールドの日付は、 {0} 以降の日付に設定してください。",
170 maxText : "このフィールドの日付は、 {0} 以前の日付に設定してください。",
171 invalidText : "{0} は間違った日付入力です。 - 入力形式は「{1}」です。",
173 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"
177 if(Ext.form.field.ComboBox){
178 Ext.apply(Ext.form.field.ComboBox.prototype, {
179 loadingText : "読み込み中...",
180 valueNotFoundText : undefined
184 if(Ext.form.field.VTypes){
185 Ext.apply(Ext.form.field.VTypes, {
186 emailText : 'メールアドレスを"user@example.com"の形式で入力してください。',
187 urlText : 'URLを"http:/'+'/www.example.com"の形式で入力してください。',
188 alphaText : '半角英字と"_"のみです。',
189 alphanumText : '半角英数と"_"のみです。'
193 if(Ext.form.field.HtmlEditor){
194 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
195 createLinkText : 'リンクのURLを入力してください:',
198 title: '太字 (コントロール+B)',
199 text: '選択テキストを太字にします。',
200 cls: Ext.baseCSSPrefix + 'html-editor-tip'
203 title: '斜体 (コントロール+I)',
204 text: '選択テキストを斜体にします。',
205 cls: Ext.baseCSSPrefix + 'html-editor-tip'
208 title: '下線 (コントロール+U)',
209 text: '選択テキストに下線を引きます。',
210 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 text: 'フォントサイズを大きくします。',
215 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 text: 'フォントサイズを小さくします。',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 text: '選択テキストの背景色を変更します。',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 text: '選択テキストの色を変更します。',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 text: 'テキストを左揃えにします。',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 text: 'テキストを中央揃えにします。',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
244 text: 'テキストを右揃えにします。',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 insertunorderedlist : {
249 text: '番号なし箇条書きを開始します。',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 insertorderedlist : {
254 text: '番号付き箇条書きを開始します。',
255 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 text: '選択テキストをハイパーリンクにします。',
260 cls: Ext.baseCSSPrefix + 'html-editor-tip'
264 text: 'ソース編集モードに切り替えます。',
265 cls: Ext.baseCSSPrefix + 'html-editor-tip'
271 if(Ext.grid.header.Container){
272 Ext.apply(Ext.grid.header.Container.prototype, {
279 if(Ext.grid.GroupingFeature){
280 Ext.apply(Ext.grid.GroupingFeature.prototype, {
281 emptyGroupText : '(なし)',
282 groupByText : 'このカラムでグルーピング',
283 showGroupsText : 'グルーピング'
287 if(Ext.grid.PropertyColumnModel){
288 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
295 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
296 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
297 splitTip : "ドラッグするとリサイズできます。",
298 collapsibleSplitTip : "ドラッグでリサイズ。 ダブルクリックで隠す。"
302 if(Ext.form.field.Time){
303 Ext.apply(Ext.form.field.Time.prototype, {
304 minText : "このフィールドの時刻は、 {0} 以降の時刻に設定してください。",
305 maxText : "このフィールドの時刻は、 {0} 以前の時刻に設定してください。",
306 invalidText : "{0} は間違った時刻入力です。",
308 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"
312 if(Ext.form.CheckboxGroup){
313 Ext.apply(Ext.form.CheckboxGroup.prototype, {
314 blankText : "このグループから最低1つのアイテムを選択しなければなりません。"
318 if(Ext.form.RadioGroup){
319 Ext.apply(Ext.form.RadioGroup.prototype, {
320 blankText : "このグループから1つのアイテムを選択しなければなりません。"