3 <title>The source code</title>
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
7 <body onload="prettyPrint();">
8 <pre class="prettyprint lang-js">/*!
10 * Copyright(c) 2006-2009 Ext JS, LLC
12 * http://www.extjs.com/license
14 <div id="prop-Ext.Direct.Transaction-indicatorText"></div>/**
15 * List compiled by KillerNay on the extjs.com forums.
16 * Thank you KillerNay!
18 * Thailand Translations
21 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">¡ÓÅѧâËÅŽ...</div>';
24 Ext.View.prototype.emptyText = "";
27 if(Ext.grid.GridPanel){
28 Ext.grid.GridPanel.prototype.ddText = "{0} Ã Ã
\85Ã
\97Ã?¡áÃ
\85éÃ
\87·Ã
\91é§Ã
\8bÃ?Žá¶Ã
\87";
32 Ext.TabPanelItem.prototype.closeText = "»ÔŽá·çº¹Õé";
36 Ext.form.Field.prototype.invalidText = "â
\82¬Ã¨Ã
\92¢Ã?§ªèÃ?§¹Ã
\95éäÃ?è¶Ã
\99¡µé�§";
40 Ext.LoadMask.prototype.msg = "¡ÓÅѧâËÅŽ...";
44 "Ã?¡Ã
\83Ã
\92â
\82¬Ã?",
45 "¡Ã
\98Ã?ŸÃ
\92Ã
\93ŸÃ
\91¹žì",
46 "Ã?Ã
\95¹Ã
\92â
\82¬Ã?",
48 "ŸÃ
\84Ã
\89Ã
\80Ã
\92â
\82¬Ã?",
49 "Ã?Ã
\94¶Ã
\98¹Ã
\92Ã
\82¹",
50 "¡Ã
\84¡¯Ã
\92â
\82¬Ã?",
51 "Ã
\8aÃ
\94§Ã
\8bÃ
\92â
\82¬Ã?",
53 "µÃ
\98Ã
\85Ã
\92â
\82¬Ã?",
55 "žÃ
\91¹Ã
\87Ã
\92â
\82¬Ã?"
58 Date.getShortMonthName = function(month) {
59 return Date.monthNames[month].substring(0, 3);
77 Date.getMonthNumber = function(name) {
78 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
82 "Ã?Ã
\92·Ã
\94µÃ
\82ì",
84 "Ã?Ã
\91変
\82¬Ã
\92Ã
\83",
91 Date.getShortDayName = function(day) {
92 return Date.dayNames[day].substring(0, 3);
96 Ext.MessageBox.buttonText = {
105 Ext.util.Format.date = function(v, format){
107 if(!(v instanceof Date)) v = new Date(Date.parse(v));
108 return v.dateFormat(format || "m/d/Y");
113 Ext.apply(Ext.DatePicker.prototype, {
114 todayText : "Çѹ¹Õé",
115 minText : "This date is before the minimum date",
116 maxText : "This date is after the maximum date",
117 disabledDaysText : "",
118 disabledDatesText : "",
119 monthNames : Date.monthNames,
120 dayNames : Date.dayNames,
121 nextText : 'à ŽÃ
\97Ã?¹¶Ã
\91Žä» (Control+Right)',
122 prevText : 'à ŽÃ
\97Ã?¹¡èÃ?¹Ã
\8b¹éÃ
\92 (Control+Left)',
123 monthYearText : 'Ã Ã
\85Ã
\97Ã?¡à ŽÃ
\97�¹ (Control+Up/Down to move years)',
124 todayTip : "{0} (Spacebar)",
126 okText : " µ¡Å§ ",
127 cancelText : "¡àÅÔ¡",
132 if(Ext.PagingToolbar){
133 Ext.apply(Ext.PagingToolbar.prototype, {
134 beforePageText : "˹éÒ",
135 afterPageText : "of {0}",
136 firstText : "˹éÒáá",
137 prevText : "¡èÃ?¹Ã
\8b¹éÃ
\92",
139 lastText : "˹éÒÊØŽ·éÒÂ",
140 refreshText : "ÃÕà¿Ãª",
141 displayMsg : "¡ÓÅѧáÊŽ§ {0} - {1} šÒ¡ {2}",
142 emptyMsg : 'äÃ?èÃ?Ã
\95¢éÃ?Ã?Ã
\99Ã
\85áÃ
\8aŽ§'
146 if(Ext.form.TextField){
147 Ext.apply(Ext.form.TextField.prototype, {
148 minLengthText : "The minimum length for this field is {0}",
149 maxLengthText : "The maximum length for this field is {0}",
150 blankText : "This field is required",
156 if(Ext.form.NumberField){
157 Ext.apply(Ext.form.NumberField.prototype, {
158 minText : "The minimum value for this field is {0}",
159 maxText : "The maximum value for this field is {0}",
160 nanText : "{0} is not a valid number"
164 if(Ext.form.DateField){
165 Ext.apply(Ext.form.DateField.prototype, {
166 disabledDaysText : "»ÔŽ",
167 disabledDatesText : "»ÔŽ",
168 minText : "The date in this field must be after {0}",
169 maxText : "The date in this field must be before {0}",
170 invalidText : "{0} is not a valid date - it must be in the format {1}",
172 altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
176 if(Ext.form.ComboBox){
177 Ext.apply(Ext.form.ComboBox.prototype, {
178 loadingText : "¡ÓÅѧâËÅŽ...",
179 valueNotFoundText : undefined
184 Ext.apply(Ext.form.VTypes, {
185 emailText : 'This field should be an e-mail address in the format "user@example.com"',
186 urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
187 alphaText : 'This field should only contain letters and _',
188 alphanumText : 'This field should only contain letters, numbers and _'
192 if(Ext.form.HtmlEditor){
193 Ext.apply(Ext.form.HtmlEditor.prototype, {
194 createLinkText : 'Please enter the URL for the link:',
197 title: 'Bold (Ctrl+B)',
198 text: 'Make the selected text bold.',
199 cls: 'x-html-editor-tip'
202 title: 'Italic (Ctrl+I)',
203 text: 'Make the selected text italic.',
204 cls: 'x-html-editor-tip'
207 title: 'Underline (Ctrl+U)',
208 text: 'Underline the selected text.',
209 cls: 'x-html-editor-tip'
213 text: 'Increase the font size.',
214 cls: 'x-html-editor-tip'
217 title: 'Shrink Text',
218 text: 'Decrease the font size.',
219 cls: 'x-html-editor-tip'
222 title: 'Text Highlight Color',
223 text: 'Change the background color of the selected text.',
224 cls: 'x-html-editor-tip'
228 text: 'Change the color of the selected text.',
229 cls: 'x-html-editor-tip'
232 title: 'Align Text Left',
233 text: 'Align text to the left.',
234 cls: 'x-html-editor-tip'
237 title: 'Center Text',
238 text: 'Center text in the editor.',
239 cls: 'x-html-editor-tip'
242 title: 'Align Text Right',
243 text: 'Align text to the right.',
244 cls: 'x-html-editor-tip'
246 insertunorderedlist : {
247 title: 'Bullet List',
248 text: 'Start a bulleted list.',
249 cls: 'x-html-editor-tip'
251 insertorderedlist : {
252 title: 'Numbered List',
253 text: 'Start a numbered list.',
254 cls: 'x-html-editor-tip'
258 text: 'Make the selected text a hyperlink.',
259 cls: 'x-html-editor-tip'
262 title: 'Source Edit',
263 text: 'Switch to source editing mode.',
264 cls: 'x-html-editor-tip'
270 if(Ext.grid.GridView){
271 Ext.apply(Ext.grid.GridView.prototype, {
272 sortAscText : "Sort Ascending",
273 sortDescText : "Sort Descending",
274 lockText : "Lock Column",
275 unlockText : "Unlock Column",
276 columnsText : "Columns"
280 if(Ext.grid.GroupingView){
281 Ext.apply(Ext.grid.GroupingView.prototype, {
282 emptyGroupText : '(None)',
283 groupByText : 'Group By This Field',
284 showGroupsText : 'Show in Groups'
288 if(Ext.grid.PropertyColumnModel){
289 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
296 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
297 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
298 splitTip : "Drag to resize.",
299 collapsibleSplitTip : "Drag to resize. Double click to hide."