jqgrid-jquery-rails 4.5.400 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/jqgrid-jquery-rails/version.rb +2 -2
- data/spec/features/asset_pipeline_spec.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +41 -39
- data/vendor/assets/javascripts/i18n/grid.locale-dk.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +146 -144
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +131 -129
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +164 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +164 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +170 -168
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +6 -3
- data/vendor/assets/javascripts/i18n/grid.locale-kr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +4 -2
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +66 -64
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-tw.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-vi.js +5 -3
- data/vendor/assets/javascripts/jquery.jqGrid.js +1109 -536
- data/vendor/assets/stylesheets/ui.jqgrid.css +17 -8
- metadata +2 -2
@@ -1,162 +1,164 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Croatian Translation (charset windows-1250)
|
4
|
-
* Version 1.0.1 (developed for jQuery Grid 4.4)
|
5
|
-
* msajko@gmail.com
|
6
|
-
*
|
7
|
-
* Dual licensed under the MIT and GPL licenses:
|
8
|
-
* http://www.opensource.org/licenses/mit-license.php
|
9
|
-
* http://www.gnu.org/licenses/gpl.html
|
10
|
-
**/
|
11
|
-
$.jgrid = $.jgrid || {};
|
12
|
-
$.extend($.jgrid,{
|
13
|
-
defaults : {
|
14
|
-
recordtext: "Pregled {0} - {1} od {2}",
|
15
|
-
emptyrecords: "Nema zapisa",
|
16
|
-
loadtext: "U�itavam...",
|
17
|
-
pgtext : "Stranica {0} od {1}"
|
18
|
-
},
|
19
|
-
search : {
|
20
|
-
caption: "Tra�i...",
|
21
|
-
Find: "Pretra�ivanje",
|
22
|
-
Reset: "Poni�ti",
|
23
|
-
odata : [{ oper:'eq', text:'jednak'}, { oper:'ne', text:'nije identi�an'}, { oper:'lt', text:'manje'}, { oper:'le', text:'manje ili identi�no'},{ oper:'gt', text:'ve�e'},{ oper:'ge', text:'ve�e ili identi�no'}, { oper:'bw', text:'po�inje sa'},{ oper:'bn', text:'ne po�inje sa '},{ oper:'in', text:'je u'},{ oper:'ni', text:'nije u'},{ oper:'ew', text:'zavr�ava sa'},{ oper:'en', text:'ne zavr�ava sa'},{ oper:'cn', text:'sadr�i'},{ oper:'nc', text:'ne sadr�i'}],
|
24
|
-
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ]
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
//
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
//
|
116
|
-
//
|
117
|
-
|
118
|
-
//
|
119
|
-
//
|
120
|
-
//
|
121
|
-
//
|
122
|
-
//
|
123
|
-
|
124
|
-
//
|
125
|
-
|
126
|
-
//
|
127
|
-
//
|
128
|
-
//
|
129
|
-
//
|
130
|
-
//
|
131
|
-
//
|
132
|
-
|
133
|
-
//
|
134
|
-
//
|
135
|
-
//
|
136
|
-
|
137
|
-
//
|
138
|
-
|
139
|
-
//
|
140
|
-
|
141
|
-
//
|
142
|
-
|
143
|
-
//
|
144
|
-
//
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
//
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
}
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Croatian Translation (charset windows-1250)
|
4
|
+
* Version 1.0.1 (developed for jQuery Grid 4.4)
|
5
|
+
* msajko@gmail.com
|
6
|
+
*
|
7
|
+
* Dual licensed under the MIT and GPL licenses:
|
8
|
+
* http://www.opensource.org/licenses/mit-license.php
|
9
|
+
* http://www.gnu.org/licenses/gpl.html
|
10
|
+
**/
|
11
|
+
$.jgrid = $.jgrid || {};
|
12
|
+
$.extend($.jgrid,{
|
13
|
+
defaults : {
|
14
|
+
recordtext: "Pregled {0} - {1} od {2}",
|
15
|
+
emptyrecords: "Nema zapisa",
|
16
|
+
loadtext: "U�itavam...",
|
17
|
+
pgtext : "Stranica {0} od {1}"
|
18
|
+
},
|
19
|
+
search : {
|
20
|
+
caption: "Tra�i...",
|
21
|
+
Find: "Pretra�ivanje",
|
22
|
+
Reset: "Poni�ti",
|
23
|
+
odata : [{ oper:'eq', text:'jednak'}, { oper:'ne', text:'nije identi�an'}, { oper:'lt', text:'manje'}, { oper:'le', text:'manje ili identi�no'},{ oper:'gt', text:'ve�e'},{ oper:'ge', text:'ve�e ili identi�no'}, { oper:'bw', text:'po�inje sa'},{ oper:'bn', text:'ne po�inje sa '},{ oper:'in', text:'je u'},{ oper:'ni', text:'nije u'},{ oper:'ew', text:'zavr�ava sa'},{ oper:'en', text:'ne zavr�ava sa'},{ oper:'cn', text:'sadr�i'},{ oper:'nc', text:'ne sadr�i'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
24
|
+
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
|
25
|
+
operandTitle : "Click to select search operation.",
|
26
|
+
resetTitle : "Reset Search Value"
|
27
|
+
},
|
28
|
+
edit : {
|
29
|
+
addCaption: "Dodaj zapis",
|
30
|
+
editCaption: "Promijeni zapis",
|
31
|
+
bSubmit: "Preuzmi",
|
32
|
+
bCancel: "Odustani",
|
33
|
+
bClose: "Zatvri",
|
34
|
+
saveData: "Podaci su promijenjeni! Preuzmi promijene?",
|
35
|
+
bYes : "Da",
|
36
|
+
bNo : "Ne",
|
37
|
+
bExit : "Odustani",
|
38
|
+
msg: {
|
39
|
+
required:"Polje je obavezno",
|
40
|
+
number:"Molim, unesite ispravan broj",
|
41
|
+
minValue:"Vrijednost mora biti ve�a ili identi�na ",
|
42
|
+
maxValue:"Vrijednost mora biti manja ili identi�na",
|
43
|
+
email: "neispravan e-mail",
|
44
|
+
integer: "Molim, unjeti ispravan cijeli broj (integer)",
|
45
|
+
date: "Molim, unjeti ispravan datum ",
|
46
|
+
url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
|
47
|
+
nodefined : " nije definiran!",
|
48
|
+
novalue : " zahtjevan podatak je obavezan!",
|
49
|
+
customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
|
50
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
51
|
+
|
52
|
+
}
|
53
|
+
},
|
54
|
+
view : {
|
55
|
+
caption: "Otvori zapis",
|
56
|
+
bClose: "Zatvori"
|
57
|
+
},
|
58
|
+
del : {
|
59
|
+
caption: "Obri�i",
|
60
|
+
msg: "Obri�i ozna�en zapis ili vi�e njih?",
|
61
|
+
bSubmit: "Obri�i",
|
62
|
+
bCancel: "Odustani"
|
63
|
+
},
|
64
|
+
nav : {
|
65
|
+
edittext: "",
|
66
|
+
edittitle: "Promijeni obilje�eni red",
|
67
|
+
addtext: "",
|
68
|
+
addtitle: "Dodaj novi red",
|
69
|
+
deltext: "",
|
70
|
+
deltitle: "Obri�i obilje�eni red",
|
71
|
+
searchtext: "",
|
72
|
+
searchtitle: "Potra�i zapise",
|
73
|
+
refreshtext: "",
|
74
|
+
refreshtitle: "Ponovo preuzmi podatke",
|
75
|
+
alertcap: "Upozorenje",
|
76
|
+
alerttext: "Molim, odaberi red",
|
77
|
+
viewtext: "",
|
78
|
+
viewtitle: "Pregled obilje�enog reda"
|
79
|
+
},
|
80
|
+
col : {
|
81
|
+
caption: "Obilje�i kolonu",
|
82
|
+
bSubmit: "Uredu",
|
83
|
+
bCancel: "Odustani"
|
84
|
+
},
|
85
|
+
errors : {
|
86
|
+
errcap : "Gre�ka",
|
87
|
+
nourl : "Nedostaje URL",
|
88
|
+
norecords: "Bez zapisa za obradu",
|
89
|
+
model : "colNames i colModel imaju razli�itu duljinu!"
|
90
|
+
},
|
91
|
+
formatter : {
|
92
|
+
integer : {thousandsSeparator: ".", defaultValue: '0'},
|
93
|
+
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
|
94
|
+
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
95
|
+
date : {
|
96
|
+
dayNames: [
|
97
|
+
"Ned", "Pon", "Uto", "Sri", "�et", "Pet", "Sub",
|
98
|
+
"Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "�etvrtak", "Petak", "Subota"
|
99
|
+
],
|
100
|
+
monthNames: [
|
101
|
+
"Sij", "Velj", "O�u", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
|
102
|
+
"Sije�anj", "Velja�a", "O�ujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
|
103
|
+
],
|
104
|
+
AmPm : ["am","pm","AM","PM"],
|
105
|
+
S: function (j) {return ''},
|
106
|
+
srcformat: 'Y-m-d',
|
107
|
+
newformat: 'd.m.Y.',
|
108
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
109
|
+
masks : {
|
110
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
111
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
112
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
113
|
+
ISO8601Long: "Y-m-d H:i:s",
|
114
|
+
ISO8601Short: "Y-m-d",
|
115
|
+
// short date:
|
116
|
+
// d - Day of the month, 2 digits with leading zeros
|
117
|
+
// m - Numeric representation of a month, with leading zeros
|
118
|
+
// Y - A full numeric representation of a year, 4 digits
|
119
|
+
ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
|
120
|
+
// long date:
|
121
|
+
// l - A full textual representation of the day of the week
|
122
|
+
// j - Day of the month without leading zeros
|
123
|
+
// F - A full textual representation of a month
|
124
|
+
// Y - A full numeric representation of a year, 4 digits
|
125
|
+
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
126
|
+
// long date with long time:
|
127
|
+
// l - A full textual representation of the day of the week
|
128
|
+
// j - Day of the month without leading zeros
|
129
|
+
// F - A full textual representation of a month
|
130
|
+
// Y - A full numeric representation of a year, 4 digits
|
131
|
+
// H - 24-hour format of an hour with leading zeros
|
132
|
+
// i - Minutes with leading zeros
|
133
|
+
// s - Seconds, with leading zeros
|
134
|
+
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
135
|
+
// month day:
|
136
|
+
// d - Day of the month, 2 digits with leading zeros
|
137
|
+
// F - A full textual representation of a month
|
138
|
+
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
139
|
+
// short time (without seconds)
|
140
|
+
// H - 24-hour format of an hour with leading zeros
|
141
|
+
// i - Minutes with leading zeros
|
142
|
+
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
143
|
+
// long time (with seconds)
|
144
|
+
// H - 24-hour format of an hour with leading zeros
|
145
|
+
// i - Minutes with leading zeros
|
146
|
+
// s - Seconds, with leading zeros
|
147
|
+
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
148
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
149
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
150
|
+
// month with year
|
151
|
+
// F - A full textual representation of a month
|
152
|
+
// Y - A full numeric representation of a year, 4 digits
|
153
|
+
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
154
|
+
},
|
155
|
+
reformatAfterEdit : false
|
156
|
+
},
|
157
|
+
baseLinkUrl: '',
|
158
|
+
showAction: '',
|
159
|
+
target: '',
|
160
|
+
checkbox : {disabled:true},
|
161
|
+
idName : 'id'
|
162
|
+
}
|
163
|
+
});
|
164
|
+
})(jQuery);
|
@@ -20,8 +20,10 @@ $.extend($.jgrid,{
|
|
20
20
|
caption: "Keresés...",
|
21
21
|
Find: "Keres",
|
22
22
|
Reset: "Alapértelmezett",
|
23
|
-
odata: [{ oper:'eq', text:"egyenlő"},{ oper:'ne', text:"nem egyenlő"},{ oper:'lt', text:"kevesebb"},{ oper:'le', text:"kevesebb vagy egyenlő"},{ oper:'gt', text:"nagyobb"},{ oper:'ge', text:"nagyobb vagy egyenlő"},{ oper:'bw', text:"ezzel kezdődik"},{ oper:'bn', text:"nem ezzel kezdődik"},{ oper:'in', text:"tartalmaz"},{ oper:'ni', text:"nem tartalmaz"},{ oper:'ew', text:"végződik"},{ oper:'en', text:"nem végződik"},{ oper:'cn', text:"tartalmaz"},{ oper:'nc', text:"nem tartalmaz"}],
|
24
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
23
|
+
odata: [{ oper:'eq', text:"egyenlő"},{ oper:'ne', text:"nem egyenlő"},{ oper:'lt', text:"kevesebb"},{ oper:'le', text:"kevesebb vagy egyenlő"},{ oper:'gt', text:"nagyobb"},{ oper:'ge', text:"nagyobb vagy egyenlő"},{ oper:'bw', text:"ezzel kezdődik"},{ oper:'bn', text:"nem ezzel kezdődik"},{ oper:'in', text:"tartalmaz"},{ oper:'ni', text:"nem tartalmaz"},{ oper:'ew', text:"végződik"},{ oper:'en', text:"nem végződik"},{ oper:'cn', text:"tartalmaz"},{ oper:'nc', text:"nem tartalmaz"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
24
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
25
|
+
operandTitle : "Click to select search operation.",
|
26
|
+
resetTitle : "Reset Search Value"
|
25
27
|
},
|
26
28
|
edit : {
|
27
29
|
addCaption: "Új tétel",
|
@@ -103,7 +105,7 @@ $.extend($.jgrid,{
|
|
103
105
|
S: function (j) {return '.-ik';},
|
104
106
|
srcformat: 'Y-m-d',
|
105
107
|
newformat: 'Y/m/d',
|
106
|
-
parseRe : /[
|
108
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
107
109
|
masks : {
|
108
110
|
ISO8601Long:"Y-m-d H:i:s",
|
109
111
|
ISO8601Short:"Y-m-d",
|
@@ -1,168 +1,170 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid English Translation
|
4
|
-
* Tony Tomov tony@trirand.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: "Data {0} - {1} dari {2}",
|
14
|
-
emptyrecords: "Tidak ada data",
|
15
|
-
loadtext: "Memuat...",
|
16
|
-
pgtext : "Halaman {0} dari {1}"
|
17
|
-
},
|
18
|
-
search : {
|
19
|
-
caption: "Pencarian",
|
20
|
-
Find: "Cari !",
|
21
|
-
Reset: "Segarkan",
|
22
|
-
odata: [{ oper:'eq', text:"sama dengan"},{ oper:'ne', text:"tidak sama dengan"},{ oper:'lt', text:"kurang dari"},{ oper:'le', text:"kurang dari atau sama dengan"},{ oper:'gt', text:"lebih besar"},{ oper:'ge', text:"lebih besar atau sama dengan"},{ oper:'bw', text:"dimulai dengan"},{ oper:'bn', text:"tidak dimulai dengan"},{ oper:'in', text:"di dalam"},{ oper:'ni', text:"tidak di dalam"},{ oper:'ew', text:"diakhiri dengan"},{ oper:'en', text:"tidak diakhiri dengan"},{ oper:'cn', text:"mengandung"},{ oper:'nc', text:"tidak mengandung"}],
|
23
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
//
|
110
|
-
//
|
111
|
-
//
|
112
|
-
// one
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
//
|
118
|
-
//
|
119
|
-
//
|
120
|
-
|
121
|
-
//
|
122
|
-
|
123
|
-
//
|
124
|
-
//
|
125
|
-
//
|
126
|
-
|
127
|
-
//
|
128
|
-
|
129
|
-
//
|
130
|
-
//
|
131
|
-
//
|
132
|
-
//
|
133
|
-
//
|
134
|
-
//
|
135
|
-
//
|
136
|
-
|
137
|
-
//
|
138
|
-
|
139
|
-
//
|
140
|
-
|
141
|
-
//
|
142
|
-
|
143
|
-
//
|
144
|
-
//
|
145
|
-
|
146
|
-
//
|
147
|
-
|
148
|
-
//
|
149
|
-
//
|
150
|
-
//
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
//
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
}
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid English Translation
|
4
|
+
* Tony Tomov tony@trirand.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: "Data {0} - {1} dari {2}",
|
14
|
+
emptyrecords: "Tidak ada data",
|
15
|
+
loadtext: "Memuat...",
|
16
|
+
pgtext : "Halaman {0} dari {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "Pencarian",
|
20
|
+
Find: "Cari !",
|
21
|
+
Reset: "Segarkan",
|
22
|
+
odata: [{ oper:'eq', text:"sama dengan"},{ oper:'ne', text:"tidak sama dengan"},{ oper:'lt', text:"kurang dari"},{ oper:'le', text:"kurang dari atau sama dengan"},{ oper:'gt', text:"lebih besar"},{ oper:'ge', text:"lebih besar atau sama dengan"},{ oper:'bw', text:"dimulai dengan"},{ oper:'bn', text:"tidak dimulai dengan"},{ oper:'in', text:"di dalam"},{ oper:'ni', text:"tidak di dalam"},{ oper:'ew', text:"diakhiri dengan"},{ oper:'en', text:"tidak diakhiri dengan"},{ oper:'cn', text:"mengandung"},{ oper:'nc', text:"tidak mengandung"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
23
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
24
|
+
operandTitle : "Click to select search operation.",
|
25
|
+
resetTitle : "Reset Search Value"
|
26
|
+
},
|
27
|
+
edit : {
|
28
|
+
addCaption: "Tambah Data",
|
29
|
+
editCaption: "Sunting Data",
|
30
|
+
bSubmit: "Submit",
|
31
|
+
bCancel: "Tutup",
|
32
|
+
bClose: "Tutup",
|
33
|
+
saveData: "Data telah berubah! Simpan perubahan?",
|
34
|
+
bYes : "Ya",
|
35
|
+
bNo : "Tidak",
|
36
|
+
bExit : "Tutup",
|
37
|
+
msg: {
|
38
|
+
required:"kolom wajib diisi",
|
39
|
+
number:"hanya nomer yang diperbolehkan",
|
40
|
+
minValue:"kolom harus lebih besar dari atau sama dengan",
|
41
|
+
maxValue:"kolom harus lebih kecil atau sama dengan",
|
42
|
+
email: "alamat e-mail tidak valid",
|
43
|
+
integer: "hanya nilai integer yang diperbolehkan",
|
44
|
+
date: "nilai tanggal tidak valid",
|
45
|
+
url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
|
46
|
+
nodefined : " belum didefinisikan!",
|
47
|
+
novalue : " return value is required!",
|
48
|
+
customarray : "Custom function should return array!",
|
49
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
50
|
+
|
51
|
+
}
|
52
|
+
},
|
53
|
+
view : {
|
54
|
+
caption: "Menampilkan data",
|
55
|
+
bClose: "Tutup"
|
56
|
+
},
|
57
|
+
del : {
|
58
|
+
caption: "Hapus",
|
59
|
+
msg: "Hapus data terpilih?",
|
60
|
+
bSubmit: "Hapus",
|
61
|
+
bCancel: "Batalkan"
|
62
|
+
},
|
63
|
+
nav : {
|
64
|
+
edittext: "",
|
65
|
+
edittitle: "Sunting data terpilih",
|
66
|
+
addtext:"",
|
67
|
+
addtitle: "Tambah baris baru",
|
68
|
+
deltext: "",
|
69
|
+
deltitle: "Hapus baris terpilih",
|
70
|
+
searchtext: "",
|
71
|
+
searchtitle: "Temukan data",
|
72
|
+
refreshtext: "",
|
73
|
+
refreshtitle: "Segarkan Grid",
|
74
|
+
alertcap: "Warning",
|
75
|
+
alerttext: "Harap pilih baris",
|
76
|
+
viewtext: "",
|
77
|
+
viewtitle: "Tampilkan baris terpilih"
|
78
|
+
},
|
79
|
+
col : {
|
80
|
+
caption: "Pilih Kolom",
|
81
|
+
bSubmit: "Ok",
|
82
|
+
bCancel: "Batal"
|
83
|
+
},
|
84
|
+
errors : {
|
85
|
+
errcap : "Error",
|
86
|
+
nourl : "Tidak ada url yang diset",
|
87
|
+
norecords: "Tidak ada data untuk diproses",
|
88
|
+
model : "Lebar dari colNames <> colModel!"
|
89
|
+
},
|
90
|
+
formatter : {
|
91
|
+
integer : {thousandsSeparator: ".", defaultValue: '0'},
|
92
|
+
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
|
93
|
+
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
|
94
|
+
date : {
|
95
|
+
dayNames: [
|
96
|
+
"Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
|
97
|
+
"Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
|
98
|
+
],
|
99
|
+
monthNames: [
|
100
|
+
"Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
|
101
|
+
"Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
|
102
|
+
],
|
103
|
+
AmPm : ["am","pm","AM","PM"],
|
104
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
|
105
|
+
srcformat: 'Y-m-d',
|
106
|
+
newformat: 'n/j/Y',
|
107
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
108
|
+
masks : {
|
109
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
110
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
111
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
112
|
+
// one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
|
113
|
+
// information about date, time, numbers and currency formats used in different countries
|
114
|
+
// one should just convert the information in PHP format
|
115
|
+
ISO8601Long:"Y-m-d H:i:s",
|
116
|
+
ISO8601Short:"Y-m-d",
|
117
|
+
// short date:
|
118
|
+
// n - Numeric representation of a month, without leading zeros
|
119
|
+
// j - Day of the month without leading zeros
|
120
|
+
// Y - A full numeric representation of a year, 4 digits
|
121
|
+
// example: 3/1/2012 which means 1 March 2012
|
122
|
+
ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
|
123
|
+
// long date:
|
124
|
+
// l - A full textual representation of the day of the week
|
125
|
+
// F - A full textual representation of a month
|
126
|
+
// d - Day of the month, 2 digits with leading zeros
|
127
|
+
// Y - A full numeric representation of a year, 4 digits
|
128
|
+
LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
|
129
|
+
// long date with long time:
|
130
|
+
// l - A full textual representation of the day of the week
|
131
|
+
// F - A full textual representation of a month
|
132
|
+
// d - Day of the month, 2 digits with leading zeros
|
133
|
+
// Y - A full numeric representation of a year, 4 digits
|
134
|
+
// g - 12-hour format of an hour without leading zeros
|
135
|
+
// i - Minutes with leading zeros
|
136
|
+
// s - Seconds, with leading zeros
|
137
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
138
|
+
FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
|
139
|
+
// month day:
|
140
|
+
// F - A full textual representation of a month
|
141
|
+
// d - Day of the month, 2 digits with leading zeros
|
142
|
+
MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
|
143
|
+
// short time (without seconds)
|
144
|
+
// g - 12-hour format of an hour without leading zeros
|
145
|
+
// i - Minutes with leading zeros
|
146
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
147
|
+
ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
|
148
|
+
// long time (with seconds)
|
149
|
+
// g - 12-hour format of an hour without leading zeros
|
150
|
+
// i - Minutes with leading zeros
|
151
|
+
// s - Seconds, with leading zeros
|
152
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
153
|
+
LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
|
154
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
155
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
156
|
+
// month with year
|
157
|
+
// Y - A full numeric representation of a year, 4 digits
|
158
|
+
// F - A full textual representation of a month
|
159
|
+
YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
|
160
|
+
},
|
161
|
+
reformatAfterEdit : false
|
162
|
+
},
|
163
|
+
baseLinkUrl: '',
|
164
|
+
showAction: '',
|
165
|
+
target: '',
|
166
|
+
checkbox : {disabled:true},
|
167
|
+
idName : 'id'
|
168
|
+
}
|
169
|
+
});
|
170
|
+
})(jQuery);
|