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 loadingText : "¡ÓÅѧâËÅŽ...",
189 valueNotFoundText : undefined
193 if(Ext.form.field.VTypes){
194 Ext.apply(Ext.form.field.VTypes, {
195 emailText : 'This field should be an e-mail address in the format "user@example.com"',
196 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
197 alphaText : 'This field should only contain letters and _',
198 alphanumText : 'This field should only contain letters, numbers and _'
202 if(Ext.form.field.HtmlEditor){
203 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
204 createLinkText : 'Please enter the URL for the link:',
207 title: 'Bold (Ctrl+B)',
208 text: 'Make the selected text bold.',
209 cls: Ext.baseCSSPrefix + 'html-editor-tip'
212 title: 'Italic (Ctrl+I)',
213 text: 'Make the selected text italic.',
214 cls: Ext.baseCSSPrefix + 'html-editor-tip'
217 title: 'Underline (Ctrl+U)',
218 text: 'Underline the selected text.',
219 cls: Ext.baseCSSPrefix + 'html-editor-tip'
223 text: 'Increase the font size.',
224 cls: Ext.baseCSSPrefix + 'html-editor-tip'
227 title: 'Shrink Text',
228 text: 'Decrease the font size.',
229 cls: Ext.baseCSSPrefix + 'html-editor-tip'
232 title: 'Text Highlight Color',
233 text: 'Change the background color of the selected text.',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
238 text: 'Change the color of the selected text.',
239 cls: Ext.baseCSSPrefix + 'html-editor-tip'
242 title: 'Align Text Left',
243 text: 'Align text to the left.',
244 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 title: 'Center Text',
248 text: 'Center text in the editor.',
249 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 title: 'Align Text Right',
253 text: 'Align text to the right.',
254 cls: Ext.baseCSSPrefix + 'html-editor-tip'
256 insertunorderedlist : {
257 title: 'Bullet List',
258 text: 'Start a bulleted list.',
259 cls: Ext.baseCSSPrefix + 'html-editor-tip'
261 insertorderedlist : {
262 title: 'Numbered List',
263 text: 'Start a numbered list.',
264 cls: Ext.baseCSSPrefix + 'html-editor-tip'
268 text: 'Make the selected text a hyperlink.',
269 cls: Ext.baseCSSPrefix + 'html-editor-tip'
272 title: 'Source Edit',
273 text: 'Switch to source editing mode.',
274 cls: Ext.baseCSSPrefix + 'html-editor-tip'
280 if(Ext.grid.header.Container){
281 Ext.apply(Ext.grid.header.Container.prototype, {
282 sortAscText : "Sort Ascending",
283 sortDescText : "Sort Descending",
284 lockText : "Lock Column",
285 unlockText : "Unlock Column",
286 columnsText : "Columns"
290 if(Ext.grid.GroupingFeature){
291 Ext.apply(Ext.grid.GroupingFeature.prototype, {
292 emptyGroupText : '(None)',
293 groupByText : 'Group By This Field',
294 showGroupsText : 'Show in Groups'
298 if(Ext.grid.PropertyColumnModel){
299 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
306 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
307 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
308 splitTip : "Drag to resize.",
309 collapsibleSplitTip : "Drag to resize. Double click to hide."