3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * List compiled by KillerNay on the extjs.com forums.
17 * Thank you KillerNay!
19 * Thailand Translations
21 Ext.onReady(function() {
23 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
27 Ext.view.View.prototype.emptyText = "";
31 Ext.grid.Panel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç";
35 Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
38 if(Ext.form.field.Base){
39 Ext.form.field.Base.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ";
43 Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
47 Ext.Date.monthNames = [
62 Ext.Date.getShortMonthName = function(month) {
63 return Ext.Date.monthNames[month].substring(0, 3);
66 Ext.Date.monthNumbers = {
81 Ext.Date.getMonthNumber = function(name) {
82 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
95 Ext.Date.getShortDayName = function(day) {
96 return Ext.Date.dayNames[day].substring(0, 3);
100 Ext.MessageBox.buttonText = {
109 Ext.apply(Ext.util.Format, {
110 thousandSeparator: '.',
111 decimalSeparator: ',',
112 currencySign: '\u0e3f', // Thai Baht
118 Ext.apply(Ext.picker.Date.prototype, {
119 todayText : "Çѹ¹Õé",
120 minText : "This date is before the minimum date",
121 maxText : "This date is after the maximum date",
122 disabledDaysText : "",
123 disabledDatesText : "",
124 monthNames : Ext.Date.monthNames,
125 dayNames : Ext.Date.dayNames,
126 nextText : 'àŽ×͹¶ÑŽä» (Control+Right)',
127 prevText : 'àŽ×͹¡è͹˹éÒ (Control+Left)',
128 monthYearText : 'àÅ×Í¡àŽ×͹ (Control+Up/Down to move years)',
129 todayTip : "{0} (Spacebar)",
135 if(Ext.picker.Month) {
136 Ext.apply(Ext.picker.Month.prototype, {
137 okText : " µ¡Å§ ",
138 cancelText : "¡àÅÔ¡"
142 if(Ext.toolbar.Paging){
143 Ext.apply(Ext.PagingToolbar.prototype, {
144 beforePageText : "˹éÒ",
145 afterPageText : "of {0}",
146 firstText : "˹éÒáá",
147 prevText : "¡è͹˹éÒ",
149 lastText : "˹éÒÊØŽ·éÒÂ",
150 refreshText : "ÃÕà¿Ãª",
151 displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
152 emptyMsg : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§'
156 if(Ext.form.field.Text){
157 Ext.apply(Ext.form.field.Text.prototype, {
158 minLengthText : "The minimum length for this field is {0}",
159 maxLengthText : "The maximum length for this field is {0}",
160 blankText : "This field is required",
166 if(Ext.form.field.Number){
167 Ext.apply(Ext.form.field.Number.prototype, {
168 minText : "The minimum value for this field is {0}",
169 maxText : "The maximum value for this field is {0}",
170 nanText : "{0} is not a valid number"
174 if(Ext.form.field.Date){
175 Ext.apply(Ext.form.field.Date.prototype, {
176 disabledDaysText : "»ÔŽ",
177 disabledDatesText : "»ÔŽ",
178 minText : "The date in this field must be after {0}",
179 maxText : "The date in this field must be before {0}",
180 invalidText : "{0} is not a valid date - it must be in the format {1}",
182 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
186 if(Ext.form.field.ComboBox){
187 Ext.apply(Ext.form.field.ComboBox.prototype, {
188 valueNotFoundText : undefined
190 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
191 loadingText : "¡ÓÅѧâËÅŽ..."
195 if(Ext.form.field.VTypes){
196 Ext.apply(Ext.form.field.VTypes, {
197 emailText : 'This field should be an e-mail address in the format "user@example.com"',
198 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
199 alphaText : 'This field should only contain letters and _',
200 alphanumText : 'This field should only contain letters, numbers and _'
204 if(Ext.form.field.HtmlEditor){
205 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
206 createLinkText : 'Please enter the URL for the link:',
209 title: 'Bold (Ctrl+B)',
210 text: 'Make the selected text bold.',
211 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 title: 'Italic (Ctrl+I)',
215 text: 'Make the selected text italic.',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: 'Underline (Ctrl+U)',
220 text: 'Underline the selected text.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
225 text: 'Increase the font size.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'Shrink Text',
230 text: 'Decrease the font size.',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 title: 'Text Highlight Color',
235 text: 'Change the background color of the selected text.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
240 text: 'Change the color of the selected text.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
244 title: 'Align Text Left',
245 text: 'Align text to the left.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
249 title: 'Center Text',
250 text: 'Center text in the editor.',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
254 title: 'Align Text Right',
255 text: 'Align text to the right.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
258 insertunorderedlist : {
259 title: 'Bullet List',
260 text: 'Start a bulleted list.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
263 insertorderedlist : {
264 title: 'Numbered List',
265 text: 'Start a numbered list.',
266 cls: Ext.baseCSSPrefix + 'html-editor-tip'
270 text: 'Make the selected text a hyperlink.',
271 cls: Ext.baseCSSPrefix + 'html-editor-tip'
274 title: 'Source Edit',
275 text: 'Switch to source editing mode.',
276 cls: Ext.baseCSSPrefix + 'html-editor-tip'
282 if(Ext.grid.header.Container){
283 Ext.apply(Ext.grid.header.Container.prototype, {
284 sortAscText : "Sort Ascending",
285 sortDescText : "Sort Descending",
286 lockText : "Lock Column",
287 unlockText : "Unlock Column",
288 columnsText : "Columns"
292 if(Ext.grid.GroupingFeature){
293 Ext.apply(Ext.grid.GroupingFeature.prototype, {
294 emptyGroupText : '(None)',
295 groupByText : 'Group By This Field',
296 showGroupsText : 'Show in Groups'
300 if(Ext.grid.PropertyColumnModel){
301 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
308 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
309 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
310 splitTip : "Drag to resize.",
311 collapsibleSplitTip : "Drag to resize. Double click to hide."