2
* List compiled by KillerNay on the extjs.com forums.
5
* Thailand Translations
8
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
11
Ext.View.prototype.emptyText = "";
14
if(Ext.grid.GridPanel){
15
Ext.grid.GridPanel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç";
19
Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
23
Ext.form.Field.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ";
27
Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
45
Date.getShortMonthName = function(month) {
46
return Date.monthNames[month].substring(0, 3);
64
Date.getMonthNumber = function(name) {
65
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
78
Date.getShortDayName = function(day) {
79
return Date.dayNames[day].substring(0, 3);
83
Ext.MessageBox.buttonText = {
92
Ext.util.Format.date = function(v, format){
94
if(!(v instanceof Date)) v = new Date(Date.parse(v));
95
return v.dateFormat(format || "m/d/Y");
100
Ext.apply(Ext.DatePicker.prototype, {
101
todayText : "Çѹ¹Õé",
102
minText : "This date is before the minimum date",
103
maxText : "This date is after the maximum date",
104
disabledDaysText : "",
105
disabledDatesText : "",
106
monthNames : Date.monthNames,
107
dayNames : Date.dayNames,
108
nextText : 'àŽ×͹¶ÑŽä» (Control+Right)',
109
prevText : 'àŽ×͹¡è͹˹éÒ (Control+Left)',
110
monthYearText : 'àÅ×Í¡àŽ×͹ (Control+Up/Down to move years)',
111
todayTip : "{0} (Spacebar)",
113
okText : " µ¡Å§ ",
114
cancelText : "¡àÅÔ¡",
119
if(Ext.PagingToolbar){
120
Ext.apply(Ext.PagingToolbar.prototype, {
121
beforePageText : "˹éÒ",
122
afterPageText : "of {0}",
123
firstText : "˹éÒáá",
124
prevText : "¡è͹˹éÒ",
126
lastText : "˹éÒÊØŽ·éÒÂ",
127
refreshText : "ÃÕà¿Ãª",
128
displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
129
emptyMsg : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§'
133
if(Ext.form.TextField){
134
Ext.apply(Ext.form.TextField.prototype, {
135
minLengthText : "The minimum length for this field is {0}",
136
maxLengthText : "The maximum length for this field is {0}",
137
blankText : "This field is required",
143
if(Ext.form.NumberField){
144
Ext.apply(Ext.form.NumberField.prototype, {
145
minText : "The minimum value for this field is {0}",
146
maxText : "The maximum value for this field is {0}",
147
nanText : "{0} is not a valid number"
151
if(Ext.form.DateField){
152
Ext.apply(Ext.form.DateField.prototype, {
153
disabledDaysText : "»ÔŽ",
154
disabledDatesText : "»ÔŽ",
155
minText : "The date in this field must be after {0}",
156
maxText : "The date in this field must be before {0}",
157
invalidText : "{0} is not a valid date - it must be in the format {1}",
159
altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
163
if(Ext.form.ComboBox){
164
Ext.apply(Ext.form.ComboBox.prototype, {
165
loadingText : "¡ÓÅѧâËÅŽ...",
166
valueNotFoundText : undefined
171
Ext.apply(Ext.form.VTypes, {
172
emailText : 'This field should be an e-mail address in the format "user@domain.com"',
173
urlText : 'This field should be a URL in the format "http:/'+'/www.domain.com"',
174
alphaText : 'This field should only contain letters and _',
175
alphanumText : 'This field should only contain letters, numbers and _'
179
if(Ext.form.HtmlEditor){
180
Ext.apply(Ext.form.HtmlEditor.prototype, {
181
createLinkText : 'Please enter the URL for the link:',
184
title: 'Bold (Ctrl+B)',
185
text: 'Make the selected text bold.',
186
cls: 'x-html-editor-tip'
189
title: 'Italic (Ctrl+I)',
190
text: 'Make the selected text italic.',
191
cls: 'x-html-editor-tip'
194
title: 'Underline (Ctrl+U)',
195
text: 'Underline the selected text.',
196
cls: 'x-html-editor-tip'
200
text: 'Increase the font size.',
201
cls: 'x-html-editor-tip'
204
title: 'Shrink Text',
205
text: 'Decrease the font size.',
206
cls: 'x-html-editor-tip'
209
title: 'Text Highlight Color',
210
text: 'Change the background color of the selected text.',
211
cls: 'x-html-editor-tip'
215
text: 'Change the color of the selected text.',
216
cls: 'x-html-editor-tip'
219
title: 'Align Text Left',
220
text: 'Align text to the left.',
221
cls: 'x-html-editor-tip'
224
title: 'Center Text',
225
text: 'Center text in the editor.',
226
cls: 'x-html-editor-tip'
229
title: 'Align Text Right',
230
text: 'Align text to the right.',
231
cls: 'x-html-editor-tip'
233
insertunorderedlist : {
234
title: 'Bullet List',
235
text: 'Start a bulleted list.',
236
cls: 'x-html-editor-tip'
238
insertorderedlist : {
239
title: 'Numbered List',
240
text: 'Start a numbered list.',
241
cls: 'x-html-editor-tip'
245
text: 'Make the selected text a hyperlink.',
246
cls: 'x-html-editor-tip'
249
title: 'Source Edit',
250
text: 'Switch to source editing mode.',
251
cls: 'x-html-editor-tip'
257
if(Ext.grid.GridView){
258
Ext.apply(Ext.grid.GridView.prototype, {
259
sortAscText : "Sort Ascending",
260
sortDescText : "Sort Descending",
261
lockText : "Lock Column",
262
unlockText : "Unlock Column",
263
columnsText : "Columns"
267
if(Ext.grid.GroupingView){
268
Ext.apply(Ext.grid.GroupingView.prototype, {
269
emptyGroupText : '(None)',
270
groupByText : 'Group By This Field',
271
showGroupsText : 'Show in Groups'
275
if(Ext.grid.PropertyColumnModel){
276
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
283
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
284
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
285
splitTip : "Drag to resize.",
286
collapsibleSplitTip : "Drag to resize. Double click to hide."