locale-he-debug.js 9.5 KB

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