jqgrid-jquery-rails 4.5.0.0 → 4.5.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,162 +1,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'}],
24
- groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ]
25
- },
26
- edit : {
27
- addCaption: "Dodaj zapis",
28
- editCaption: "Promijeni zapis",
29
- bSubmit: "Preuzmi",
30
- bCancel: "Odustani",
31
- bClose: "Zatvri",
32
- saveData: "Podaci su promijenjeni! Preuzmi promijene?",
33
- bYes : "Da",
34
- bNo : "Ne",
35
- bExit : "Odustani",
36
- msg: {
37
- required:"Polje je obavezno",
38
- number:"Molim, unesite ispravan broj",
39
- minValue:"Vrijednost mora biti ve�a ili identi�na ",
40
- maxValue:"Vrijednost mora biti manja ili identi�na",
41
- email: "neispravan e-mail",
42
- integer: "Molim, unjeti ispravan cijeli broj (integer)",
43
- date: "Molim, unjeti ispravan datum ",
44
- url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
45
- nodefined : " nije definiran!",
46
- novalue : " zahtjevan podatak je obavezan!",
47
- customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
48
- customfcheck : "Custom function should be present in case of custom checking!"
49
-
50
- }
51
- },
52
- view : {
53
- caption: "Otvori zapis",
54
- bClose: "Zatvori"
55
- },
56
- del : {
57
- caption: "Obri�i",
58
- msg: "Obri�i ozna�en zapis ili vi�e njih?",
59
- bSubmit: "Obri�i",
60
- bCancel: "Odustani"
61
- },
62
- nav : {
63
- edittext: " ",
64
- edittitle: "Promijeni obilje�eni red",
65
- addtext:" ",
66
- addtitle: "Dodaj novi red",
67
- deltext: " ",
68
- deltitle: "Obri�i obilje�eni red",
69
- searchtext: " ",
70
- searchtitle: "Potra�i zapise",
71
- refreshtext: "",
72
- refreshtitle: "Ponovo preuzmi podatke",
73
- alertcap: "Upozorenje",
74
- alerttext: "Molim, odaberi red",
75
- viewtext: "",
76
- viewtitle: "Pregled obilje�enog reda"
77
- },
78
- col : {
79
- caption: "Obilje�i kolonu",
80
- bSubmit: "Uredu",
81
- bCancel: "Odustani"
82
- },
83
- errors : {
84
- errcap : "Gre�ka",
85
- nourl : "Nedostaje URL",
86
- norecords: "Bez zapisa za obradu",
87
- model : "colNames i colModel imaju razli�itu duljinu!"
88
- },
89
- formatter : {
90
- integer : {thousandsSeparator: ".", defaultValue: '0'},
91
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" Kn", defaultValue: '0,00'},
93
- date : {
94
- dayNames: [
95
- "Ned", "Pon", "Uto", "Sri", "�et", "Pet", "Sub",
96
- "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "�etvrtak", "Petak", "Subota"
97
- ],
98
- monthNames: [
99
- "Sij", "Vel", "O�u", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
100
- "Sije�anj", "Velja�a", "O�ujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
101
- ],
102
- AmPm : ["am","pm","AM","PM"],
103
- S: function (j) {return ''},
104
- srcformat: 'Y-m-d',
105
- newformat: 'd.m.Y.',
106
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
107
- masks : {
108
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
109
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
110
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
111
- ISO8601Long: "Y-m-d H:i:s",
112
- ISO8601Short: "Y-m-d",
113
- // short date:
114
- // d - Day of the month, 2 digits with leading zeros
115
- // m - Numeric representation of a month, with leading zeros
116
- // Y - A full numeric representation of a year, 4 digits
117
- ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
118
- // long date:
119
- // l - A full textual representation of the day of the week
120
- // j - Day of the month without leading zeros
121
- // F - A full textual representation of a month
122
- // Y - A full numeric representation of a year, 4 digits
123
- LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
124
- // long date with long time:
125
- // l - A full textual representation of the day of the week
126
- // j - Day of the month without leading zeros
127
- // F - A full textual representation of a month
128
- // Y - A full numeric representation of a year, 4 digits
129
- // H - 24-hour format of an hour with leading zeros
130
- // i - Minutes with leading zeros
131
- // s - Seconds, with leading zeros
132
- FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
133
- // month day:
134
- // d - Day of the month, 2 digits with leading zeros
135
- // F - A full textual representation of a month
136
- MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
137
- // short time (without seconds)
138
- // H - 24-hour format of an hour with leading zeros
139
- // i - Minutes with leading zeros
140
- ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
141
- // long time (with seconds)
142
- // H - 24-hour format of an hour with leading zeros
143
- // i - Minutes with leading zeros
144
- // s - Seconds, with leading zeros
145
- LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
146
- SortableDateTime: "Y-m-d\\TH:i:s",
147
- UniversalSortableDateTime: "Y-m-d H:i:sO",
148
- // month with year
149
- // F - A full textual representation of a month
150
- // Y - A full numeric representation of a year, 4 digits
151
- YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
152
- },
153
- reformatAfterEdit : false
154
- },
155
- baseLinkUrl: '',
156
- showAction: '',
157
- target: '',
158
- checkbox : {disabled:true},
159
- idName : 'id'
160
- }
161
- });
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
+ edit : {
27
+ addCaption: "Dodaj zapis",
28
+ editCaption: "Promijeni zapis",
29
+ bSubmit: "Preuzmi",
30
+ bCancel: "Odustani",
31
+ bClose: "Zatvri",
32
+ saveData: "Podaci su promijenjeni! Preuzmi promijene?",
33
+ bYes : "Da",
34
+ bNo : "Ne",
35
+ bExit : "Odustani",
36
+ msg: {
37
+ required:"Polje je obavezno",
38
+ number:"Molim, unesite ispravan broj",
39
+ minValue:"Vrijednost mora biti ve�a ili identi�na ",
40
+ maxValue:"Vrijednost mora biti manja ili identi�na",
41
+ email: "neispravan e-mail",
42
+ integer: "Molim, unjeti ispravan cijeli broj (integer)",
43
+ date: "Molim, unjeti ispravan datum ",
44
+ url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
45
+ nodefined : " nije definiran!",
46
+ novalue : " zahtjevan podatak je obavezan!",
47
+ customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
48
+ customfcheck : "Custom function should be present in case of custom checking!"
49
+
50
+ }
51
+ },
52
+ view : {
53
+ caption: "Otvori zapis",
54
+ bClose: "Zatvori"
55
+ },
56
+ del : {
57
+ caption: "Obri�i",
58
+ msg: "Obri�i ozna�en zapis ili vi�e njih?",
59
+ bSubmit: "Obri�i",
60
+ bCancel: "Odustani"
61
+ },
62
+ nav : {
63
+ edittext: " ",
64
+ edittitle: "Promijeni obilje�eni red",
65
+ addtext:" ",
66
+ addtitle: "Dodaj novi red",
67
+ deltext: " ",
68
+ deltitle: "Obri�i obilje�eni red",
69
+ searchtext: " ",
70
+ searchtitle: "Potra�i zapise",
71
+ refreshtext: "",
72
+ refreshtitle: "Ponovo preuzmi podatke",
73
+ alertcap: "Upozorenje",
74
+ alerttext: "Molim, odaberi red",
75
+ viewtext: "",
76
+ viewtitle: "Pregled obilje�enog reda"
77
+ },
78
+ col : {
79
+ caption: "Obilje�i kolonu",
80
+ bSubmit: "Uredu",
81
+ bCancel: "Odustani"
82
+ },
83
+ errors : {
84
+ errcap : "Gre�ka",
85
+ nourl : "Nedostaje URL",
86
+ norecords: "Bez zapisa za obradu",
87
+ model : "colNames i colModel imaju razli�itu duljinu!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
91
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
92
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" Kn", defaultValue: '0,00'},
93
+ date : {
94
+ dayNames: [
95
+ "Ned", "Pon", "Uto", "Sri", "�et", "Pet", "Sub",
96
+ "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "�etvrtak", "Petak", "Subota"
97
+ ],
98
+ monthNames: [
99
+ "Sij", "Vel", "O�u", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
100
+ "Sije�anj", "Velja�a", "O�ujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
101
+ ],
102
+ AmPm : ["am","pm","AM","PM"],
103
+ S: function (j) {return ''},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'd.m.Y.',
106
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
109
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
110
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
111
+ ISO8601Long: "Y-m-d H:i:s",
112
+ ISO8601Short: "Y-m-d",
113
+ // short date:
114
+ // d - Day of the month, 2 digits with leading zeros
115
+ // m - Numeric representation of a month, with leading zeros
116
+ // Y - A full numeric representation of a year, 4 digits
117
+ ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
118
+ // long date:
119
+ // l - A full textual representation of the day of the week
120
+ // j - Day of the month without leading zeros
121
+ // F - A full textual representation of a month
122
+ // Y - A full numeric representation of a year, 4 digits
123
+ LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
124
+ // long date with long time:
125
+ // l - A full textual representation of the day of the week
126
+ // j - Day of the month without leading zeros
127
+ // F - A full textual representation of a month
128
+ // Y - A full numeric representation of a year, 4 digits
129
+ // H - 24-hour format of an hour with leading zeros
130
+ // i - Minutes with leading zeros
131
+ // s - Seconds, with leading zeros
132
+ FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
133
+ // month day:
134
+ // d - Day of the month, 2 digits with leading zeros
135
+ // F - A full textual representation of a month
136
+ MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
137
+ // short time (without seconds)
138
+ // H - 24-hour format of an hour with leading zeros
139
+ // i - Minutes with leading zeros
140
+ ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
141
+ // long time (with seconds)
142
+ // H - 24-hour format of an hour with leading zeros
143
+ // i - Minutes with leading zeros
144
+ // s - Seconds, with leading zeros
145
+ LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
146
+ SortableDateTime: "Y-m-d\\TH:i:s",
147
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
148
+ // month with year
149
+ // F - A full textual representation of a month
150
+ // Y - A full numeric representation of a year, 4 digits
151
+ YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
152
+ },
153
+ reformatAfterEdit : false
154
+ },
155
+ baseLinkUrl: '',
156
+ showAction: '',
157
+ target: '',
158
+ checkbox : {disabled:true},
159
+ idName : 'id'
160
+ }
161
+ });
162
162
  })(jQuery);
@@ -1,168 +1,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"}],
23
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
24
- },
25
- edit : {
26
- addCaption: "Tambah Data",
27
- editCaption: "Sunting Data",
28
- bSubmit: "Submit",
29
- bCancel: "Tutup",
30
- bClose: "Tutup",
31
- saveData: "Data telah berubah! Simpan perubahan?",
32
- bYes : "Ya",
33
- bNo : "Tidak",
34
- bExit : "Tutup",
35
- msg: {
36
- required:"kolom wajib diisi",
37
- number:"hanya nomer yang diperbolehkan",
38
- minValue:"kolom harus lebih besar dari atau sama dengan",
39
- maxValue:"kolom harus lebih kecil atau sama dengan",
40
- email: "alamat e-mail tidak valid",
41
- integer: "hanya nilai integer yang diperbolehkan",
42
- date: "nilai tanggal tidak valid",
43
- url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
44
- nodefined : " belum didefinisikan!",
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
- },
51
- view : {
52
- caption: "Menampilkan data",
53
- bClose: "Tutup"
54
- },
55
- del : {
56
- caption: "Hapus",
57
- msg: "Hapus data terpilih?",
58
- bSubmit: "Hapus",
59
- bCancel: "Batalkan"
60
- },
61
- nav : {
62
- edittext: "",
63
- edittitle: "Sunting data terpilih",
64
- addtext:"",
65
- addtitle: "Tambah baris baru",
66
- deltext: "",
67
- deltitle: "Hapus baris terpilih",
68
- searchtext: "",
69
- searchtitle: "Temukan data",
70
- refreshtext: "",
71
- refreshtitle: "Segarkan Grid",
72
- alertcap: "Warning",
73
- alerttext: "Harap pilih baris",
74
- viewtext: "",
75
- viewtitle: "Tampilkan baris terpilih"
76
- },
77
- col : {
78
- caption: "Pilih Kolom",
79
- bSubmit: "Ok",
80
- bCancel: "Batal"
81
- },
82
- errors : {
83
- errcap : "Error",
84
- nourl : "Tidak ada url yang diset",
85
- norecords: "Tidak ada data untuk diproses",
86
- model : "Lebar dari colNames <> colModel!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: ".", defaultValue: '0'},
90
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
91
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
92
- date : {
93
- dayNames: [
94
- "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
95
- "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
96
- ],
97
- monthNames: [
98
- "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
99
- "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
100
- ],
101
- AmPm : ["am","pm","AM","PM"],
102
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
103
- srcformat: 'Y-m-d',
104
- newformat: 'n/j/Y',
105
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
106
- masks : {
107
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
108
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
109
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
110
- // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
111
- // information about date, time, numbers and currency formats used in different countries
112
- // one should just convert the information in PHP format
113
- ISO8601Long:"Y-m-d H:i:s",
114
- ISO8601Short:"Y-m-d",
115
- // short date:
116
- // n - Numeric representation of a month, without leading zeros
117
- // j - Day of the month without leading zeros
118
- // Y - A full numeric representation of a year, 4 digits
119
- // example: 3/1/2012 which means 1 March 2012
120
- ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
121
- // long date:
122
- // l - A full textual representation of the day of the week
123
- // F - A full textual representation of a month
124
- // d - Day of the month, 2 digits with leading zeros
125
- // Y - A full numeric representation of a year, 4 digits
126
- LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
127
- // long date with long time:
128
- // l - A full textual representation of the day of the week
129
- // F - A full textual representation of a month
130
- // d - Day of the month, 2 digits with leading zeros
131
- // Y - A full numeric representation of a year, 4 digits
132
- // g - 12-hour format of an hour without leading zeros
133
- // i - Minutes with leading zeros
134
- // s - Seconds, with leading zeros
135
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
136
- FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
137
- // month day:
138
- // F - A full textual representation of a month
139
- // d - Day of the month, 2 digits with leading zeros
140
- MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
141
- // short time (without seconds)
142
- // g - 12-hour format of an hour without leading zeros
143
- // i - Minutes with leading zeros
144
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
145
- ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
146
- // long time (with seconds)
147
- // g - 12-hour format of an hour without leading zeros
148
- // i - Minutes with leading zeros
149
- // s - Seconds, with leading zeros
150
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
151
- LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
152
- SortableDateTime: "Y-m-d\\TH:i:s",
153
- UniversalSortableDateTime: "Y-m-d H:i:sO",
154
- // month with year
155
- // Y - A full numeric representation of a year, 4 digits
156
- // F - A full textual representation of a month
157
- YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
158
- },
159
- reformatAfterEdit : false
160
- },
161
- baseLinkUrl: '',
162
- showAction: '',
163
- target: '',
164
- checkbox : {disabled:true},
165
- idName : 'id'
166
- }
167
- });
168
- })(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: [{ 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
+ edit : {
26
+ addCaption: "Tambah Data",
27
+ editCaption: "Sunting Data",
28
+ bSubmit: "Submit",
29
+ bCancel: "Tutup",
30
+ bClose: "Tutup",
31
+ saveData: "Data telah berubah! Simpan perubahan?",
32
+ bYes : "Ya",
33
+ bNo : "Tidak",
34
+ bExit : "Tutup",
35
+ msg: {
36
+ required:"kolom wajib diisi",
37
+ number:"hanya nomer yang diperbolehkan",
38
+ minValue:"kolom harus lebih besar dari atau sama dengan",
39
+ maxValue:"kolom harus lebih kecil atau sama dengan",
40
+ email: "alamat e-mail tidak valid",
41
+ integer: "hanya nilai integer yang diperbolehkan",
42
+ date: "nilai tanggal tidak valid",
43
+ url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
44
+ nodefined : " belum didefinisikan!",
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
+ },
51
+ view : {
52
+ caption: "Menampilkan data",
53
+ bClose: "Tutup"
54
+ },
55
+ del : {
56
+ caption: "Hapus",
57
+ msg: "Hapus data terpilih?",
58
+ bSubmit: "Hapus",
59
+ bCancel: "Batalkan"
60
+ },
61
+ nav : {
62
+ edittext: "",
63
+ edittitle: "Sunting data terpilih",
64
+ addtext:"",
65
+ addtitle: "Tambah baris baru",
66
+ deltext: "",
67
+ deltitle: "Hapus baris terpilih",
68
+ searchtext: "",
69
+ searchtitle: "Temukan data",
70
+ refreshtext: "",
71
+ refreshtitle: "Segarkan Grid",
72
+ alertcap: "Warning",
73
+ alerttext: "Harap pilih baris",
74
+ viewtext: "",
75
+ viewtitle: "Tampilkan baris terpilih"
76
+ },
77
+ col : {
78
+ caption: "Pilih Kolom",
79
+ bSubmit: "Ok",
80
+ bCancel: "Batal"
81
+ },
82
+ errors : {
83
+ errcap : "Error",
84
+ nourl : "Tidak ada url yang diset",
85
+ norecords: "Tidak ada data untuk diproses",
86
+ model : "Lebar dari colNames <> colModel!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: ".", defaultValue: '0'},
90
+ number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
91
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
92
+ date : {
93
+ dayNames: [
94
+ "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
95
+ "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
96
+ ],
97
+ monthNames: [
98
+ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
99
+ "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
100
+ ],
101
+ AmPm : ["am","pm","AM","PM"],
102
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'n/j/Y',
105
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
106
+ masks : {
107
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
108
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
109
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
110
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
111
+ // information about date, time, numbers and currency formats used in different countries
112
+ // one should just convert the information in PHP format
113
+ ISO8601Long:"Y-m-d H:i:s",
114
+ ISO8601Short:"Y-m-d",
115
+ // short date:
116
+ // n - Numeric representation of a month, without leading zeros
117
+ // j - Day of the month without leading zeros
118
+ // Y - A full numeric representation of a year, 4 digits
119
+ // example: 3/1/2012 which means 1 March 2012
120
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
121
+ // long date:
122
+ // l - A full textual representation of the day of the week
123
+ // F - A full textual representation of a month
124
+ // d - Day of the month, 2 digits with leading zeros
125
+ // Y - A full numeric representation of a year, 4 digits
126
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
127
+ // long date with long time:
128
+ // l - A full textual representation of the day of the week
129
+ // F - A full textual representation of a month
130
+ // d - Day of the month, 2 digits with leading zeros
131
+ // Y - A full numeric representation of a year, 4 digits
132
+ // g - 12-hour format of an hour without leading zeros
133
+ // i - Minutes with leading zeros
134
+ // s - Seconds, with leading zeros
135
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
136
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
137
+ // month day:
138
+ // F - A full textual representation of a month
139
+ // d - Day of the month, 2 digits with leading zeros
140
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
141
+ // short time (without seconds)
142
+ // g - 12-hour format of an hour without leading zeros
143
+ // i - Minutes with leading zeros
144
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
145
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
146
+ // long time (with seconds)
147
+ // g - 12-hour format of an hour without leading zeros
148
+ // i - Minutes with leading zeros
149
+ // s - Seconds, with leading zeros
150
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
151
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
152
+ SortableDateTime: "Y-m-d\\TH:i:s",
153
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
154
+ // month with year
155
+ // Y - A full numeric representation of a year, 4 digits
156
+ // F - A full textual representation of a month
157
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
158
+ },
159
+ reformatAfterEdit : false
160
+ },
161
+ baseLinkUrl: '',
162
+ showAction: '',
163
+ target: '',
164
+ checkbox : {disabled:true},
165
+ idName : 'id'
166
+ }
167
+ });
168
+ })(jQuery);