PageRenderTime 50ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/src/jsfb-built/js-file-browser-0.1/src/locale/ext-lang-en.js

https://github.com/limscoder/js-file-browser
JavaScript | 355 lines | 299 code | 34 blank | 22 comment | 31 complexity | c89e7ff9936d7593b96a84ac94b62c53 MD5 | raw file
  1. /*!
  2. * js-file-browser
  3. * Copyright(c) 2011 Biotechnology Computing Facility, University of Arizona. See included LICENSE.txt file.
  4. *
  5. * With components from: Ext JS Library 3.3.1
  6. * Copyright(c) 2006-2010 Sencha Inc.
  7. * licensing@sencha.com
  8. * http://www.sencha.com/license
  9. */
  10. /*!
  11. * Ext JS Library 3.3.1
  12. * Copyright(c) 2006-2010 Sencha Inc.
  13. * licensing@sencha.com
  14. * http://www.sencha.com/license
  15. */
  16. /**
  17. * List compiled by mystix on the extjs.com forums.
  18. * Thank you Mystix!
  19. *
  20. * English Translations
  21. * updated to 2.2 by Condor (8 Aug 2008)
  22. */
  23. Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
  24. if(Ext.data.Types){
  25. Ext.data.Types.stripRe = /[\$,%]/g;
  26. }
  27. if(Ext.DataView){
  28. Ext.DataView.prototype.emptyText = "";
  29. }
  30. if(Ext.grid.GridPanel){
  31. Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
  32. }
  33. if(Ext.LoadMask){
  34. Ext.LoadMask.prototype.msg = "Loading...";
  35. }
  36. Date.monthNames = [
  37. "January",
  38. "February",
  39. "March",
  40. "April",
  41. "May",
  42. "June",
  43. "July",
  44. "August",
  45. "September",
  46. "October",
  47. "November",
  48. "December"
  49. ];
  50. Date.getShortMonthName = function(month) {
  51. return Date.monthNames[month].substring(0, 3);
  52. };
  53. Date.monthNumbers = {
  54. Jan : 0,
  55. Feb : 1,
  56. Mar : 2,
  57. Apr : 3,
  58. May : 4,
  59. Jun : 5,
  60. Jul : 6,
  61. Aug : 7,
  62. Sep : 8,
  63. Oct : 9,
  64. Nov : 10,
  65. Dec : 11
  66. };
  67. Date.getMonthNumber = function(name) {
  68. return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  69. };
  70. Date.dayNames = [
  71. "Sunday",
  72. "Monday",
  73. "Tuesday",
  74. "Wednesday",
  75. "Thursday",
  76. "Friday",
  77. "Saturday"
  78. ];
  79. Date.getShortDayName = function(day) {
  80. return Date.dayNames[day].substring(0, 3);
  81. };
  82. Date.parseCodes.S.s = "(?:st|nd|rd|th)";
  83. if(Ext.MessageBox){
  84. Ext.MessageBox.buttonText = {
  85. ok : "OK",
  86. cancel : "Cancel",
  87. yes : "Yes",
  88. no : "No"
  89. };
  90. }
  91. if(Ext.util.Format){
  92. Ext.util.Format.date = function(v, format){
  93. if(!v) return "";
  94. if(!(v instanceof Date)) v = new Date(Date.parse(v));
  95. return v.dateFormat(format || "m/d/Y");
  96. };
  97. }
  98. if(Ext.DatePicker){
  99. Ext.apply(Ext.DatePicker.prototype, {
  100. todayText : "Today",
  101. minText : "This date is before the minimum date",
  102. maxText : "This date is after the maximum date",
  103. disabledDaysText : "",
  104. disabledDatesText : "",
  105. monthNames : Date.monthNames,
  106. dayNames : Date.dayNames,
  107. nextText : 'Next Month (Control+Right)',
  108. prevText : 'Previous Month (Control+Left)',
  109. monthYearText : 'Choose a month (Control+Up/Down to move years)',
  110. todayTip : "{0} (Spacebar)",
  111. format : "m/d/y",
  112. okText : "&#160;OK&#160;",
  113. cancelText : "Cancel",
  114. startDay : 0
  115. });
  116. }
  117. if(Ext.PagingToolbar){
  118. Ext.apply(Ext.PagingToolbar.prototype, {
  119. beforePageText : "Page",
  120. afterPageText : "of {0}",
  121. firstText : "First Page",
  122. prevText : "Previous Page",
  123. nextText : "Next Page",
  124. lastText : "Last Page",
  125. refreshText : "Refresh",
  126. displayMsg : "Displaying {0} - {1} of {2}",
  127. emptyMsg : 'No data to display'
  128. });
  129. }
  130. if(Ext.form.BasicForm){
  131. Ext.form.BasicForm.prototype.waitTitle = "Please Wait..."
  132. }
  133. if(Ext.form.Field){
  134. Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
  135. }
  136. if(Ext.form.TextField){
  137. Ext.apply(Ext.form.TextField.prototype, {
  138. minLengthText : "The minimum length for this field is {0}",
  139. maxLengthText : "The maximum length for this field is {0}",
  140. blankText : "This field is required",
  141. regexText : "",
  142. emptyText : null
  143. });
  144. }
  145. if(Ext.form.NumberField){
  146. Ext.apply(Ext.form.NumberField.prototype, {
  147. decimalSeparator : ".",
  148. decimalPrecision : 2,
  149. minText : "The minimum value for this field is {0}",
  150. maxText : "The maximum value for this field is {0}",
  151. nanText : "{0} is not a valid number"
  152. });
  153. }
  154. if(Ext.form.DateField){
  155. Ext.apply(Ext.form.DateField.prototype, {
  156. disabledDaysText : "Disabled",
  157. disabledDatesText : "Disabled",
  158. minText : "The date in this field must be after {0}",
  159. maxText : "The date in this field must be before {0}",
  160. invalidText : "{0} is not a valid date - it must be in the format {1}",
  161. format : "m/d/y",
  162. altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d",
  163. startDay : 0
  164. });
  165. }
  166. if(Ext.form.ComboBox){
  167. Ext.apply(Ext.form.ComboBox.prototype, {
  168. loadingText : "Loading...",
  169. valueNotFoundText : undefined
  170. });
  171. }
  172. if(Ext.form.VTypes){
  173. Ext.apply(Ext.form.VTypes, {
  174. emailText : 'This field should be an e-mail address in the format "user@example.com"',
  175. urlText : 'This field should be a URL in the format "http:/'+'/www.example.com"',
  176. alphaText : 'This field should only contain letters and _',
  177. alphanumText : 'This field should only contain letters, numbers and _'
  178. });
  179. }
  180. if(Ext.form.HtmlEditor){
  181. Ext.apply(Ext.form.HtmlEditor.prototype, {
  182. createLinkText : 'Please enter the URL for the link:',
  183. buttonTips : {
  184. bold : {
  185. title: 'Bold (Ctrl+B)',
  186. text: 'Make the selected text bold.',
  187. cls: 'x-html-editor-tip'
  188. },
  189. italic : {
  190. title: 'Italic (Ctrl+I)',
  191. text: 'Make the selected text italic.',
  192. cls: 'x-html-editor-tip'
  193. },
  194. underline : {
  195. title: 'Underline (Ctrl+U)',
  196. text: 'Underline the selected text.',
  197. cls: 'x-html-editor-tip'
  198. },
  199. increasefontsize : {
  200. title: 'Grow Text',
  201. text: 'Increase the font size.',
  202. cls: 'x-html-editor-tip'
  203. },
  204. decreasefontsize : {
  205. title: 'Shrink Text',
  206. text: 'Decrease the font size.',
  207. cls: 'x-html-editor-tip'
  208. },
  209. backcolor : {
  210. title: 'Text Highlight Color',
  211. text: 'Change the background color of the selected text.',
  212. cls: 'x-html-editor-tip'
  213. },
  214. forecolor : {
  215. title: 'Font Color',
  216. text: 'Change the color of the selected text.',
  217. cls: 'x-html-editor-tip'
  218. },
  219. justifyleft : {
  220. title: 'Align Text Left',
  221. text: 'Align text to the left.',
  222. cls: 'x-html-editor-tip'
  223. },
  224. justifycenter : {
  225. title: 'Center Text',
  226. text: 'Center text in the editor.',
  227. cls: 'x-html-editor-tip'
  228. },
  229. justifyright : {
  230. title: 'Align Text Right',
  231. text: 'Align text to the right.',
  232. cls: 'x-html-editor-tip'
  233. },
  234. insertunorderedlist : {
  235. title: 'Bullet List',
  236. text: 'Start a bulleted list.',
  237. cls: 'x-html-editor-tip'
  238. },
  239. insertorderedlist : {
  240. title: 'Numbered List',
  241. text: 'Start a numbered list.',
  242. cls: 'x-html-editor-tip'
  243. },
  244. createlink : {
  245. title: 'Hyperlink',
  246. text: 'Make the selected text a hyperlink.',
  247. cls: 'x-html-editor-tip'
  248. },
  249. sourceedit : {
  250. title: 'Source Edit',
  251. text: 'Switch to source editing mode.',
  252. cls: 'x-html-editor-tip'
  253. }
  254. }
  255. });
  256. }
  257. if(Ext.grid.GridView){
  258. Ext.apply(Ext.grid.GridView.prototype, {
  259. sortAscText : "Sort Ascending",
  260. sortDescText : "Sort Descending",
  261. columnsText : "Columns"
  262. });
  263. }
  264. if(Ext.grid.GroupingView){
  265. Ext.apply(Ext.grid.GroupingView.prototype, {
  266. emptyGroupText : '(None)',
  267. groupByText : 'Group By This Field',
  268. showGroupsText : 'Show in Groups'
  269. });
  270. }
  271. if(Ext.grid.PropertyColumnModel){
  272. Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
  273. nameText : "Name",
  274. valueText : "Value",
  275. dateFormat : "m/j/Y",
  276. trueText: "true",
  277. falseText: "false"
  278. });
  279. }
  280. if(Ext.grid.BooleanColumn){
  281. Ext.apply(Ext.grid.BooleanColumn.prototype, {
  282. trueText : "true",
  283. falseText : "false",
  284. undefinedText: '&#160;'
  285. });
  286. }
  287. if(Ext.grid.NumberColumn){
  288. Ext.apply(Ext.grid.NumberColumn.prototype, {
  289. format : '0,000.00'
  290. });
  291. }
  292. if(Ext.grid.DateColumn){
  293. Ext.apply(Ext.grid.DateColumn.prototype, {
  294. format : 'm/d/Y'
  295. });
  296. }
  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."
  301. });
  302. }
  303. if(Ext.form.TimeField){
  304. Ext.apply(Ext.form.TimeField.prototype, {
  305. minText : "The time in this field must be equal to or after {0}",
  306. maxText : "The time in this field must be equal to or before {0}",
  307. invalidText : "{0} is not a valid time",
  308. format : "g:i A",
  309. altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
  310. });
  311. }
  312. if(Ext.form.CheckboxGroup){
  313. Ext.apply(Ext.form.CheckboxGroup.prototype, {
  314. blankText : "You must select at least one item in this group"
  315. });
  316. }
  317. if(Ext.form.RadioGroup){
  318. Ext.apply(Ext.form.RadioGroup.prototype, {
  319. blankText : "You must select one item in this group"
  320. });
  321. }