Administrator
2023-04-21 195945efc5db921a4c9eb8cf9421c172273293f5
提交 | 用户 | 时间
58d006 1 /**
A 2  * jqGrid Hebrew Translation
3  * Shuki Shukrun shukrun.shuki@gmail.com
4  * http://trirand.com/blog/ 
5  * Dual licensed under the MIT and GPL licenses:
6  * http://www.opensource.org/licenses/mit-license.php
7  * http://www.gnu.org/licenses/gpl.html
8 **/
9 /*global jQuery, define */
10 (function( factory ) {
11     "use strict";
12     if ( typeof define === "function" && define.amd ) {
13         // AMD. Register as an anonymous module.
14         define([
15             "jquery",
16             "../grid.base"
17         ], factory );
18     } else {
19         // Browser globals
20         factory( jQuery );
21     }
22 }(function( $ ) {
23
24 $.jgrid = $.jgrid || {};
25 if(!$.jgrid.hasOwnProperty("regional")) {
26     $.jgrid.regional = [];
27 }
28 $.jgrid.regional["he"] = {
29     defaults : {
30         recordtext: "מציג {0} - {1} מתוך {2}",
31         emptyrecords: "אין רשומות להציג",
32         loadtext: "טוען...",
33         pgtext : "דף {0} מתוך {1}",
34         savetext: "Saving...",
35         pgfirst : "First Page",
36         pglast : "Last Page",
37         pgnext : "Next Page",
38         pgprev : "Previous Page",
39         pgrecs : "Records per Page",
40         showhide: "Toggle Expand Collapse Grid",
41         // mobile
42         pagerCaption : "Grid::Page Settings",
43         pageText : "Page:",
44         recordPage : "Records per Page",
45         nomorerecs : "No more records...",
46         scrollPullup: "Pull up to load more...",
47         scrollPulldown : "Pull down to refresh...",
48         scrollRefresh : "Release to refresh..."
49     },
50     search : {
51         caption: "מחפש...",
52         Find: "חפש",
53         Reset: "התחל",
54         odata: [{ oper:'eq', text:"שווה"},{ oper:'ne', text:"לא שווה"},{ oper:'lt', text:"קטן"},{ oper:'le', text:"קטן או שווה"},{ oper:'gt', text:"גדול"},{ oper:'ge', text:"גדול או שווה"},{ oper:'bw', text:"מתחיל ב"},{ oper:'bn', text:"לא מתחיל ב"},{ oper:'in', text:"נמצא ב"},{ oper:'ni', text:"לא נמצא ב"},{ oper:'ew', text:"מסתיים ב"},{ oper:'en', text:"לא מסתיים ב"},{ oper:'cn', text:"מכיל"},{ oper:'nc', text:"לא מכיל"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
55         groupOps: [    { op: "AND", text: "הכל" },    { op: "OR",  text: "אחד מ" }],
56         operandTitle : "Click to select search operation.",
57         resetTitle : "Reset Search Value"
58     },
59     edit : {
60         addCaption: "הוסף רשומה",
61         editCaption: "ערוך רשומה",
62         bSubmit: "שלח",
63         bCancel: "בטל",
64         bClose: "סגור",
65         saveData: "נתונים השתנו! לשמור?",
66         bYes : "כן",
67         bNo : "לא",
68         bExit : "בטל",
69         msg: {
70             required:"שדה חובה",
71             number:"אנא, הכנס מספר תקין",
72             minValue:"ערך צריך להיות גדול או שווה ל ",
73             maxValue:"ערך צריך להיות קטן או שווה ל ",
74             email: "היא לא כתובת איימל תקינה",
75             integer: "אנא, הכנס מספר שלם",
76             date: "אנא, הכנס תאריך תקין",
77             url: "הכתובת אינה תקינה. דרושה תחילית ('http://' או 'https://')",
78             nodefined : " is not defined!",
79             novalue : " return value is required!",
80             customarray : "Custom function should return array!",
81             customfcheck : "Custom function should be present in case of custom checking!"
82         }
83     },
84     view : {
85         caption: "הצג רשומה",
86         bClose: "סגור"
87     },
88     del : {
89         caption: "מחק",
90         msg: "האם למחוק את הרשומה/ות המסומנות?",
91         bSubmit: "מחק",
92         bCancel: "בטל"
93     },
94     nav : {
95         edittext: "",
96         edittitle: "ערוך שורה מסומנת",
97         addtext:"",
98         addtitle: "הוסף שורה חדשה",
99         deltext: "",
100         deltitle: "מחק שורה מסומנת",
101         searchtext: "",
102         searchtitle: "חפש רשומות",
103         refreshtext: "",
104         refreshtitle: "טען גריד מחדש",
105         alertcap: "אזהרה",
106         alerttext: "אנא, בחר שורה",
107         viewtext: "",
108         viewtitle: "הצג שורה מסומנת",
109         savetext: "",
110         savetitle: "Save row",
111         canceltext: "",
112         canceltitle : "Cancel row editing",
113         selectcaption : "Actions..."
114     },
115     col : {
116         caption: "הצג/הסתר עמודות",
117         bSubmit: "שלח",
118         bCancel: "בטל"
119     },
120     errors : {
121         errcap : "שגיאה",
122         nourl : "לא הוגדרה כתובת url",
123         norecords: "אין רשומות לעבד",
124         model : "אורך של colNames <> colModel!"
125     },
126     formatter : {
127         integer : {thousandsSeparator: " ", defaultValue: '0'},
128         number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
129         currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
130         date : {
131             dayNames:   [
132                 "א", "ב", "ג", "ד", "ה", "ו", "ש",
133                 "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"
134             ],
135             monthNames: [
136                 "ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ",
137                 "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"
138             ],
139             AmPm : ["לפני הצהרים","אחר הצהרים","לפני הצהרים","אחר הצהרים"],
140             S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
141             srcformat: 'Y-m-d',
142             newformat: 'd/m/Y',
143             parseRe : /[#%\\\/:_;.,\t\s-]/,
144             masks : {
145                 ISO8601Long:"Y-m-d H:i:s",
146                 ISO8601Short:"Y-m-d",
147                 ShortDate: "n/j/Y",
148                 LongDate: "l, F d, Y",
149                 FullDateTime: "l, F d, Y g:i:s A",
150                 MonthDay: "F d",
151                 ShortTime: "g:i A",
152                 LongTime: "g:i:s A",
153                 SortableDateTime: "Y-m-d\\TH:i:s",
154                 UniversalSortableDateTime: "Y-m-d H:i:sO",
155                 YearMonth: "F, Y"
156             },
157             reformatAfterEdit : false,
158             userLocalTime : false
159         },
160         baseLinkUrl: '',
161         showAction: '',
162         target: '',
163         checkbox : {disabled:true},
164         idName : 'id'
165     }
166 };
167 }));