3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>The source code</title>
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
8 <body onload="prettyPrint();">
9 <pre class="prettyprint lang-js">/*!
10 * Ext JS Library 3.2.0
11 * Copyright(c) 2006-2010 Ext JS, Inc.
13 * http://www.extjs.com/license
15 <div id="prop-Ext.state.Provider-indicatorText"></div>/**
16 * List compiled by KillerNay on the extjs.com forums.
17 * Thank you KillerNay!
19 * Thailand Translations
22 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
25 Ext.View.prototype.emptyText = "";
28 if(Ext.grid.GridPanel){
29 Ext.grid.GridPanel.prototype.ddText = "{0} àÅ×Í¡áÅéÇ·Ñé§ËÁŽá¶Ç";
33 Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
37 Ext.form.Field.prototype.invalidText = "€èҢͧªèͧ¹ÕéäÁè¶Ù¡µéͧ";
41 Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
59 Date.getShortMonthName = function(month) {
60 return Date.monthNames[month].substring(0, 3);
78 Date.getMonthNumber = function(name) {
79 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
92 Date.getShortDayName = function(day) {
93 return Date.dayNames[day].substring(0, 3);
97 Ext.MessageBox.buttonText = {
106 Ext.util.Format.date = function(v, format){
108 if(!(v instanceof Date)) v = new Date(Date.parse(v));
109 return v.dateFormat(format || "m/d/Y");
114 Ext.apply(Ext.DatePicker.prototype, {
115 todayText : "Çѹ¹Õé",
116 minText : "This date is before the minimum date",
117 maxText : "This date is after the maximum date",
118 disabledDaysText : "",
119 disabledDatesText : "",
120 monthNames : Date.monthNames,
121 dayNames : Date.dayNames,
122 nextText : 'àŽ×͹¶ÑŽä» (Control+Right)',
123 prevText : 'àŽ×͹¡è͹˹éÒ (Control+Left)',
124 monthYearText : 'àÅ×Í¡àŽ×͹ (Control+Up/Down to move years)',
125 todayTip : "{0} (Spacebar)",
127 okText : " µ¡Å§ ",
128 cancelText : "¡àÅÔ¡",
133 if(Ext.PagingToolbar){
134 Ext.apply(Ext.PagingToolbar.prototype, {
135 beforePageText : "˹éÒ",
136 afterPageText : "of {0}",
137 firstText : "˹éÒáá",
138 prevText : "¡è͹˹éÒ",
140 lastText : "˹éÒÊØŽ·éÒÂ",
141 refreshText : "ÃÕà¿Ãª",
142 displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
143 emptyMsg : 'äÁèÁÕ¢éÍÁÙÅáÊŽ§'
147 if(Ext.form.TextField){
148 Ext.apply(Ext.form.TextField.prototype, {
149 minLengthText : "The minimum length for this field is {0}",
150 maxLengthText : "The maximum length for this field is {0}",
151 blankText : "This field is required",
157 if(Ext.form.NumberField){
158 Ext.apply(Ext.form.NumberField.prototype, {
159 minText : "The minimum value for this field is {0}",
160 maxText : "The maximum value for this field is {0}",
161 nanText : "{0} is not a valid number"
165 if(Ext.form.DateField){
166 Ext.apply(Ext.form.DateField.prototype, {
167 disabledDaysText : "»ÔŽ",
168 disabledDatesText : "»ÔŽ",
169 minText : "The date in this field must be after {0}",
170 maxText : "The date in this field must be before {0}",
171 invalidText : "{0} is not a valid date - it must be in the format {1}",
173 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
177 if(Ext.form.ComboBox){
178 Ext.apply(Ext.form.ComboBox.prototype, {
179 loadingText : "¡ÓÅѧâËÅŽ...",
180 valueNotFoundText : undefined
185 Ext.apply(Ext.form.VTypes, {
186 emailText : 'This field should be an e-mail address in the format "user@example.com"',
187 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
188 alphaText : 'This field should only contain letters and _',
189 alphanumText : 'This field should only contain letters, numbers and _'
193 if(Ext.form.HtmlEditor){
194 Ext.apply(Ext.form.HtmlEditor.prototype, {
195 createLinkText : 'Please enter the URL for the link:',
198 title: 'Bold (Ctrl+B)',
199 text: 'Make the selected text bold.',
200 cls: 'x-html-editor-tip'
203 title: 'Italic (Ctrl+I)',
204 text: 'Make the selected text italic.',
205 cls: 'x-html-editor-tip'
208 title: 'Underline (Ctrl+U)',
209 text: 'Underline the selected text.',
210 cls: 'x-html-editor-tip'
214 text: 'Increase the font size.',
215 cls: 'x-html-editor-tip'
218 title: 'Shrink Text',
219 text: 'Decrease the font size.',
220 cls: 'x-html-editor-tip'
223 title: 'Text Highlight Color',
224 text: 'Change the background color of the selected text.',
225 cls: 'x-html-editor-tip'
229 text: 'Change the color of the selected text.',
230 cls: 'x-html-editor-tip'
233 title: 'Align Text Left',
234 text: 'Align text to the left.',
235 cls: 'x-html-editor-tip'
238 title: 'Center Text',
239 text: 'Center text in the editor.',
240 cls: 'x-html-editor-tip'
243 title: 'Align Text Right',
244 text: 'Align text to the right.',
245 cls: 'x-html-editor-tip'
247 insertunorderedlist : {
248 title: 'Bullet List',
249 text: 'Start a bulleted list.',
250 cls: 'x-html-editor-tip'
252 insertorderedlist : {
253 title: 'Numbered List',
254 text: 'Start a numbered list.',
255 cls: 'x-html-editor-tip'
259 text: 'Make the selected text a hyperlink.',
260 cls: 'x-html-editor-tip'
263 title: 'Source Edit',
264 text: 'Switch to source editing mode.',
265 cls: 'x-html-editor-tip'
271 if(Ext.grid.GridView){
272 Ext.apply(Ext.grid.GridView.prototype, {
273 sortAscText : "Sort Ascending",
274 sortDescText : "Sort Descending",
275 lockText : "Lock Column",
276 unlockText : "Unlock Column",
277 columnsText : "Columns"
281 if(Ext.grid.GroupingView){
282 Ext.apply(Ext.grid.GroupingView.prototype, {
283 emptyGroupText : '(None)',
284 groupByText : 'Group By This Field',
285 showGroupsText : 'Show in Groups'
289 if(Ext.grid.PropertyColumnModel){
290 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
297 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
298 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
299 splitTip : "Drag to resize.",
300 collapsibleSplitTip : "Drag to resize. Double click to hide."