PageRenderTime 70ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/ext/classic/locale/overrides/he/ext-locale-he.js

https://gitlab.com/knax/extjs
JavaScript | 276 lines | 242 code | 27 blank | 7 comment | 3 complexity | fcefce86970bd081c7568977fcdfb7d9 MD5 | raw file
  1. /**
  2. * Hebrew Translations
  3. * By spartacus (from forums) 06-12-2007
  4. */
  5. Ext.onReady(function() {
  6. if (Ext.Date) {
  7. Ext.Date.monthNames = ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"];
  8. Ext.Date.getShortMonthName = function(month) {
  9. return Ext.Date.monthNames[month].substring(0, 3);
  10. };
  11. Ext.Date.monthNumbers = {
  12. Jan: 0,
  13. Feb: 1,
  14. Mar: 2,
  15. Apr: 3,
  16. May: 4,
  17. Jun: 5,
  18. Jul: 6,
  19. Aug: 7,
  20. Sep: 8,
  21. Oct: 9,
  22. Nov: 10,
  23. Dec: 11
  24. };
  25. Ext.Date.getMonthNumber = function(name) {
  26. return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
  27. };
  28. Ext.Date.dayNames = ["א", "ב", "ג", "ד", "ה", "ו", "ש"];
  29. Ext.Date.getShortDayName = function(day) {
  30. return Ext.Date.dayNames[day].substring(0, 3);
  31. };
  32. }
  33. if (Ext.util && Ext.util.Format) {
  34. Ext.apply(Ext.util.Format, {
  35. thousandSeparator: ',',
  36. decimalSeparator: '.',
  37. currencySign: '\u20aa',
  38. // Iraeli Shekel
  39. dateFormat: 'd/m/Y'
  40. });
  41. }
  42. });
  43. Ext.define("Ext.locale.he.view.View", {
  44. override: "Ext.view.View",
  45. emptyText: ""
  46. });
  47. Ext.define("Ext.locale.he.grid.plugin.DragDrop", {
  48. override: "Ext.grid.plugin.DragDrop",
  49. dragText: "שורות נבחרות {0}"
  50. });
  51. Ext.define("Ext.locale.he.tab.Tab", {
  52. override: "Ext.tab.Tab",
  53. closeText: "סגור לשונית"
  54. });
  55. Ext.define("Ext.locale.he.form.field.Base", {
  56. override: "Ext.form.field.Base",
  57. invalidText: "הערך בשדה זה שגוי"
  58. });
  59. // changing the msg text below will affect the LoadMask
  60. Ext.define("Ext.locale.he.view.AbstractView", {
  61. override: "Ext.view.AbstractView",
  62. loadingText: "...טוען"
  63. });
  64. Ext.define("Ext.locale.he.picker.Date", {
  65. override: "Ext.picker.Date",
  66. todayText: "היום",
  67. minText: ".תאריך זה חל קודם לתאריך ההתחלתי שנקבע",
  68. maxText: ".תאריך זה חל לאחר התאריך הסופי שנקבע",
  69. disabledDaysText: "",
  70. disabledDatesText: "",
  71. nextText: '(Control+Right) החודש הבא',
  72. prevText: '(Control+Left) החודש הקודם',
  73. monthYearText: '(לבחירת שנה Control+Up/Down) בחר חודש',
  74. todayTip: "מקש רווח) {0})",
  75. format: "d/m/Y",
  76. startDay: 0
  77. });
  78. Ext.define("Ext.locale.he.picker.Month", {
  79. override: "Ext.picker.Month",
  80. okText: " אישור ",
  81. cancelText: "ביטול"
  82. });
  83. Ext.define("Ext.locale.he.toolbar.Paging", {
  84. override: "Ext.PagingToolbar",
  85. beforePageText: "עמוד",
  86. afterPageText: "{0} מתוך",
  87. firstText: "עמוד ראשון",
  88. prevText: "עמוד קודם",
  89. nextText: "עמוד הבא",
  90. lastText: "עמוד אחרון",
  91. refreshText: "רענן",
  92. displayMsg: "מציג {0} - {1} מתוך {2}",
  93. emptyMsg: 'אין מידע להצגה'
  94. });
  95. Ext.define("Ext.locale.he.form.field.Text", {
  96. override: "Ext.form.field.Text",
  97. minLengthText: "{0} האורך המינימאלי לשדה זה הוא",
  98. maxLengthText: "{0} האורך המירבי לשדה זה הוא",
  99. blankText: "שדה זה הכרחי",
  100. regexText: "",
  101. emptyText: null
  102. });
  103. Ext.define("Ext.locale.he.form.field.Number", {
  104. override: "Ext.form.field.Number",
  105. minText: "{0} הערך המינימאלי לשדה זה הוא",
  106. maxText: "{0} הערך המירבי לשדה זה הוא",
  107. nanText: "הוא לא מספר {0}"
  108. });
  109. Ext.define("Ext.locale.he.form.field.Date", {
  110. override: "Ext.form.field.Date",
  111. disabledDaysText: "מנוטרל",
  112. disabledDatesText: "מנוטרל",
  113. minText: "{0} התאריך בשדה זה חייב להיות לאחר",
  114. maxText: "{0} התאריך בשדה זה חייב להיות לפני",
  115. invalidText: "{1} הוא לא תאריך תקני - חייב להיות בפורמט {0}",
  116. format: "m/d/y",
  117. altFormats: "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d"
  118. });
  119. Ext.define("Ext.locale.he.form.field.File", {
  120. override: "Ext.form.field.File",
  121. buttonText: "עיון ..."
  122. });
  123. Ext.define("Ext.locale.he.form.field.ComboBox", {
  124. override: "Ext.form.field.ComboBox",
  125. valueNotFoundText: undefined
  126. }, function() {
  127. Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
  128. loadingText: "...טוען"
  129. });
  130. });
  131. Ext.define("Ext.locale.he.form.field.VTypes", {
  132. override: "Ext.form.field.VTypes",
  133. emailText: '"user@example.com" שדה זה צריך להיות כתובת דואר אלקטרוני בפורמט',
  134. urlText: '"http:/' + '/www.example.com" שדה זה צריך להיות כתובת אינטרנט בפורמט',
  135. alphaText: '_שדה זה יכול להכיל רק אותיות ו',
  136. alphanumText: '_שדה זה יכול להכיל רק אותיות, מספרים ו'
  137. });
  138. Ext.define("Ext.locale.he.form.field.HtmlEditor", {
  139. override: "Ext.form.field.HtmlEditor",
  140. createLinkText: ':אנא הקלד את כתובת האינטרנט עבור הקישור'
  141. }, function() {
  142. Ext.apply(Ext.form.field.HtmlEditor.prototype, {
  143. buttonTips: {
  144. bold: {
  145. title: '(Ctrl+B) מודגש',
  146. text: '.הדגש את הטקסט הנבחר',
  147. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  148. },
  149. italic: {
  150. title: '(Ctrl+I) נטוי',
  151. text: '.הטה את הטקסט הנבחר',
  152. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  153. },
  154. underline: {
  155. title: '(Ctrl+U) קו תחתי',
  156. text: '.הוסף קן תחתי עבור הטקסט הנבחר',
  157. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  158. },
  159. increasefontsize: {
  160. title: 'הגדל טקסט',
  161. text: '.הגדל גופן עבור הטקסט הנבחר',
  162. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  163. },
  164. decreasefontsize: {
  165. title: 'הקטן טקסט',
  166. text: '.הקטן גופן עבור הטקסט הנבחר',
  167. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  168. },
  169. backcolor: {
  170. title: 'צבע רקע לטקסט',
  171. text: '.שנה את צבע הרקע עבור הטקסט הנבחר',
  172. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  173. },
  174. forecolor: {
  175. title: 'צבע גופן',
  176. text: '.שנה את צבע הגופן עבור הטקסט הנבחר',
  177. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  178. },
  179. justifyleft: {
  180. title: 'ישור לשמאל',
  181. text: '.ישר שמאלה את הטקסט הנבחר',
  182. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  183. },
  184. justifycenter: {
  185. title: 'ישור למרכז',
  186. text: '.ישר למרכז את הטקסט הנבחר',
  187. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  188. },
  189. justifyright: {
  190. title: 'ישור לימין',
  191. text: '.ישר ימינה את הטקסט הנבחר',
  192. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  193. },
  194. insertunorderedlist: {
  195. title: 'רשימת נקודות',
  196. text: '.התחל רשימת נקודות',
  197. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  198. },
  199. insertorderedlist: {
  200. title: 'רשימה ממוספרת',
  201. text: '.התחל רשימה ממוספרת',
  202. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  203. },
  204. createlink: {
  205. title: 'קישור',
  206. text: '.הפוך את הטקסט הנבחר לקישור',
  207. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  208. },
  209. sourceedit: {
  210. title: 'עריכת קוד מקור',
  211. text: '.הצג קוד מקור',
  212. cls: Ext.baseCSSPrefix + 'html-editor-tip'
  213. }
  214. }
  215. });
  216. });
  217. Ext.define("Ext.locale.he.grid.header.Container", {
  218. override: "Ext.grid.header.Container",
  219. sortAscText: "מיין בסדר עולה",
  220. sortDescText: "מיין בסדר יורד",
  221. lockText: "נעל עמודה",
  222. unlockText: "שחרר עמודה",
  223. columnsText: "עמודות"
  224. });
  225. Ext.define("Ext.locale.he.grid.GroupingFeature", {
  226. override: "Ext.grid.feature.Grouping",
  227. emptyGroupText: '(ריק)',
  228. groupByText: 'הצג בקבוצות לפי שדה זה',
  229. showGroupsText: 'הצג בקבוצות'
  230. });
  231. Ext.define("Ext.locale.he.grid.PropertyColumnModel", {
  232. override: "Ext.grid.PropertyColumnModel",
  233. nameText: "שם",
  234. valueText: "ערך",
  235. dateFormat: "m/j/Y"
  236. });
  237. Ext.define("Ext.locale.he.window.MessageBox", {
  238. override: "Ext.window.MessageBox",
  239. buttonText: {
  240. ok: "אישור",
  241. cancel: "ביטול",
  242. yes: "כן",
  243. no: "לא"
  244. }
  245. });
  246. // This is needed until we can refactor all of the locales into individual files
  247. Ext.define("Ext.locale.he.Component", {
  248. override: "Ext.Component"
  249. });