3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
4 <title>The source code</title>
\r
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
8 <body onload="prettyPrint();">
\r
9 <pre class="prettyprint lang-js"><div id="prop-Ext.state.Provider-indicatorText"></div>/**
10 * List compiled by KillerNay on the extjs.com forums.
11 * Thank you KillerNay!
13 * Thailand Translations
16 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
19 Ext.View.prototype.emptyText = "";
22 if(Ext.grid.GridPanel){
23 Ext.grid.GridPanel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç";
27 Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
31 Ext.form.Field.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ";
35 Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
53 Date.getShortMonthName = function(month) {
54 return Date.monthNames[month].substring(0, 3);
72 Date.getMonthNumber = function(name) {
73 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
86 Date.getShortDayName = function(day) {
87 return Date.dayNames[day].substring(0, 3);
91 Ext.MessageBox.buttonText = {
100 Ext.util.Format.date = function(v, format){
102 if(!(v instanceof Date)) v = new Date(Date.parse(v));
103 return v.dateFormat(format || "m/d/Y");
108 Ext.apply(Ext.DatePicker.prototype, {
109 todayText : "Çѹ¹Õé",
110 minText : "This date is before the minimum date",
111 maxText : "This date is after the maximum date",
112 disabledDaysText : "",
113 disabledDatesText : "",
114 monthNames : Date.monthNames,
115 dayNames : Date.dayNames,
116 nextText : 'àŽ×͹¶ÑŽä» (Control+Right)',
117 prevText : 'àŽ×͹¡è͹˹éÒ (Control+Left)',
118 monthYearText : 'àÅ×Í¡àŽ×͹ (Control+Up/Down to move years)',
119 todayTip : "{0} (Spacebar)",
121 okText : " µ¡Å§ ",
122 cancelText : "¡àÅÔ¡",
127 if(Ext.PagingToolbar){
128 Ext.apply(Ext.PagingToolbar.prototype, {
129 beforePageText : "˹éÒ",
130 afterPageText : "of {0}",
131 firstText : "˹éÒáá",
132 prevText : "¡è͹˹éÒ",
134 lastText : "˹éÒÊØŽ·éÒÂ",
135 refreshText : "ÃÕà¿Ãª",
136 displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
137 emptyMsg : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§'
141 if(Ext.form.TextField){
142 Ext.apply(Ext.form.TextField.prototype, {
143 minLengthText : "The minimum length for this field is {0}",
144 maxLengthText : "The maximum length for this field is {0}",
145 blankText : "This field is required",
151 if(Ext.form.NumberField){
152 Ext.apply(Ext.form.NumberField.prototype, {
153 minText : "The minimum value for this field is {0}",
154 maxText : "The maximum value for this field is {0}",
155 nanText : "{0} is not a valid number"
159 if(Ext.form.DateField){
160 Ext.apply(Ext.form.DateField.prototype, {
161 disabledDaysText : "»ÔŽ",
162 disabledDatesText : "»ÔŽ",
163 minText : "The date in this field must be after {0}",
164 maxText : "The date in this field must be before {0}",
165 invalidText : "{0} is not a valid date - it must be in the format {1}",
167 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
171 if(Ext.form.ComboBox){
172 Ext.apply(Ext.form.ComboBox.prototype, {
173 loadingText : "¡ÓÅѧâËÅŽ...",
174 valueNotFoundText : undefined
179 Ext.apply(Ext.form.VTypes, {
180 emailText : 'This field should be an e-mail address in the format "user@example.com"',
181 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
182 alphaText : 'This field should only contain letters and _',
183 alphanumText : 'This field should only contain letters, numbers and _'
187 if(Ext.form.HtmlEditor){
188 Ext.apply(Ext.form.HtmlEditor.prototype, {
189 createLinkText : 'Please enter the URL for the link:',
192 title: 'Bold (Ctrl+B)',
193 text: 'Make the selected text bold.',
194 cls: 'x-html-editor-tip'
197 title: 'Italic (Ctrl+I)',
198 text: 'Make the selected text italic.',
199 cls: 'x-html-editor-tip'
202 title: 'Underline (Ctrl+U)',
203 text: 'Underline the selected text.',
204 cls: 'x-html-editor-tip'
208 text: 'Increase the font size.',
209 cls: 'x-html-editor-tip'
212 title: 'Shrink Text',
213 text: 'Decrease the font size.',
214 cls: 'x-html-editor-tip'
217 title: 'Text Highlight Color',
218 text: 'Change the background color of the selected text.',
219 cls: 'x-html-editor-tip'
223 text: 'Change the color of the selected text.',
224 cls: 'x-html-editor-tip'
227 title: 'Align Text Left',
228 text: 'Align text to the left.',
229 cls: 'x-html-editor-tip'
232 title: 'Center Text',
233 text: 'Center text in the editor.',
234 cls: 'x-html-editor-tip'
237 title: 'Align Text Right',
238 text: 'Align text to the right.',
239 cls: 'x-html-editor-tip'
241 insertunorderedlist : {
242 title: 'Bullet List',
243 text: 'Start a bulleted list.',
244 cls: 'x-html-editor-tip'
246 insertorderedlist : {
247 title: 'Numbered List',
248 text: 'Start a numbered list.',
249 cls: 'x-html-editor-tip'
253 text: 'Make the selected text a hyperlink.',
254 cls: 'x-html-editor-tip'
257 title: 'Source Edit',
258 text: 'Switch to source editing mode.',
259 cls: 'x-html-editor-tip'
265 if(Ext.grid.GridView){
266 Ext.apply(Ext.grid.GridView.prototype, {
267 sortAscText : "Sort Ascending",
268 sortDescText : "Sort Descending",
269 lockText : "Lock Column",
270 unlockText : "Unlock Column",
271 columnsText : "Columns"
275 if(Ext.grid.GroupingView){
276 Ext.apply(Ext.grid.GroupingView.prototype, {
277 emptyGroupText : '(None)',
278 groupByText : 'Group By This Field',
279 showGroupsText : 'Show in Groups'
283 if(Ext.grid.PropertyColumnModel){
284 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
291 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
292 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
293 splitTip : "Drag to resize.",
294 collapsibleSplitTip : "Drag to resize. Double click to hide."