source: trunk/web/addons/job_monarch/lib/extjs-30/src/locale/ext-lang-th.js @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

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