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