~cdparra/gelee/trunk

« back to all changes in this revision

Viewing changes to webui/web/extjs/source/locale/ext-lang-th.js

  • Committer: parra
  • Date: 2010-03-15 15:56:56 UTC
  • Revision ID: svn-v4:ac5bba68-f036-4e09-846e-8f32731cc928:trunk/gelee:1448
merged gelee at svn

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * List compiled by KillerNay on the extjs.com forums.
 
3
 * Thank you KillerNay!
 
4
 *
 
5
 * Thailand Translations
 
6
 */
 
7
 
 
8
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
 
9
 
 
10
if(Ext.View){
 
11
  Ext.View.prototype.emptyText = "";
 
12
}
 
13
 
 
14
if(Ext.grid.GridPanel){
 
15
  Ext.grid.GridPanel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç";
 
16
}
 
17
 
 
18
if(Ext.TabPanelItem){
 
19
  Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
 
20
}
 
21
 
 
22
if(Ext.form.Field){
 
23
  Ext.form.Field.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ";
 
24
}
 
25
 
 
26
if(Ext.LoadMask){
 
27
  Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
 
28
}
 
29
 
 
30
Date.monthNames = [
 
31
  "Á¡ÃÒ€Á",
 
32
  "¡ØÁŸÒӟѹžì",
 
33
  "ÁÕ¹Ò€Á",
 
34
  "àÁÉÒ¹",
 
35
  "ŸÄÉÀÒ€Á",
 
36
  "ÁԶعÒ¹",
 
37
  "¡Ä¡¯Ò€Á",
 
38
  "ÊÔ§ËÒ€Á",
 
39
  "¡Ñ¹ÂÒ¹",
 
40
  "µØÅÒ€Á",
 
41
  "ŸÄÈšÔ¡Ò¹",
 
42
  "žÑ¹ÇÒ€Á"
 
43
];
 
44
 
 
45
Date.getShortMonthName = function(month) {
 
46
  return Date.monthNames[month].substring(0, 3);
 
47
};
 
48
 
 
49
Date.monthNumbers = {
 
50
  "Á€" : 0,
 
51
  "¡Ÿ" : 1,
 
52
  "ÁÕ€" : 2,
 
53
  "àÁÂ" : 3,
 
54
  "Ÿ€" : 4,
 
55
  "ÁÔÂ" : 5,
 
56
  "¡€" : 6,
 
57
  "Ê€" : 7,
 
58
  "¡Â" : 8,
 
59
  "µ€" : 9,
 
60
  "ŸÂ" : 10,
 
61
  "ž€" : 11
 
62
};
 
63
 
 
64
Date.getMonthNumber = function(name) {
 
65
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
 
66
};
 
67
 
 
68
Date.dayNames = [
 
69
  "ÍÒ·ÔµÂì",
 
70
  "šÑ¹·Ãì",
 
71
  "Íѧ€ÒÃ",
 
72
  "ŸØמ",
 
73
  "ŸÄËÑʺŽÕ",
 
74
  "ÈØ¡Ãì",
 
75
  "àÊÒÃì"
 
76
];
 
77
 
 
78
Date.getShortDayName = function(day) {
 
79
  return Date.dayNames[day].substring(0, 3);
 
80
};
 
81
 
 
82
if(Ext.MessageBox){
 
83
  Ext.MessageBox.buttonText = {
 
84
    ok     : "µ¡Å§",
 
85
    cancel : "¡àÅÔ¡",
 
86
    yes    : "ãªè",
 
87
    no     : "äÁèãªè"
 
88
  };
 
89
}
 
90
 
 
91
if(Ext.util.Format){
 
92
  Ext.util.Format.date = function(v, format){
 
93
    if(!v) return "";
 
94
    if(!(v instanceof Date)) v = new Date(Date.parse(v));
 
95
    return v.dateFormat(format || "m/d/Y");
 
96
  };
 
97
}
 
98
 
 
99
if(Ext.DatePicker){
 
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)",
 
112
    format            : "m/d/y",
 
113
    okText            : "&#160;µ¡Å§&#160;",
 
114
    cancelText        : "¡àÅÔ¡",
 
115
    startDay          : 0
 
116
  });
 
117
}
 
118
 
 
119
if(Ext.PagingToolbar){
 
120
  Ext.apply(Ext.PagingToolbar.prototype, {
 
121
    beforePageText : "˹éÒ",
 
122
    afterPageText  : "of {0}",
 
123
    firstText      : "˹éÒáá",
 
124
    prevText       : "¡è͹˹éÒ",
 
125
    nextText       : "¶ÑŽä»",
 
126
    lastText       : "˹éÒÊØŽ·éÒÂ",
 
127
    refreshText    : "ÃÕà¿Ãª",
 
128
    displayMsg     : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
 
129
    emptyMsg       : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§'
 
130
  });
 
131
}
 
132
 
 
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",
 
138
    regexText     : "",
 
139
    emptyText     : null
 
140
  });
 
141
}
 
142
 
 
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"
 
148
  });
 
149
}
 
150
 
 
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}",
 
158
    format            : "m/d/y",
 
159
    altFormats        : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
 
160
  });
 
161
}
 
162
 
 
163
if(Ext.form.ComboBox){
 
164
  Ext.apply(Ext.form.ComboBox.prototype, {
 
165
    loadingText       : "¡ÓÅѧâËÅŽ...",
 
166
    valueNotFoundText : undefined
 
167
  });
 
168
}
 
169
 
 
170
if(Ext.form.VTypes){
 
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 _'
 
176
  });
 
177
}
 
178
 
 
179
if(Ext.form.HtmlEditor){
 
180
  Ext.apply(Ext.form.HtmlEditor.prototype, {
 
181
    createLinkText : 'Please enter the URL for the link:',
 
182
    buttonTips : {
 
183
      bold : {
 
184
        title: 'Bold (Ctrl+B)',
 
185
        text: 'Make the selected text bold.',
 
186
        cls: 'x-html-editor-tip'
 
187
      },
 
188
      italic : {
 
189
        title: 'Italic (Ctrl+I)',
 
190
        text: 'Make the selected text italic.',
 
191
        cls: 'x-html-editor-tip'
 
192
      },
 
193
      underline : {
 
194
        title: 'Underline (Ctrl+U)',
 
195
        text: 'Underline the selected text.',
 
196
        cls: 'x-html-editor-tip'
 
197
      },
 
198
      increasefontsize : {
 
199
        title: 'Grow Text',
 
200
        text: 'Increase the font size.',
 
201
        cls: 'x-html-editor-tip'
 
202
      },
 
203
      decreasefontsize : {
 
204
        title: 'Shrink Text',
 
205
        text: 'Decrease the font size.',
 
206
        cls: 'x-html-editor-tip'
 
207
      },
 
208
      backcolor : {
 
209
        title: 'Text Highlight Color',
 
210
        text: 'Change the background color of the selected text.',
 
211
        cls: 'x-html-editor-tip'
 
212
      },
 
213
      forecolor : {
 
214
        title: 'Font Color',
 
215
        text: 'Change the color of the selected text.',
 
216
        cls: 'x-html-editor-tip'
 
217
      },
 
218
      justifyleft : {
 
219
        title: 'Align Text Left',
 
220
        text: 'Align text to the left.',
 
221
        cls: 'x-html-editor-tip'
 
222
      },
 
223
      justifycenter : {
 
224
        title: 'Center Text',
 
225
        text: 'Center text in the editor.',
 
226
        cls: 'x-html-editor-tip'
 
227
      },
 
228
      justifyright : {
 
229
        title: 'Align Text Right',
 
230
        text: 'Align text to the right.',
 
231
        cls: 'x-html-editor-tip'
 
232
      },
 
233
      insertunorderedlist : {
 
234
        title: 'Bullet List',
 
235
        text: 'Start a bulleted list.',
 
236
        cls: 'x-html-editor-tip'
 
237
      },
 
238
      insertorderedlist : {
 
239
        title: 'Numbered List',
 
240
        text: 'Start a numbered list.',
 
241
        cls: 'x-html-editor-tip'
 
242
      },
 
243
      createlink : {
 
244
        title: 'Hyperlink',
 
245
        text: 'Make the selected text a hyperlink.',
 
246
        cls: 'x-html-editor-tip'
 
247
      },
 
248
      sourceedit : {
 
249
        title: 'Source Edit',
 
250
        text: 'Switch to source editing mode.',
 
251
        cls: 'x-html-editor-tip'
 
252
      }
 
253
    }
 
254
  });
 
255
}
 
256
 
 
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"
 
264
  });
 
265
}
 
266
 
 
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'
 
272
  });
 
273
}
 
274
 
 
275
if(Ext.grid.PropertyColumnModel){
 
276
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
 
277
    nameText   : "Name",
 
278
    valueText  : "Value",
 
279
    dateFormat : "m/j/Y"
 
280
  });
 
281
}
 
282
 
 
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."
 
287
  });
 
288
}