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 loadingText : "読み込み中...",
194 valueNotFoundText : undefined
198 if(Ext.form.field.VTypes){
199 Ext.apply(Ext.form.field.VTypes, {
200 emailText : 'メールアドレスを"user@example.com"の形式で入力してください。',
201 urlText : 'URLを"http:/'+'/www.example.com"の形式で入力してください。',
202 alphaText : '半角英字と"_"のみです。',
203 alphanumText : '半角英数と"_"のみです。'
207 if(Ext.form.field.HtmlEditor){
208 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
209 createLinkText : 'リンクのURLを入力してください:',
212 title: '太字 (コントロール+B)',
213 text: '選択テキストを太字にします。',
214 cls: Ext.baseCSSPrefix + 'html-editor-tip'
217 title: '斜体 (コントロール+I)',
218 text: '選択テキストを斜体にします。',
219 cls: Ext.baseCSSPrefix + 'html-editor-tip'
222 title: '下線 (コントロール+U)',
223 text: '選択テキストに下線を引きます。',
224 cls: Ext.baseCSSPrefix + 'html-editor-tip'
228 text: 'フォントサイズを大きくします。',
229 cls: Ext.baseCSSPrefix + 'html-editor-tip'
233 text: 'フォントサイズを小さくします。',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
238 text: '選択テキストの背景色を変更します。',
239 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 text: '選択テキストの色を変更します。',
244 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 text: 'テキストを左揃えにします。',
249 cls: Ext.baseCSSPrefix + 'html-editor-tip'
253 text: 'テキストを中央揃えにします。',
254 cls: Ext.baseCSSPrefix + 'html-editor-tip'
258 text: 'テキストを右揃えにします。',
259 cls: Ext.baseCSSPrefix + 'html-editor-tip'
261 insertunorderedlist : {
263 text: '番号なし箇条書きを開始します。',
264 cls: Ext.baseCSSPrefix + 'html-editor-tip'
266 insertorderedlist : {
268 text: '番号付き箇条書きを開始します。',
269 cls: Ext.baseCSSPrefix + 'html-editor-tip'
273 text: '選択テキストをハイパーリンクにします。',
274 cls: Ext.baseCSSPrefix + 'html-editor-tip'
278 text: 'ソース編集モードに切り替えます。',
279 cls: Ext.baseCSSPrefix + 'html-editor-tip'
285 if(Ext.grid.header.Container){
286 Ext.apply(Ext.grid.header.Container.prototype, {
293 if(Ext.grid.GroupingFeature){
294 Ext.apply(Ext.grid.GroupingFeature.prototype, {
295 emptyGroupText : '(なし)',
296 groupByText : 'このカラムでグルーピング',
297 showGroupsText : 'グルーピング'
301 if(Ext.grid.PropertyColumnModel){
302 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
309 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
310 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
311 splitTip : "ドラッグするとリサイズできます。",
312 collapsibleSplitTip : "ドラッグでリサイズ。 ダブルクリックで隠す。"
316 if(Ext.form.field.Time){
317 Ext.apply(Ext.form.field.Time.prototype, {
318 minText : "このフィールドの時刻は、 {0} 以降の時刻に設定してください。",
319 maxText : "このフィールドの時刻は、 {0} 以前の時刻に設定してください。",
320 invalidText : "{0} は間違った時刻入力です。",
322 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"
326 if(Ext.form.CheckboxGroup){
327 Ext.apply(Ext.form.CheckboxGroup.prototype, {
328 blankText : "このグループから最低1つのアイテムを選択しなければなりません。"
332 if(Ext.form.RadioGroup){
333 Ext.apply(Ext.form.RadioGroup.prototype, {
334 blankText : "このグループから1つのアイテムを選択しなければなりません。"