3 <title>The source code</title>
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 <body onload="prettyPrint();">
8 <pre class="prettyprint lang-js">/*!
10 * Copyright(c) 2006-2009 Ext JS, LLC
12 * http://www.extjs.com/license
15 * Japanese translation
17 * 04-08-2007, 05:49 AM
19 * update based on English Translations by Condor (8 Aug 2008)
20 * By sakuro (30 Aug 2008)
23 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">èªã?¿è¾¼ã?¿ä¸...</div>';
26 Ext.DataView.prototype.emptyText = "";
29 if(Ext.grid.GridPanel){
30 Ext.grid.GridPanel.prototype.ddText = "{0} è¡
\8cé?¸æ
\8a\9e";
34 Ext.LoadMask.prototype.msg = "èªã?¿è¾¼ã?¿ä¸...";
52 Date.getShortMonthName = function(month) {
53 return "" + (month + 1);
71 Date.getMonthNumber = function(name) {
72 return Date.monthNumbers[name.substring(0, name.length - 1)];
73 // or simply parseInt(name.substring(0, name.length - 1)) - 1
86 Date.getShortDayName = function(day) {
87 return Date.dayNames[day].substring(0, 1); // just remove "曜日" suffix
90 Date.formatCodes.a = "(this.getHours() < 12 ? 'å?
\88å
\89?' : 'å?
\88å¾
\8c')";
91 Date.formatCodes.A = "(this.getHours() < 12 ? 'å?
\88å
\89?' : 'å?
\88å¾
\8c')"; // no case difference
94 Ext.MessageBox.buttonText = {
98 no : "ã?
\84ã?
\84ã?
\88"
103 Ext.util.Format.date = function(v, format){
105 if(!(v instanceof Date)) v = new Date(Date.parse(v));
106 return v.dateFormat(format || "Y/m/d");
111 Ext.apply(Ext.DatePicker.prototype, {
113 minText : "é?¸æ
\8a\9eã?
\97ã?
\9fæ
\97¥ä»
\98ã?¯æ
\9c\80å°?å
\80¤ä»¥ä¸
\8bã?§ã?
\99ã
\80\82",
114 maxText : "é?¸æ
\8a\9eã?
\97ã?
\9fæ
\97¥ä»
\98ã?¯æ
\9c\80大å
\80¤ä»¥ä¸
\8aã?§ã?
\99ã
\80\82",
115 disabledDaysText : "",
116 disabledDatesText : "",
117 monthNames : Date.monthNames,
118 dayNames : Date.dayNames,
119 nextText : '次æ
\9c\88ã?¸ (ã
\82³ã
\83³ã
\83\88ã
\83ã
\83¼ã
\83«+å?³)',
120 prevText : 'å
\89?æ
\9c\88ã?¸ (ã
\82³ã
\83³ã
\83\88ã
\83ã
\83¼ã
\83«+å·¦)',
121 monthYearText : 'æ
\9c\88é?¸æ
\8a\9e (ã
\82³ã
\83³ã
\83\88ã
\83ã
\83¼ã
\83«+ä¸
\8a/ä¸
\8bã?§å¹´ç§»å
\8b\95)',
122 todayTip : "{0} (スペースキー)",
125 cancelText : "キャンセル",
130 if(Ext.PagingToolbar){
131 Ext.apply(Ext.PagingToolbar.prototype, {
132 beforePageText : "ページ",
133 afterPageText : "/ {0}",
134 firstText : "æ
\9c\80å
\88?ã?®ã
\83\9aã
\83¼ã
\82¸",
135 prevText : "å
\89?ã?®ã
\83\9aã
\83¼ã
\82¸",
136 nextText : "次ã?®ã
\83\9aã
\83¼ã
\82¸",
137 lastText : "æ
\9c\80å¾
\8cã?®ã
\83\9aã
\83¼ã
\82¸",
139 displayMsg : "{2} 件中 {0} - {1} を表示",
140 emptyMsg : '表示ã?
\99ã
\82\8bã
\83\87ã
\83¼ã
\82¿ã?
\8cã?
\82ã
\82\8aã?¾ã?
\9bã
\82\93ã
\80\82'
145 Ext.form.Field.prototype.invalidText = "ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®å
\80¤ã?
\8cä¸?æ£ã?§ã?
\99ã
\80\82";
148 if(Ext.form.TextField){
149 Ext.apply(Ext.form.TextField.prototype, {
150 minLengthText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\9c\80å°?å
\80¤ã?¯ {0} ã?§ã?
\99ã
\80\82",
151 maxLengthText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\9c\80大å
\80¤ã?¯ {0} ã?§ã?
\99ã
\80\82",
152 blankText : "å¿
\85é
\88é
\85ç
\9b®ã?§ã?
\99ã
\80\82",
158 if(Ext.form.NumberField){
159 Ext.apply(Ext.form.NumberField.prototype, {
160 decimalSeparator : ".",
161 decimalPrecision : 2,
162 minText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\9c\80å°?å
\80¤ã?¯ {0} ã?§ã?
\99ã
\80\82",
163 maxText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\9c\80大å
\80¤ã?¯ {0} ã?§ã?
\99ã
\80\82",
164 nanText : "{0} ã?¯æ
\95°å
\80¤ã?§ã?¯ã?
\82ã
\82\8aã?¾ã?
\9bã
\82\93ã
\80\82"
168 if(Ext.form.DateField){
169 Ext.apply(Ext.form.DateField.prototype, {
170 disabledDaysText : "無効",
171 disabledDatesText : "無効",
172 minText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\97¥ä»
\98ã?¯ã
\80? {0} 以é
\99?ã?®æ
\97¥ä»
\98ã?«è¨å®
\9aã?
\97ã?¦ã??ã? ã?
\95ã?
\84ã
\80\82",
173 maxText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\97¥ä»
\98ã?¯ã
\80? {0} 以å
\89?ã?®æ
\97¥ä»
\98ã?«è¨å®
\9aã?
\97ã?¦ã??ã? ã?
\95ã?
\84ã
\80\82",
174 invalidText : "{0} ã?¯é
\96\93é?
\95ã?£ã?
\9fæ
\97¥ä»
\98å
\85¥å
\8a\9bã?§ã?
\99ã
\80\82 - å
\85¥å
\8a\9bå½¢å¼?ã?¯ã
\80\8c{1}ã
\80?ã?§ã?
\99ã
\80\82",
176 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"
180 if(Ext.form.ComboBox){
181 Ext.apply(Ext.form.ComboBox.prototype, {
182 loadingText : "èªã?¿è¾¼ã?¿ä¸...",
183 valueNotFoundText : undefined
188 Ext.apply(Ext.form.VTypes, {
189 emailText : 'ã
\83¡ã
\83¼ã
\83«ã
\82¢ã
\83\89ã
\83‹
\82¹ã
\82\92"user@example.com"ã?®å½¢å¼?ã?§å
\85¥å
\8a\9bã?
\97ã?¦ã??ã? ã?
\95ã?
\84ã
\80\82',
190 urlText : 'URLã
\82\92"http:/'+'/www.example.com"ã?®å½¢å¼?ã?§å
\85¥å
\8a\9bã?
\97ã?¦ã??ã? ã?
\95ã?
\84ã
\80\82',
191 alphaText : 'å?
\8aè§
\92è
\8b±å
\97ã?¨"_"ã?®ã?¿ã?§ã?
\99ã
\80\82',
192 alphanumText : 'å?
\8aè§
\92è
\8b±æ
\95°ã?¨"_"ã?®ã?¿ã?§ã?
\99ã
\80\82'
196 if(Ext.form.HtmlEditor){
197 Ext.apply(Ext.form.HtmlEditor.prototype, {
198 createLinkText : 'ã
\83ªã
\83³ã
\82¯ã?®URLã
\82\92å
\85¥å
\8a\9bã?
\97ã?¦ã??ã? ã?
\95ã?
\84:',
201 title: '太字 (コントロール+B)',
202 text: 'é?¸æ
\8a\9eã
\83\86ã
\82ã
\82¹ã
\83\88ã
\82\92太å
\97ã?«ã?
\97ã?¾ã?
\99ã
\80\82',
203 cls: 'x-html-editor-tip'
206 title: '斜体 (コントロール+I)',
207 text: 'é?¸æ
\8a\9eã
\83\86ã
\82ã
\82¹ã
\83\88ã
\82\92æ
\96\9cä½
\93ã?«ã?
\97ã?¾ã?
\99ã
\80\82',
208 cls: 'x-html-editor-tip'
211 title: '下線 (コントロール+U)',
212 text: 'é?¸æ
\8a\9eã
\83\86ã
\82ã
\82¹ã
\83\88ã?«ä¸
\8bç·
\9aã
\82\92å¼
\95ã??ã?¾ã?
\99ã
\80\82',
213 cls: 'x-html-editor-tip'
216 title: 'æ
\96\87å
\97ã
\82\92大ã??ã??',
217 text: 'ã
\83\95ã
\82©ã
\83³ã
\83\88ã
\82µã
\82¤ã
\82ºã
\82\92大ã??ã??ã?
\97ã?¾ã?
\99ã
\80\82',
218 cls: 'x-html-editor-tip'
221 title: 'æ
\96\87å
\97ã
\82\92å°?ã?
\95ã??',
222 text: 'ã
\83\95ã
\82©ã
\83³ã
\83\88ã
\82µã
\82¤ã
\82ºã
\82\92å°?ã?
\95ã??ã?
\97ã?¾ã?
\99ã
\80\82',
223 cls: 'x-html-editor-tip'
226 title: 'æ
\96\87å
\97ã?®ã
\83?ã
\82¤ã
\83©ã
\82¤ã
\83\88',
227 text: 'é?¸æ
\8a\9eã
\83\86ã
\82ã
\82¹ã
\83\88ã?®è
\83\8cæ
\99¯è
\89²ã
\82\92å¤
\89æ
\9b´ã?
\97ã?¾ã?
\99ã
\80\82',
228 cls: 'x-html-editor-tip'
231 title: 'æ
\96\87å
\97ã?®è
\89²',
232 text: 'é?¸æ
\8a\9eã
\83\86ã
\82ã
\82¹ã
\83\88ã?®è
\89²ã
\82\92å¤
\89æ
\9b´ã?
\97ã?¾ã?
\99ã
\80\82',
233 cls: 'x-html-editor-tip'
236 title: 'å·¦æ?
\83ã?
\88',
237 text: 'ã
\83\86ã
\82ã
\82¹ã
\83\88ã
\82\92å·¦æ?
\83ã?
\88ã?«ã?
\97ã?¾ã?
\99ã
\80\82',
238 cls: 'x-html-editor-tip'
241 title: 'ä¸å¤®æ?
\83ã?
\88',
242 text: 'ã
\83\86ã
\82ã
\82¹ã
\83\88ã
\82\92ä¸å¤®æ?
\83ã?
\88ã?«ã?
\97ã?¾ã?
\99ã
\80\82',
243 cls: 'x-html-editor-tip'
246 title: 'å?³æ?
\83ã?
\88',
247 text: 'ã
\83\86ã
\82ã
\82¹ã
\83\88ã
\82\92å?³æ?
\83ã?
\88ã?«ã?
\97ã?¾ã?
\99ã
\80\82',
248 cls: 'x-html-editor-tip'
250 insertunorderedlist : {
251 title: 'ç
\95ªå?·ã?ªã?
\97ç®
\87æ?¡æ
\9b¸ã??',
252 text: 'ç
\95ªå?·ã?ªã?
\97ç®
\87æ?¡æ
\9b¸ã??ã
\82\92é
\96\8bå§
\8bã?
\97ã?¾ã?
\99ã
\80\82',
253 cls: 'x-html-editor-tip'
255 insertorderedlist : {
256 title: 'ç
\95ªå?·ä»
\98ã??ç®
\87æ?¡æ
\9b¸ã??',
257 text: 'ç
\95ªå?·ä»
\98ã??ç®
\87æ?¡æ
\9b¸ã??ã
\82\92é
\96\8bå§
\8bã?
\97ã?¾ã?
\99ã
\80\82',
258 cls: 'x-html-editor-tip'
261 title: 'ã
\83?ã
\82¤ã
\83\91ã
\83¼ã
\83ªã
\83³ã
\82¯',
262 text: 'é?¸æ
\8a\9eã
\83\86ã
\82ã
\82¹ã
\83\88ã
\82\92ã
\83?ã
\82¤ã
\83\91ã
\83¼ã
\83ªã
\83³ã
\82¯ã?«ã?
\97ã?¾ã?
\99ã
\80\82',
263 cls: 'x-html-editor-tip'
267 text: 'ã
\82½ã
\83¼ã
\82¹ç·¨é
\9b\86ã
\83¢ã
\83¼ã
\83\89ã?«å
\88\87ã
\82\8aæ
\9b¿ã?
\88ã?¾ã?
\99ã
\80\82',
268 cls: 'x-html-editor-tip'
274 if(Ext.grid.GridView){
275 Ext.apply(Ext.grid.GridView.prototype, {
277 sortDescText : "é
\99?é
\86",
282 if(Ext.grid.GroupingView){
283 Ext.apply(Ext.grid.GroupingView.prototype, {
284 emptyGroupText : '(ã?ªã?
\97)',
285 groupByText : 'ã?
\93ã?®ã
\82«ã
\83©ã
\83 ã?§ã
\82°ã
\83«ã
\83¼ã
\83\94ã
\83³ã
\82°',
286 showGroupsText : 'グルーピング'
290 if(Ext.grid.PropertyColumnModel){
291 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
298 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
299 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
300 splitTip : "ã
\83\89ã
\83©ã
\83\83ã
\82°ã?
\99ã
\82\8bã?¨ã
\83ªã
\82µã
\82¤ã
\82ºã?§ã??ã?¾ã?
\99ã
\80\82",
301 collapsibleSplitTip : "ã
\83\89ã
\83©ã
\83\83ã
\82°ã?§ã
\83ªã
\82µã
\82¤ã
\82ºã
\80\82 ã
\83\80ã
\83\96ã
\83«ã
\82¯ã
\83ªã
\83\83ã
\82¯ã?§é
\9a ã?
\99ã
\80\82"
305 if(Ext.form.TimeField){
306 Ext.apply(Ext.form.TimeField.prototype, {
307 minText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\99\82å
\88»ã?¯ã
\80? {0} 以é
\99?ã?®æ
\99\82å
\88»ã?«è¨å®
\9aã?
\97ã?¦ã??ã? ã?
\95ã?
\84ã
\80\82",
308 maxText : "ã?
\93ã?®ã
\83\95ã
\82£ã
\83¼ã
\83«ã
\83\89ã?®æ
\99\82å
\88»ã?¯ã
\80? {0} 以å
\89?ã?®æ
\99\82å
\88»ã?«è¨å®
\9aã?
\97ã?¦ã??ã? ã?
\95ã?
\84ã
\80\82",
309 invalidText : "{0} ã?¯é
\96\93é?
\95ã?£ã?
\9fæ
\99\82å
\88Ȍ
\85¥å
\8a\9bã?§ã?
\99ã
\80\82",
311 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"
315 if(Ext.form.CheckboxGroup){
316 Ext.apply(Ext.form.CheckboxGroup.prototype, {
317 blankText : "ã?
\93ã?®ã
\82°ã
\83«ã
\83¼ã
\83\97ã?
\8bã
\82\89æ
\9c\80ä½
\8eï¼
\91ã?¤ã?®ã
\82¢ã
\82¤ã
\83\86ã
\83 ã
\82\92é?¸æ
\8a\9eã?
\97ã?ªã?
\91ã
\82\8cã?°ã?ªã
\82\8aã?¾ã?
\9bã
\82\93ã
\80\82"
321 if(Ext.form.RadioGroup){
322 Ext.apply(Ext.form.RadioGroup.prototype, {
323 blankText : "ã?
\93ã?®ã
\82°ã
\83«ã
\83¼ã
\83\97ã?
\8bã
\82\89ï¼
\91ã?¤ã?®ã
\82¢ã
\82¤ã
\83\86ã
\83 ã
\82\92é?¸æ
\8a\9eã?
\97ã?ªã?
\91ã
\82\8cã?°ã?ªã
\82\8aã?¾ã?
\9bã
\82\93ã
\80\82"