Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / ext-lang-th.html
1 <html>
2 <head>
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>
6 </head>
7 <body  onload="prettyPrint();">
8     <pre class="prettyprint lang-js">/*!
9  * Ext JS Library 3.0.3
10  * Copyright(c) 2006-2009 Ext JS, LLC
11  * licensing@extjs.com
12  * http://www.extjs.com/license
13  */
14 <div id="prop-Ext.Direct.Transaction-indicatorText"></div>/**
15  * List compiled by KillerNay on the extjs.com forums.
16  * Thank you KillerNay!
17  *
18  * Thailand Translations
19  */
20
21 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
22
23 if(Ext.View){
24   Ext.View.prototype.emptyText = "";
25 }
26
27 if(Ext.grid.GridPanel){
28   Ext.grid.GridPanel.prototype.ddText = "{0} Ã Ã\85Ã\97Ã?¡áÃ\85éÃ\87·Ã\91é§Ã\8bÃ?Žá¶Ã\87";
29 }
30
31 if(Ext.TabPanelItem){
32   Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
33 }
34
35 if(Ext.form.Field){
36   Ext.form.Field.prototype.invalidText = "â\82¬Ã¨Ã\92¢Ã?§ªèÃ?§¹Ã\95éäÃ?è¶Ã\99¡µéÃ?§";
37 }
38
39 if(Ext.LoadMask){
40   Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
41 }
42
43 Date.monthNames = [
44   "Ã?¡Ã\83Ã\92â\82¬Ã?",
45   "¡Ã\98Ã?ŸÃ\92Ã\93ŸÃ\91¹žì",
46   "Ã?Ã\95¹Ã\92â\82¬Ã?",
47   "àÃ?Ã\89Ã\92Ã\82¹",
48   "ŸÃ\84Ã\89Ã\80Ã\92â\82¬Ã?",
49   "Ã?Ã\94¶Ã\98¹Ã\92Ã\82¹",
50   "¡Ã\84¡¯Ã\92â\82¬Ã?",
51   "Ã\8aÃ\94§Ã\8bÃ\92â\82¬Ã?",
52   "¡Ñ¹ÂÒ¹",
53   "µÃ\98Ã\85Ã\92â\82¬Ã?",
54   "ŸÄÈšÔ¡Ò¹",
55   "žÃ\91¹Ã\87Ã\92â\82¬Ã?"
56 ];
57
58 Date.getShortMonthName = function(month) {
59   return Date.monthNames[month].substring(0, 3);
60 };
61
62 Date.monthNumbers = {
63   "Ã?â\82¬" : 0,
64   "¡Ÿ" : 1,
65   "Ã?Ã\95â\82¬" : 2,
66   "àÃ?Ã\82" : 3,
67   "Ÿ€" : 4,
68   "Ã?Ã\94Ã\82" : 5,
69   "¡€" : 6,
70   "Ê€" : 7,
71   "¡Â" : 8,
72   "µ€" : 9,
73   "ŸÂ" : 10,
74   "ž€" : 11
75 };
76
77 Date.getMonthNumber = function(name) {
78   return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
79 };
80
81 Date.dayNames = [
82   "Ã?Ã\92·Ã\94µÃ\82ì",
83   "šÑ¹·Ãì",
84   "Ã?Ã\91§â\82¬Ã\92Ã\83",
85   "ŸØמ",
86   "ŸÄËÑʺŽÕ",
87   "ÈØ¡Ãì",
88   "àÊÒÃì"
89 ];
90
91 Date.getShortDayName = function(day) {
92   return Date.dayNames[day].substring(0, 3);
93 };
94
95 if(Ext.MessageBox){
96   Ext.MessageBox.buttonText = {
97     ok     : "µ¡Å§",
98     cancel : "¡àÅÔ¡",
99     yes    : "ãªè",
100     no     : "äÃ?èãªè"
101   };
102 }
103
104 if(Ext.util.Format){
105   Ext.util.Format.date = function(v, format){
106     if(!v) return "";
107     if(!(v instanceof Date)) v = new Date(Date.parse(v));
108     return v.dateFormat(format || "m/d/Y");
109   };
110 }
111
112 if(Ext.DatePicker){
113   Ext.apply(Ext.DatePicker.prototype, {
114     todayText         : "Çѹ¹Õé",
115     minText           : "This date is before the minimum date",
116     maxText           : "This date is after the maximum date",
117     disabledDaysText  : "",
118     disabledDatesText : "",
119     monthNames        : Date.monthNames,
120     dayNames          : Date.dayNames,
121     nextText          : 'àŽÃ\97Ã?¹¶Ã\91Žä» (Control+Right)',
122     prevText          : 'àŽÃ\97Ã?¹¡èÃ?¹Ã\8b¹éÃ\92 (Control+Left)',
123     monthYearText     : 'àÃ\85Ã\97Ã?¡àŽÃ\97Ã?¹ (Control+Up/Down to move years)',
124     todayTip          : "{0} (Spacebar)",
125     format            : "m/d/y",
126     okText            : "&#160;µ¡Å§&#160;",
127     cancelText        : "¡àÅÔ¡",
128     startDay          : 0
129   });
130 }
131
132 if(Ext.PagingToolbar){
133   Ext.apply(Ext.PagingToolbar.prototype, {
134     beforePageText : "˹éÒ",
135     afterPageText  : "of {0}",
136     firstText      : "˹éÒáá",
137     prevText       : "¡èÃ?¹Ã\8b¹éÃ\92",
138     nextText       : "¶ÑŽä»",
139     lastText       : "˹éÒÊØŽ·éÒÂ",
140     refreshText    : "ÃÕà¿Ãª",
141     displayMsg     : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
142     emptyMsg       : 'äÃ?èÃ?Ã\95¢éÃ?Ã?Ã\99Ã\85áÃ\8aŽ§'
143   });
144 }
145
146 if(Ext.form.TextField){
147   Ext.apply(Ext.form.TextField.prototype, {
148     minLengthText : "The minimum length for this field is {0}",
149     maxLengthText : "The maximum length for this field is {0}",
150     blankText     : "This field is required",
151     regexText     : "",
152     emptyText     : null
153   });
154 }
155
156 if(Ext.form.NumberField){
157   Ext.apply(Ext.form.NumberField.prototype, {
158     minText : "The minimum value for this field is {0}",
159     maxText : "The maximum value for this field is {0}",
160     nanText : "{0} is not a valid number"
161   });
162 }
163
164 if(Ext.form.DateField){
165   Ext.apply(Ext.form.DateField.prototype, {
166     disabledDaysText  : "»ÔŽ",
167     disabledDatesText : "»ÔŽ",
168     minText           : "The date in this field must be after {0}",
169     maxText           : "The date in this field must be before {0}",
170     invalidText       : "{0} is not a valid date - it must be in the format {1}",
171     format            : "m/d/y",
172     altFormats        : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
173   });
174 }
175
176 if(Ext.form.ComboBox){
177   Ext.apply(Ext.form.ComboBox.prototype, {
178     loadingText       : "¡ÓÅѧâËÅŽ...",
179     valueNotFoundText : undefined
180   });
181 }
182
183 if(Ext.form.VTypes){
184   Ext.apply(Ext.form.VTypes, {
185     emailText    : 'This field should be an e-mail address in the format "user@example.com"',
186     urlText      : 'This field should be a URL in the format "http:/'+'/www.example.com"',
187     alphaText    : 'This field should only contain letters and _',
188     alphanumText : 'This field should only contain letters, numbers and _'
189   });
190 }
191
192 if(Ext.form.HtmlEditor){
193   Ext.apply(Ext.form.HtmlEditor.prototype, {
194     createLinkText : 'Please enter the URL for the link:',
195     buttonTips : {
196       bold : {
197         title: 'Bold (Ctrl+B)',
198         text: 'Make the selected text bold.',
199         cls: 'x-html-editor-tip'
200       },
201       italic : {
202         title: 'Italic (Ctrl+I)',
203         text: 'Make the selected text italic.',
204         cls: 'x-html-editor-tip'
205       },
206       underline : {
207         title: 'Underline (Ctrl+U)',
208         text: 'Underline the selected text.',
209         cls: 'x-html-editor-tip'
210       },
211       increasefontsize : {
212         title: 'Grow Text',
213         text: 'Increase the font size.',
214         cls: 'x-html-editor-tip'
215       },
216       decreasefontsize : {
217         title: 'Shrink Text',
218         text: 'Decrease the font size.',
219         cls: 'x-html-editor-tip'
220       },
221       backcolor : {
222         title: 'Text Highlight Color',
223         text: 'Change the background color of the selected text.',
224         cls: 'x-html-editor-tip'
225       },
226       forecolor : {
227         title: 'Font Color',
228         text: 'Change the color of the selected text.',
229         cls: 'x-html-editor-tip'
230       },
231       justifyleft : {
232         title: 'Align Text Left',
233         text: 'Align text to the left.',
234         cls: 'x-html-editor-tip'
235       },
236       justifycenter : {
237         title: 'Center Text',
238         text: 'Center text in the editor.',
239         cls: 'x-html-editor-tip'
240       },
241       justifyright : {
242         title: 'Align Text Right',
243         text: 'Align text to the right.',
244         cls: 'x-html-editor-tip'
245       },
246       insertunorderedlist : {
247         title: 'Bullet List',
248         text: 'Start a bulleted list.',
249         cls: 'x-html-editor-tip'
250       },
251       insertorderedlist : {
252         title: 'Numbered List',
253         text: 'Start a numbered list.',
254         cls: 'x-html-editor-tip'
255       },
256       createlink : {
257         title: 'Hyperlink',
258         text: 'Make the selected text a hyperlink.',
259         cls: 'x-html-editor-tip'
260       },
261       sourceedit : {
262         title: 'Source Edit',
263         text: 'Switch to source editing mode.',
264         cls: 'x-html-editor-tip'
265       }
266     }
267   });
268 }
269
270 if(Ext.grid.GridView){
271   Ext.apply(Ext.grid.GridView.prototype, {
272     sortAscText  : "Sort Ascending",
273     sortDescText : "Sort Descending",
274     lockText     : "Lock Column",
275     unlockText   : "Unlock Column",
276     columnsText  : "Columns"
277   });
278 }
279
280 if(Ext.grid.GroupingView){
281   Ext.apply(Ext.grid.GroupingView.prototype, {
282     emptyGroupText : '(None)',
283     groupByText    : 'Group By This Field',
284     showGroupsText : 'Show in Groups'
285   });
286 }
287
288 if(Ext.grid.PropertyColumnModel){
289   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
290     nameText   : "Name",
291     valueText  : "Value",
292     dateFormat : "m/j/Y"
293   });
294 }
295
296 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
297   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
298     splitTip            : "Drag to resize.",
299     collapsibleSplitTip : "Drag to resize. Double click to hide."
300   });
301 }
302 </pre>
303 </body>
304 </html>