2 * List compiled by KillerNay on the extjs.com forums.
5 * Thailand Translations
7 Ext.onReady(function() {
9 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
13 Ext.view.View.prototype.emptyText = "";
17 Ext.grid.Panel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç";
21 Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
24 if(Ext.form.field.Base){
25 Ext.form.field.Base.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ";
29 Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
33 Ext.Date.monthNames = [
48 Ext.Date.getShortMonthName = function(month) {
49 return Ext.Date.monthNames[month].substring(0, 3);
52 Ext.Date.monthNumbers = {
67 Ext.Date.getMonthNumber = function(name) {
68 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
81 Ext.Date.getShortDayName = function(day) {
82 return Ext.Date.dayNames[day].substring(0, 3);
86 Ext.MessageBox.buttonText = {
95 Ext.apply(Ext.util.Format, {
96 thousandSeparator: '.',
97 decimalSeparator: ',',
98 currencySign: '\u0e3f', // Thai Baht
104 Ext.apply(Ext.picker.Date.prototype, {
105 todayText : "Çѹ¹Õé",
106 minText : "This date is before the minimum date",
107 maxText : "This date is after the maximum date",
108 disabledDaysText : "",
109 disabledDatesText : "",
110 monthNames : Ext.Date.monthNames,
111 dayNames : Ext.Date.dayNames,
112 nextText : 'àŽ×͹¶ÑŽä» (Control+Right)',
113 prevText : 'àŽ×͹¡è͹˹éÒ (Control+Left)',
114 monthYearText : 'àÅ×Í¡àŽ×͹ (Control+Up/Down to move years)',
115 todayTip : "{0} (Spacebar)",
121 if(Ext.picker.Month) {
122 Ext.apply(Ext.picker.Month.prototype, {
123 okText : " µ¡Å§ ",
124 cancelText : "¡àÅÔ¡"
128 if(Ext.toolbar.Paging){
129 Ext.apply(Ext.PagingToolbar.prototype, {
130 beforePageText : "˹éÒ",
131 afterPageText : "of {0}",
132 firstText : "˹éÒáá",
133 prevText : "¡è͹˹éÒ",
135 lastText : "˹éÒÊØŽ·éÒÂ",
136 refreshText : "ÃÕà¿Ãª",
137 displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
138 emptyMsg : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§'
142 if(Ext.form.field.Text){
143 Ext.apply(Ext.form.field.Text.prototype, {
144 minLengthText : "The minimum length for this field is {0}",
145 maxLengthText : "The maximum length for this field is {0}",
146 blankText : "This field is required",
152 if(Ext.form.field.Number){
153 Ext.apply(Ext.form.field.Number.prototype, {
154 minText : "The minimum value for this field is {0}",
155 maxText : "The maximum value for this field is {0}",
156 nanText : "{0} is not a valid number"
160 if(Ext.form.field.Date){
161 Ext.apply(Ext.form.field.Date.prototype, {
162 disabledDaysText : "»ÔŽ",
163 disabledDatesText : "»ÔŽ",
164 minText : "The date in this field must be after {0}",
165 maxText : "The date in this field must be before {0}",
166 invalidText : "{0} is not a valid date - it must be in the format {1}",
168 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
172 if(Ext.form.field.ComboBox){
173 Ext.apply(Ext.form.field.ComboBox.prototype, {
174 loadingText : "¡ÓÅѧâËÅŽ...",
175 valueNotFoundText : undefined
179 if(Ext.form.field.VTypes){
180 Ext.apply(Ext.form.field.VTypes, {
181 emailText : 'This field should be an e-mail address in the format "user@example.com"',
182 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
183 alphaText : 'This field should only contain letters and _',
184 alphanumText : 'This field should only contain letters, numbers and _'
188 if(Ext.form.field.HtmlEditor){
189 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
190 createLinkText : 'Please enter the URL for the link:',
193 title: 'Bold (Ctrl+B)',
194 text: 'Make the selected text bold.',
195 cls: Ext.baseCSSPrefix + 'html-editor-tip'
198 title: 'Italic (Ctrl+I)',
199 text: 'Make the selected text italic.',
200 cls: Ext.baseCSSPrefix + 'html-editor-tip'
203 title: 'Underline (Ctrl+U)',
204 text: 'Underline the selected text.',
205 cls: Ext.baseCSSPrefix + 'html-editor-tip'
209 text: 'Increase the font size.',
210 cls: Ext.baseCSSPrefix + 'html-editor-tip'
213 title: 'Shrink Text',
214 text: 'Decrease the font size.',
215 cls: Ext.baseCSSPrefix + 'html-editor-tip'
218 title: 'Text Highlight Color',
219 text: 'Change the background color of the selected text.',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 text: 'Change the color of the selected text.',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
228 title: 'Align Text Left',
229 text: 'Align text to the left.',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
233 title: 'Center Text',
234 text: 'Center text in the editor.',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
238 title: 'Align Text Right',
239 text: 'Align text to the right.',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
242 insertunorderedlist : {
243 title: 'Bullet List',
244 text: 'Start a bulleted list.',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 insertorderedlist : {
248 title: 'Numbered List',
249 text: 'Start a numbered list.',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
254 text: 'Make the selected text a hyperlink.',
255 cls: Ext.baseCSSPrefix + 'html-editor-tip'
258 title: 'Source Edit',
259 text: 'Switch to source editing mode.',
260 cls: Ext.baseCSSPrefix + 'html-editor-tip'
266 if(Ext.grid.header.Container){
267 Ext.apply(Ext.grid.header.Container.prototype, {
268 sortAscText : "Sort Ascending",
269 sortDescText : "Sort Descending",
270 lockText : "Lock Column",
271 unlockText : "Unlock Column",
272 columnsText : "Columns"
276 if(Ext.grid.GroupingFeature){
277 Ext.apply(Ext.grid.GroupingFeature.prototype, {
278 emptyGroupText : '(None)',
279 groupByText : 'Group By This Field',
280 showGroupsText : 'Show in Groups'
284 if(Ext.grid.PropertyColumnModel){
285 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
292 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
293 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
294 splitTip : "Drag to resize.",
295 collapsibleSplitTip : "Drag to resize. Double click to hide."