jqgrid-jquery-rails 4.4.2.0 → 4.4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/jqgrid-jquery-rails/version.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -145
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +162 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +162 -162
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +172 -172
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/jquery.jqGrid.js +7 -6
- metadata +1 -1
@@ -1,163 +1,163 @@
|
|
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 : ['jednak', 'nije identi�an', 'manje', 'manje ili identi�no','ve�e','ve�e ili identi�no', 'po�inje sa','ne po�inje sa ','je u','nije u','zavr�ava sa','ne zavr�ava sa','sadr�i','ne sadr�i'],
|
24
|
-
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
|
25
|
-
matchText: " podudata se",
|
26
|
-
rulesText: " pravila"
|
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:" Kn", 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", "Vel", "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
|
-
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
|
-
ISO8601Long: "Y-m-d H:i:s",
|
113
|
-
ISO8601Short: "Y-m-d",
|
114
|
-
// short date:
|
115
|
-
// d - Day of the month, 2 digits with leading zeros
|
116
|
-
// m - Numeric representation of a month, with leading zeros
|
117
|
-
// Y - A full numeric representation of a year, 4 digits
|
118
|
-
ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
|
119
|
-
// long date:
|
120
|
-
// l - A full textual representation of the day of the week
|
121
|
-
// j - Day of the month without leading zeros
|
122
|
-
// F - A full textual representation of a month
|
123
|
-
// Y - A full numeric representation of a year, 4 digits
|
124
|
-
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
125
|
-
// long date with long time:
|
126
|
-
// l - A full textual representation of the day of the week
|
127
|
-
// j - Day of the month without leading zeros
|
128
|
-
// F - A full textual representation of a month
|
129
|
-
// Y - A full numeric representation of a year, 4 digits
|
130
|
-
// H - 24-hour format of an hour with leading zeros
|
131
|
-
// i - Minutes with leading zeros
|
132
|
-
// s - Seconds, with leading zeros
|
133
|
-
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
134
|
-
// month day:
|
135
|
-
// d - Day of the month, 2 digits with leading zeros
|
136
|
-
// F - A full textual representation of a month
|
137
|
-
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
138
|
-
// short time (without seconds)
|
139
|
-
// H - 24-hour format of an hour with leading zeros
|
140
|
-
// i - Minutes with leading zeros
|
141
|
-
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
142
|
-
// long time (with seconds)
|
143
|
-
// H - 24-hour format of an hour with leading zeros
|
144
|
-
// i - Minutes with leading zeros
|
145
|
-
// s - Seconds, with leading zeros
|
146
|
-
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
147
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
148
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
149
|
-
// month with year
|
150
|
-
// F - A full textual representation of a month
|
151
|
-
// Y - A full numeric representation of a year, 4 digits
|
152
|
-
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
153
|
-
},
|
154
|
-
reformatAfterEdit : false
|
155
|
-
},
|
156
|
-
baseLinkUrl: '',
|
157
|
-
showAction: '',
|
158
|
-
target: '',
|
159
|
-
checkbox : {disabled:true},
|
160
|
-
idName : 'id'
|
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 : ['jednak', 'nije identi�an', 'manje', 'manje ili identi�no','ve�e','ve�e ili identi�no', 'po�inje sa','ne po�inje sa ','je u','nije u','zavr�ava sa','ne zavr�ava sa','sadr�i','ne sadr�i'],
|
24
|
+
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
|
25
|
+
matchText: " podudata se",
|
26
|
+
rulesText: " pravila"
|
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:" Kn", 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", "Vel", "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
|
+
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
|
+
ISO8601Long: "Y-m-d H:i:s",
|
113
|
+
ISO8601Short: "Y-m-d",
|
114
|
+
// short date:
|
115
|
+
// d - Day of the month, 2 digits with leading zeros
|
116
|
+
// m - Numeric representation of a month, with leading zeros
|
117
|
+
// Y - A full numeric representation of a year, 4 digits
|
118
|
+
ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
|
119
|
+
// long date:
|
120
|
+
// l - A full textual representation of the day of the week
|
121
|
+
// j - Day of the month without leading zeros
|
122
|
+
// F - A full textual representation of a month
|
123
|
+
// Y - A full numeric representation of a year, 4 digits
|
124
|
+
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
125
|
+
// long date with long time:
|
126
|
+
// l - A full textual representation of the day of the week
|
127
|
+
// j - Day of the month without leading zeros
|
128
|
+
// F - A full textual representation of a month
|
129
|
+
// Y - A full numeric representation of a year, 4 digits
|
130
|
+
// H - 24-hour format of an hour with leading zeros
|
131
|
+
// i - Minutes with leading zeros
|
132
|
+
// s - Seconds, with leading zeros
|
133
|
+
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
134
|
+
// month day:
|
135
|
+
// d - Day of the month, 2 digits with leading zeros
|
136
|
+
// F - A full textual representation of a month
|
137
|
+
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
138
|
+
// short time (without seconds)
|
139
|
+
// H - 24-hour format of an hour with leading zeros
|
140
|
+
// i - Minutes with leading zeros
|
141
|
+
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
142
|
+
// long time (with seconds)
|
143
|
+
// H - 24-hour format of an hour with leading zeros
|
144
|
+
// i - Minutes with leading zeros
|
145
|
+
// s - Seconds, with leading zeros
|
146
|
+
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
147
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
148
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
149
|
+
// month with year
|
150
|
+
// F - A full textual representation of a month
|
151
|
+
// Y - A full numeric representation of a year, 4 digits
|
152
|
+
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
153
|
+
},
|
154
|
+
reformatAfterEdit : false
|
155
|
+
},
|
156
|
+
baseLinkUrl: '',
|
157
|
+
showAction: '',
|
158
|
+
target: '',
|
159
|
+
checkbox : {disabled:true},
|
160
|
+
idName : 'id'
|
161
|
+
}
|
162
|
+
});
|
163
163
|
})(jQuery);
|
@@ -1,172 +1,172 @@
|
|
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 : ['sama dengan', 'tidak sama dengan', 'kurang dari',
|
23
|
-
'kurang dari atau sama dengan','lebih besar','lebih besar atau sama dengan',
|
24
|
-
'dimulai dengan','tidak dimulai dengan','di dalam','tidak di dalam','diakhiri dengan',
|
25
|
-
'tidak diakhiri dengan','mengandung','tidak mengandung'],
|
26
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
27
|
-
matchText: " match",
|
28
|
-
rulesText: " rules"
|
29
|
-
},
|
30
|
-
edit : {
|
31
|
-
addCaption: "Tambah Data",
|
32
|
-
editCaption: "Sunting Data",
|
33
|
-
bSubmit: "Submit",
|
34
|
-
bCancel: "Tutup",
|
35
|
-
bClose: "Tutup",
|
36
|
-
saveData: "Data telah berubah! Simpan perubahan?",
|
37
|
-
bYes : "Ya",
|
38
|
-
bNo : "Tidak",
|
39
|
-
bExit : "Tutup",
|
40
|
-
msg: {
|
41
|
-
required:"kolom wajib diisi",
|
42
|
-
number:"hanya nomer yang diperbolehkan",
|
43
|
-
minValue:"kolom harus lebih besar dari atau sama dengan",
|
44
|
-
maxValue:"kolom harus lebih kecil atau sama dengan",
|
45
|
-
email: "alamat e-mail tidak valid",
|
46
|
-
integer: "hanya nilai integer yang diperbolehkan",
|
47
|
-
date: "nilai tanggal tidak valid",
|
48
|
-
url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
|
49
|
-
nodefined : " belum didefinisikan!",
|
50
|
-
novalue : " return value is required!",
|
51
|
-
customarray : "Custom function should return array!",
|
52
|
-
customfcheck : "Custom function should be present in case of custom checking!"
|
53
|
-
|
54
|
-
}
|
55
|
-
},
|
56
|
-
view : {
|
57
|
-
caption: "Menampilkan data",
|
58
|
-
bClose: "Tutup"
|
59
|
-
},
|
60
|
-
del : {
|
61
|
-
caption: "Hapus",
|
62
|
-
msg: "Hapus data terpilih?",
|
63
|
-
bSubmit: "Hapus",
|
64
|
-
bCancel: "Batalkan"
|
65
|
-
},
|
66
|
-
nav : {
|
67
|
-
edittext: "",
|
68
|
-
edittitle: "Sunting data terpilih",
|
69
|
-
addtext:"",
|
70
|
-
addtitle: "Tambah baris baru",
|
71
|
-
deltext: "",
|
72
|
-
deltitle: "Hapus baris terpilih",
|
73
|
-
searchtext: "",
|
74
|
-
searchtitle: "Temukan data",
|
75
|
-
refreshtext: "",
|
76
|
-
refreshtitle: "Segarkan Grid",
|
77
|
-
alertcap: "Warning",
|
78
|
-
alerttext: "Harap pilih baris",
|
79
|
-
viewtext: "",
|
80
|
-
viewtitle: "Tampilkan baris terpilih"
|
81
|
-
},
|
82
|
-
col : {
|
83
|
-
caption: "Pilih Kolom",
|
84
|
-
bSubmit: "Ok",
|
85
|
-
bCancel: "Batal"
|
86
|
-
},
|
87
|
-
errors : {
|
88
|
-
errcap : "Error",
|
89
|
-
nourl : "Tidak ada url yang diset",
|
90
|
-
norecords: "Tidak ada data untuk diproses",
|
91
|
-
model : "Lebar dari colNames <> colModel!"
|
92
|
-
},
|
93
|
-
formatter : {
|
94
|
-
integer : {thousandsSeparator: ".", defaultValue: '0'},
|
95
|
-
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
|
96
|
-
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
|
97
|
-
date : {
|
98
|
-
dayNames: [
|
99
|
-
"Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
|
100
|
-
"Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
|
101
|
-
],
|
102
|
-
monthNames: [
|
103
|
-
"Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
|
104
|
-
"Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
|
105
|
-
],
|
106
|
-
AmPm : ["am","pm","AM","PM"],
|
107
|
-
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
|
108
|
-
srcformat: 'Y-m-d',
|
109
|
-
newformat: 'n/j/Y',
|
110
|
-
masks : {
|
111
|
-
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
112
|
-
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
113
|
-
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
114
|
-
// one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
|
115
|
-
// information about date, time, numbers and currency formats used in different countries
|
116
|
-
// one should just convert the information in PHP format
|
117
|
-
ISO8601Long:"Y-m-d H:i:s",
|
118
|
-
ISO8601Short:"Y-m-d",
|
119
|
-
// short date:
|
120
|
-
// n - Numeric representation of a month, without leading zeros
|
121
|
-
// j - Day of the month without leading zeros
|
122
|
-
// Y - A full numeric representation of a year, 4 digits
|
123
|
-
// example: 3/1/2012 which means 1 March 2012
|
124
|
-
ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
|
125
|
-
// long date:
|
126
|
-
// l - A full textual representation of the day of the week
|
127
|
-
// F - A full textual representation of a month
|
128
|
-
// d - Day of the month, 2 digits with leading zeros
|
129
|
-
// Y - A full numeric representation of a year, 4 digits
|
130
|
-
LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
|
131
|
-
// long date with long time:
|
132
|
-
// l - A full textual representation of the day of the week
|
133
|
-
// F - A full textual representation of a month
|
134
|
-
// d - Day of the month, 2 digits with leading zeros
|
135
|
-
// Y - A full numeric representation of a year, 4 digits
|
136
|
-
// g - 12-hour format of an hour without leading zeros
|
137
|
-
// i - Minutes with leading zeros
|
138
|
-
// s - Seconds, with leading zeros
|
139
|
-
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
140
|
-
FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
|
141
|
-
// month day:
|
142
|
-
// F - A full textual representation of a month
|
143
|
-
// d - Day of the month, 2 digits with leading zeros
|
144
|
-
MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
|
145
|
-
// short time (without seconds)
|
146
|
-
// g - 12-hour format of an hour without leading zeros
|
147
|
-
// i - Minutes with leading zeros
|
148
|
-
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
149
|
-
ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
|
150
|
-
// long time (with seconds)
|
151
|
-
// g - 12-hour format of an hour without leading zeros
|
152
|
-
// i - Minutes with leading zeros
|
153
|
-
// s - Seconds, with leading zeros
|
154
|
-
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
155
|
-
LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
|
156
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
157
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
158
|
-
// month with year
|
159
|
-
// Y - A full numeric representation of a year, 4 digits
|
160
|
-
// F - A full textual representation of a month
|
161
|
-
YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
|
162
|
-
},
|
163
|
-
reformatAfterEdit : false
|
164
|
-
},
|
165
|
-
baseLinkUrl: '',
|
166
|
-
showAction: '',
|
167
|
-
target: '',
|
168
|
-
checkbox : {disabled:true},
|
169
|
-
idName : 'id'
|
170
|
-
}
|
171
|
-
});
|
172
|
-
})(jQuery);
|
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 : ['sama dengan', 'tidak sama dengan', 'kurang dari',
|
23
|
+
'kurang dari atau sama dengan','lebih besar','lebih besar atau sama dengan',
|
24
|
+
'dimulai dengan','tidak dimulai dengan','di dalam','tidak di dalam','diakhiri dengan',
|
25
|
+
'tidak diakhiri dengan','mengandung','tidak mengandung'],
|
26
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
27
|
+
matchText: " match",
|
28
|
+
rulesText: " rules"
|
29
|
+
},
|
30
|
+
edit : {
|
31
|
+
addCaption: "Tambah Data",
|
32
|
+
editCaption: "Sunting Data",
|
33
|
+
bSubmit: "Submit",
|
34
|
+
bCancel: "Tutup",
|
35
|
+
bClose: "Tutup",
|
36
|
+
saveData: "Data telah berubah! Simpan perubahan?",
|
37
|
+
bYes : "Ya",
|
38
|
+
bNo : "Tidak",
|
39
|
+
bExit : "Tutup",
|
40
|
+
msg: {
|
41
|
+
required:"kolom wajib diisi",
|
42
|
+
number:"hanya nomer yang diperbolehkan",
|
43
|
+
minValue:"kolom harus lebih besar dari atau sama dengan",
|
44
|
+
maxValue:"kolom harus lebih kecil atau sama dengan",
|
45
|
+
email: "alamat e-mail tidak valid",
|
46
|
+
integer: "hanya nilai integer yang diperbolehkan",
|
47
|
+
date: "nilai tanggal tidak valid",
|
48
|
+
url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
|
49
|
+
nodefined : " belum didefinisikan!",
|
50
|
+
novalue : " return value is required!",
|
51
|
+
customarray : "Custom function should return array!",
|
52
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
53
|
+
|
54
|
+
}
|
55
|
+
},
|
56
|
+
view : {
|
57
|
+
caption: "Menampilkan data",
|
58
|
+
bClose: "Tutup"
|
59
|
+
},
|
60
|
+
del : {
|
61
|
+
caption: "Hapus",
|
62
|
+
msg: "Hapus data terpilih?",
|
63
|
+
bSubmit: "Hapus",
|
64
|
+
bCancel: "Batalkan"
|
65
|
+
},
|
66
|
+
nav : {
|
67
|
+
edittext: "",
|
68
|
+
edittitle: "Sunting data terpilih",
|
69
|
+
addtext:"",
|
70
|
+
addtitle: "Tambah baris baru",
|
71
|
+
deltext: "",
|
72
|
+
deltitle: "Hapus baris terpilih",
|
73
|
+
searchtext: "",
|
74
|
+
searchtitle: "Temukan data",
|
75
|
+
refreshtext: "",
|
76
|
+
refreshtitle: "Segarkan Grid",
|
77
|
+
alertcap: "Warning",
|
78
|
+
alerttext: "Harap pilih baris",
|
79
|
+
viewtext: "",
|
80
|
+
viewtitle: "Tampilkan baris terpilih"
|
81
|
+
},
|
82
|
+
col : {
|
83
|
+
caption: "Pilih Kolom",
|
84
|
+
bSubmit: "Ok",
|
85
|
+
bCancel: "Batal"
|
86
|
+
},
|
87
|
+
errors : {
|
88
|
+
errcap : "Error",
|
89
|
+
nourl : "Tidak ada url yang diset",
|
90
|
+
norecords: "Tidak ada data untuk diproses",
|
91
|
+
model : "Lebar dari colNames <> colModel!"
|
92
|
+
},
|
93
|
+
formatter : {
|
94
|
+
integer : {thousandsSeparator: ".", defaultValue: '0'},
|
95
|
+
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
|
96
|
+
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
|
97
|
+
date : {
|
98
|
+
dayNames: [
|
99
|
+
"Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
|
100
|
+
"Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
|
101
|
+
],
|
102
|
+
monthNames: [
|
103
|
+
"Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
|
104
|
+
"Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
|
105
|
+
],
|
106
|
+
AmPm : ["am","pm","AM","PM"],
|
107
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
|
108
|
+
srcformat: 'Y-m-d',
|
109
|
+
newformat: 'n/j/Y',
|
110
|
+
masks : {
|
111
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
112
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
113
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
114
|
+
// one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
|
115
|
+
// information about date, time, numbers and currency formats used in different countries
|
116
|
+
// one should just convert the information in PHP format
|
117
|
+
ISO8601Long:"Y-m-d H:i:s",
|
118
|
+
ISO8601Short:"Y-m-d",
|
119
|
+
// short date:
|
120
|
+
// n - Numeric representation of a month, without leading zeros
|
121
|
+
// j - Day of the month without leading zeros
|
122
|
+
// Y - A full numeric representation of a year, 4 digits
|
123
|
+
// example: 3/1/2012 which means 1 March 2012
|
124
|
+
ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
|
125
|
+
// long date:
|
126
|
+
// l - A full textual representation of the day of the week
|
127
|
+
// F - A full textual representation of a month
|
128
|
+
// d - Day of the month, 2 digits with leading zeros
|
129
|
+
// Y - A full numeric representation of a year, 4 digits
|
130
|
+
LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
|
131
|
+
// long date with long time:
|
132
|
+
// l - A full textual representation of the day of the week
|
133
|
+
// F - A full textual representation of a month
|
134
|
+
// d - Day of the month, 2 digits with leading zeros
|
135
|
+
// Y - A full numeric representation of a year, 4 digits
|
136
|
+
// g - 12-hour format of an hour without leading zeros
|
137
|
+
// i - Minutes with leading zeros
|
138
|
+
// s - Seconds, with leading zeros
|
139
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
140
|
+
FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
|
141
|
+
// month day:
|
142
|
+
// F - A full textual representation of a month
|
143
|
+
// d - Day of the month, 2 digits with leading zeros
|
144
|
+
MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
|
145
|
+
// short time (without seconds)
|
146
|
+
// g - 12-hour format of an hour without leading zeros
|
147
|
+
// i - Minutes with leading zeros
|
148
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
149
|
+
ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
|
150
|
+
// long time (with seconds)
|
151
|
+
// g - 12-hour format of an hour without leading zeros
|
152
|
+
// i - Minutes with leading zeros
|
153
|
+
// s - Seconds, with leading zeros
|
154
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
155
|
+
LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
|
156
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
157
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
158
|
+
// month with year
|
159
|
+
// Y - A full numeric representation of a year, 4 digits
|
160
|
+
// F - A full textual representation of a month
|
161
|
+
YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
|
162
|
+
},
|
163
|
+
reformatAfterEdit : false
|
164
|
+
},
|
165
|
+
baseLinkUrl: '',
|
166
|
+
showAction: '',
|
167
|
+
target: '',
|
168
|
+
checkbox : {disabled:true},
|
169
|
+
idName : 'id'
|
170
|
+
}
|
171
|
+
});
|
172
|
+
})(jQuery);
|