3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Japanese translation
18 * 04-08-2007, 05:49 AM
20 * update based on English Translations by Condor (8 Aug 2008)
21 * By sakuro (30 Aug 2008)
23 Ext.onReady(function() {
25 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">読み込み中...</div>';
29 Ext.view.View.prototype.emptyText = "";
33 Ext.grid.Panel.prototype.ddText = "{0} 行選択";
37 Ext.LoadMask.prototype.msg = "読み込み中...";
41 Ext.Date.monthNames = [
56 Ext.Date.getShortMonthName = function(month) {
57 return "" + (month + 1);
60 Ext.Date.monthNumbers = {
75 Ext.Date.getMonthNumber = function(name) {
76 return Ext.Date.monthNumbers[name.substring(0, name.length - 1)];
77 // or simply parseInt(name.substring(0, name.length - 1)) - 1
90 Ext.Date.getShortDayName = function(day) {
91 return Ext.Date.dayNames[day].substring(0, 1); // just remove "曜日" suffix
94 Ext.Date.formatCodes.a = "(this.getHours() < 12 ? '午前' : '午後')";
95 Ext.Date.formatCodes.A = "(this.getHours() < 12 ? '午前' : '午後')"; // no case difference
99 Ext.MessageBox.buttonText = {
108 Ext.apply(Ext.util.Format, {
109 thousandSeparator: ',',
110 decimalSeparator: '.',
111 currencySign: '\u00a5', // Japanese Yen
117 Ext.apply(Ext.picker.Date.prototype, {
119 minText : "選択した日付は最小値以下です。",
120 maxText : "選択した日付は最大値以上です。",
121 disabledDaysText : "",
122 disabledDatesText : "",
123 monthNames : Ext.Date.monthNames,
124 dayNames : Ext.Date.dayNames,
125 nextText : '次月へ (コントロール+右)',
126 prevText : '前月へ (コントロール+左)',
127 monthYearText : '月選択 (コントロール+上/下で年移動)',
128 todayTip : "{0} (スペースキー)",
134 if(Ext.picker.Month) {
135 Ext.apply(Ext.picker.Month.prototype, {
136 okText : " OK ",
141 if(Ext.toolbar.Paging){
142 Ext.apply(Ext.PagingToolbar.prototype, {
143 beforePageText : "ページ",
144 afterPageText : "/ {0}",
145 firstText : "最初のページ",
150 displayMsg : "{2} 件中 {0} - {1} を表示",
151 emptyMsg : '表示するデータがありません。'
155 if(Ext.form.field.Base){
156 Ext.form.field.Base.prototype.invalidText = "フィールドの値が不正です。";
159 if(Ext.form.field.Text){
160 Ext.apply(Ext.form.field.Text.prototype, {
161 minLengthText : "このフィールドの最小値は {0} です。",
162 maxLengthText : "このフィールドの最大値は {0} です。",
163 blankText : "必須項目です。",
169 if(Ext.form.field.Number){
170 Ext.apply(Ext.form.field.Number.prototype, {
171 decimalSeparator : ".",
172 decimalPrecision : 2,
173 minText : "このフィールドの最小値は {0} です。",
174 maxText : "このフィールドの最大値は {0} です。",
175 nanText : "{0} は数値ではありません。"
179 if(Ext.form.field.Date){
180 Ext.apply(Ext.form.field.Date.prototype, {
181 disabledDaysText : "無効",
182 disabledDatesText : "無効",
183 minText : "このフィールドの日付は、 {0} 以降の日付に設定してください。",
184 maxText : "このフィールドの日付は、 {0} 以前の日付に設定してください。",
185 invalidText : "{0} は間違った日付入力です。 - 入力形式は「{1}」です。",
187 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"
191 if(Ext.form.field.ComboBox){
192 Ext.apply(Ext.form.field.ComboBox.prototype, {
193 valueNotFoundText : undefined
195 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
196 loadingText : "読み込み中..."
200 if(Ext.form.field.VTypes){
201 Ext.apply(Ext.form.field.VTypes, {
202 emailText : 'メールアドレスを"user@example.com"の形式で入力してください。',
203 urlText : 'URLを"http:/'+'/www.example.com"の形式で入力してください。',
204 alphaText : '半角英字と"_"のみです。',
205 alphanumText : '半角英数と"_"のみです。'
209 if(Ext.form.field.HtmlEditor){
210 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
211 createLinkText : 'リンクのURLを入力してください:',
214 title: '太字 (コントロール+B)',
215 text: '選択テキストを太字にします。',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: '斜体 (コントロール+I)',
220 text: '選択テキストを斜体にします。',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 title: '下線 (コントロール+U)',
225 text: '選択テキストに下線を引きます。',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
230 text: 'フォントサイズを大きくします。',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
235 text: 'フォントサイズを小さくします。',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
240 text: '選択テキストの背景色を変更します。',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
245 text: '選択テキストの色を変更します。',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
250 text: 'テキストを左揃えにします。',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
255 text: 'テキストを中央揃えにします。',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
260 text: 'テキストを右揃えにします。',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
263 insertunorderedlist : {
265 text: '番号なし箇条書きを開始します。',
266 cls: Ext.baseCSSPrefix + 'html-editor-tip'
268 insertorderedlist : {
270 text: '番号付き箇条書きを開始します。',
271 cls: Ext.baseCSSPrefix + 'html-editor-tip'
275 text: '選択テキストをハイパーリンクにします。',
276 cls: Ext.baseCSSPrefix + 'html-editor-tip'
280 text: 'ソース編集モードに切り替えます。',
281 cls: Ext.baseCSSPrefix + 'html-editor-tip'
287 if(Ext.grid.header.Container){
288 Ext.apply(Ext.grid.header.Container.prototype, {
295 if(Ext.grid.GroupingFeature){
296 Ext.apply(Ext.grid.GroupingFeature.prototype, {
297 emptyGroupText : '(なし)',
298 groupByText : 'このカラムでグルーピング',
299 showGroupsText : 'グルーピング'
303 if(Ext.grid.PropertyColumnModel){
304 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
311 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
312 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
313 splitTip : "ドラッグするとリサイズできます。",
314 collapsibleSplitTip : "ドラッグでリサイズ。 ダブルクリックで隠す。"
318 if(Ext.form.field.Time){
319 Ext.apply(Ext.form.field.Time.prototype, {
320 minText : "このフィールドの時刻は、 {0} 以降の時刻に設定してください。",
321 maxText : "このフィールドの時刻は、 {0} 以前の時刻に設定してください。",
322 invalidText : "{0} は間違った時刻入力です。",
324 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"
328 if(Ext.form.CheckboxGroup){
329 Ext.apply(Ext.form.CheckboxGroup.prototype, {
330 blankText : "このグループから最低1つのアイテムを選択しなければなりません。"
334 if(Ext.form.RadioGroup){
335 Ext.apply(Ext.form.RadioGroup.prototype, {
336 blankText : "このグループから1つのアイテムを選択しなければなりません。"