ext-lang-en_UK.js 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /**
  2. * List compiled by mystix on the extjs.com forums. Thank you Mystix!
  3. *
  4. * English (UK) Translations
  5. */
  6. Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
  7. if (Ext.View) {
  8. Ext.View.prototype.emptyText = "";
  9. }
  10. if (Ext.grid.Grid) {
  11. Ext.grid.Grid.prototype.ddText = "{0} selected row(s)";
  12. }
  13. if (Ext.TabPanelItem) {
  14. Ext.TabPanelItem.prototype.closeText = "Close this tab";
  15. }
  16. if (Ext.form.Field) {
  17. Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
  18. }
  19. if (Ext.LoadMask) {
  20. Ext.LoadMask.prototype.msg = "Loading...";
  21. }
  22. Date.monthNames = ["January", "February", "March", "April", "May", "June",
  23. "July", "August", "September", "October", "November", "December"];
  24. Date.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
  25. "Friday", "Saturday"];
  26. if (Ext.MessageBox) {
  27. Ext.MessageBox.buttonText = {
  28. ok : "OK",
  29. cancel : "Cancel",
  30. yes : "Yes",
  31. no : "No"
  32. };
  33. }
  34. if (Ext.util.Format) {
  35. Ext.util.Format.date = function(v, format) {
  36. if (!v)
  37. return "";
  38. if (!(v instanceof Date))
  39. v = new Date(Date.parse(v));
  40. return v.dateFormat(format || "d/m/Y");
  41. };
  42. }
  43. if (Ext.DatePicker) {
  44. Ext.apply(Ext.DatePicker.prototype, {
  45. todayText : "Today",
  46. minText : "This date is before the minimum date",
  47. maxText : "This date is after the maximum date",
  48. disabledDaysText : "",
  49. disabledDatesText : "",
  50. monthNames : Date.monthNames,
  51. dayNames : Date.dayNames,
  52. nextText : 'Next Month (Control+Right)',
  53. prevText : 'Previous Month (Control+Left)',
  54. monthYearText : 'Choose a month (Control+Up/Down to move years)',
  55. todayTip : "{0} (Spacebar)",
  56. format : "d/m/y"
  57. });
  58. }
  59. if (Ext.PagingToolbar) {
  60. Ext.apply(Ext.PagingToolbar.prototype, {
  61. beforePageText : "Page",
  62. afterPageText : "of {0}",
  63. firstText : "First Page",
  64. prevText : "Previous Page",
  65. nextText : "Next Page",
  66. lastText : "Last Page",
  67. refreshText : "Refresh",
  68. displayMsg : "Displaying {0} - {1} of {2}",
  69. emptyMsg : 'No data to display'
  70. });
  71. }
  72. if (Ext.form.TextField) {
  73. Ext.apply(Ext.form.TextField.prototype, {
  74. minLengthText : "The minimum length for this field is {0}",
  75. maxLengthText : "The maximum length for this field is {0}",
  76. blankText : "This field is required",
  77. regexText : "",
  78. emptyText : null
  79. });
  80. }
  81. if (Ext.form.NumberField) {
  82. Ext.apply(Ext.form.NumberField.prototype, {
  83. minText : "The minimum value for this field is {0}",
  84. maxText : "The maximum value for this field is {0}",
  85. nanText : "{0} is not a valid number"
  86. });
  87. }
  88. if (Ext.form.DateField) {
  89. Ext.apply(Ext.form.DateField.prototype, {
  90. disabledDaysText : "Disabled",
  91. disabledDatesText : "Disabled",
  92. minText : "The date in this field must be after {0}",
  93. maxText : "The date in this field must be before {0}",
  94. invalidText : "{0} is not a valid date - it must be in the format {1}",
  95. format : "d/m/y",
  96. altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
  97. });
  98. }
  99. if (Ext.form.ComboBox) {
  100. Ext.apply(Ext.form.ComboBox.prototype, {
  101. loadingText : "Loading...",
  102. valueNotFoundText : undefined
  103. });
  104. }
  105. if (Ext.form.VTypes) {
  106. Ext.apply(Ext.form.VTypes, {
  107. emailText : 'This field should be an e-mail address in the format "user@domain.com"',
  108. urlText : 'This field should be a URL in the format "http:/'
  109. + '/www.domain.com"',
  110. alphaText : 'This field should only contain letters and _',
  111. alphanumText : 'This field should only contain letters, numbers and _'
  112. });
  113. }
  114. if (Ext.grid.GridView) {
  115. Ext.apply(Ext.grid.GridView.prototype, {
  116. sortAscText : "Sort Ascending",
  117. sortDescText : "Sort Descending",
  118. lockText : "Lock Column",
  119. unlockText : "Unlock Column",
  120. columnsText : "Columns"
  121. });
  122. }
  123. if (Ext.grid.PropertyColumnModel) {
  124. Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
  125. nameText : "Name",
  126. valueText : "Value",
  127. dateFormat : "j/m/Y"
  128. });
  129. }
  130. if (Ext.layout.BorderLayout.SplitRegion) {
  131. Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
  132. splitTip : "Drag to resize.",
  133. collapsibleSplitTip : "Drag to resize. Double click to hide."
  134. });
  135. }