1 | ;(function($){
|
---|
2 | /**
|
---|
3 | * jqGrid Hebrew Translation
|
---|
4 | * Shuki Shukrun shukrun.shuki@gmail.com
|
---|
5 | * http://trirand.com/blog/
|
---|
6 | * Dual licensed under the MIT and GPL licenses:
|
---|
7 | * http://www.opensource.org/licenses/mit-license.php
|
---|
8 | * http://www.gnu.org/licenses/gpl.html
|
---|
9 | **/
|
---|
10 | $.jgrid = $.jgrid || {};
|
---|
11 | $.extend($.jgrid,{
|
---|
12 | defaults : {
|
---|
13 | recordtext: "×׊×× {0} - {1} ×ת×× {2}",
|
---|
14 | emptyrecords: "××× ×š×©×××ת ××׊××",
|
---|
15 | loadtext: "×××¢×...",
|
---|
16 | pgtext : "××£ {0} ×ת×× {1}"
|
---|
17 | },
|
---|
18 | search : {
|
---|
19 | caption: "××׀ש...",
|
---|
20 | Find: "×׀ש",
|
---|
21 | Reset: "×ת××",
|
---|
22 | 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:"×× ××××"}],
|
---|
23 | groupOps: [ { op: "AND", text: "×××" }, { op: "OR", text: "××× ×" } ]
|
---|
24 | },
|
---|
25 | edit : {
|
---|
26 | addCaption: "××סף ךש×××",
|
---|
27 | editCaption: "עך×× ×š×©×××",
|
---|
28 | bSubmit: "ש××",
|
---|
29 | bCancel: "×××",
|
---|
30 | bClose: "ס××ך",
|
---|
31 | saveData: "× ×ª×× ×× ××©×ª× ×! ×ש××ך?",
|
---|
32 | bYes : "××",
|
---|
33 | bNo : "××",
|
---|
34 | bExit : "×××",
|
---|
35 | msg: {
|
---|
36 | required:"ש×× ××××",
|
---|
37 | number:"×× ×, ××× ×¡ ×ס׀ך תק××",
|
---|
38 | minValue:"×¢×š× ×Š×š×× ××××ת ×××× ×× ×©××× × ",
|
---|
39 | maxValue:"×¢×š× ×Š×š×× ××××ת ×§×× ×× ×©××× × ",
|
---|
40 | email: "××× ×× ×ת××ת ××××× ×ª×§×× ×",
|
---|
41 | integer: "×× ×, ××× ×¡ ×ס׀ך ש××",
|
---|
42 | date: "×× ×, ××× ×¡ ת×ך×× ×ª×§××",
|
---|
43 | url: "××ת××ת ××× × ×ª×§×× ×. ×ך××©× ×ª××××ת ('http://' ×× 'https://')",
|
---|
44 | nodefined : " is not defined!",
|
---|
45 | novalue : " return value is required!",
|
---|
46 | customarray : "Custom function should return array!",
|
---|
47 | customfcheck : "Custom function should be present in case of custom checking!"
|
---|
48 | }
|
---|
49 | },
|
---|
50 | view : {
|
---|
51 | caption: "××Š× ×š×©×××",
|
---|
52 | bClose: "ס××ך"
|
---|
53 | },
|
---|
54 | del : {
|
---|
55 | caption: "×××§",
|
---|
56 | msg: "××× ×××××§ ×ת ×ךש×××/×ת ××ס××× ×ת?",
|
---|
57 | bSubmit: "×××§",
|
---|
58 | bCancel: "×××"
|
---|
59 | },
|
---|
60 | nav : {
|
---|
61 | edittext: "",
|
---|
62 | edittitle: "עך×× ×©××š× ×ס××× ×ª",
|
---|
63 | addtext:"",
|
---|
64 | addtitle: "××סף ש××š× ××ש×",
|
---|
65 | deltext: "",
|
---|
66 | deltitle: "×××§ ש××š× ×ס××× ×ª",
|
---|
67 | searchtext: "",
|
---|
68 | searchtitle: "×׀ש ךש×××ת",
|
---|
69 | refreshtext: "",
|
---|
70 | refreshtitle: "××¢× ×ך×× ×××ש",
|
---|
71 | alertcap: "×××ך×",
|
---|
72 | alerttext: "×× ×, ××ך ש×ך×",
|
---|
73 | viewtext: "",
|
---|
74 | viewtitle: "××Š× ×©××š× ×ס××× ×ª"
|
---|
75 | },
|
---|
76 | col : {
|
---|
77 | caption: "×׊×/×סתך ×¢××××ת",
|
---|
78 | bSubmit: "ש××",
|
---|
79 | bCancel: "×××"
|
---|
80 | },
|
---|
81 | errors : {
|
---|
82 | errcap : "ש××××",
|
---|
83 | nourl : "×× ×××××š× ×ת××ת url",
|
---|
84 | norecords: "××× ×š×©×××ת ××¢××",
|
---|
85 | model : "×××š× ×©× colNames <> colModel!"
|
---|
86 | },
|
---|
87 | formatter : {
|
---|
88 | integer : {thousandsSeparator: " ", defaultValue: '0'},
|
---|
89 | number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
---|
90 | currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
|
---|
91 | date : {
|
---|
92 | dayNames: [
|
---|
93 | "×", "×", "×", "×", "×", "×", "ש",
|
---|
94 | "ך×ש××", "×©× ×", "ש××ש×", "ך×××¢×", "×××ש×", "ש×ש×", "ש×ת"
|
---|
95 | ],
|
---|
96 | monthNames: [
|
---|
97 | "×× ×", "×€×ך", "×ךץ", "×׀ך", "×××", "××× ", "×××", "×××", "ס׀×", "×××§", "× ××", "×׊×",
|
---|
98 | "×× ××ך", "×€×ך××ך", "×ךץ", "×׀ך××", "×××", "××× ×", "××××", "××××ס×", "ס׀×××ך", "×××§×××ך", "× ××××ך", "×׊××ך"
|
---|
99 | ],
|
---|
100 | AmPm : ["××€× × ×׊×ך××","××ך ×׊×ך××","××€× × ×׊×ך××","××ך ×׊×ך××"],
|
---|
101 | S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
|
---|
102 | srcformat: 'Y-m-d',
|
---|
103 | newformat: 'd/m/Y',
|
---|
104 | parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
---|
105 | masks : {
|
---|
106 | ISO8601Long:"Y-m-d H:i:s",
|
---|
107 | ISO8601Short:"Y-m-d",
|
---|
108 | ShortDate: "n/j/Y",
|
---|
109 | LongDate: "l, F d, Y",
|
---|
110 | FullDateTime: "l, F d, Y g:i:s A",
|
---|
111 | MonthDay: "F d",
|
---|
112 | ShortTime: "g:i A",
|
---|
113 | LongTime: "g:i:s A",
|
---|
114 | SortableDateTime: "Y-m-d\\TH:i:s",
|
---|
115 | UniversalSortableDateTime: "Y-m-d H:i:sO",
|
---|
116 | YearMonth: "F, Y"
|
---|
117 | },
|
---|
118 | reformatAfterEdit : false
|
---|
119 | },
|
---|
120 | baseLinkUrl: '',
|
---|
121 | showAction: '',
|
---|
122 | target: '',
|
---|
123 | checkbox : {disabled:true},
|
---|
124 | idName : 'id'
|
---|
125 | }
|
---|
126 | });
|
---|
127 | })(jQuery);
|
---|