jqgrid-jquery-rails 4.5.202 → 4.5.300
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/jqgrid-jquery-rails/version.rb +1 -1
- data/spec/features/asset_pipeline_spec.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -126
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +144 -144
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -129
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -126
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +161 -161
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +161 -161
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -168
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -126
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -128
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +6 -1
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +128 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -128
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -128
- data/vendor/assets/javascripts/jquery.jqGrid.js +8259 -20706
- data/vendor/assets/stylesheets/ui.jqgrid.css +13 -3
- metadata +2 -2
@@ -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);
|
@@ -1,126 +1,126 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Icelandic Translation
|
4
|
-
* jtm@hi.is Univercity of Iceland
|
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
|
-
$.jgrid = $.jgrid || {};
|
10
|
-
$.extend($.jgrid,{
|
11
|
-
defaults : {
|
12
|
-
recordtext: "Skoða {0} - {1} af {2}",
|
13
|
-
emptyrecords: "Engar færslur",
|
14
|
-
loadtext: "Hleður...",
|
15
|
-
pgtext : "Síða {0} af {1}"
|
16
|
-
},
|
17
|
-
search : {
|
18
|
-
caption: "Leita...",
|
19
|
-
Find: "Leita",
|
20
|
-
Reset: "Endursetja",
|
21
|
-
odata: [{ oper:'eq', text:"sama og"},{ oper:'ne', text:"ekki sama og"},{ oper:'lt', text:"minna en"},{ oper:'le', text:"minna eða jafnt og"},{ oper:'gt', text:"stærra en"},{ oper:'ge', text:"stærra eða jafnt og"},{ oper:'bw', text:"byrjar á"},{ oper:'bn', text:"byrjar ekki á"},{ oper:'in', text:"er í"},{ oper:'ni', text:"er ekki í"},{ oper:'ew', text:"endar á"},{ oper:'en', text:"endar ekki á"},{ oper:'cn', text:"inniheldur"},{ oper:'nc', text:"inniheldur ekki"}],
|
22
|
-
groupOps: [ { op: "AND", text: "allt" }, { op: "OR", text: "eða" } ]
|
23
|
-
},
|
24
|
-
edit : {
|
25
|
-
addCaption: "Bæta við færslu",
|
26
|
-
editCaption: "Breyta færslu",
|
27
|
-
bSubmit: "Vista",
|
28
|
-
bCancel: "Hætta við",
|
29
|
-
bClose: "Loka",
|
30
|
-
saveData: "Gögn hafa breyst! Vista breytingar?",
|
31
|
-
bYes : "Já",
|
32
|
-
bNo : "Nei",
|
33
|
-
bExit : "Hætta við",
|
34
|
-
msg: {
|
35
|
-
required:"Reitur er nauðsynlegur",
|
36
|
-
number:"Vinsamlega settu inn tölu",
|
37
|
-
minValue:"gildi verður að vera meira en eða jafnt og ",
|
38
|
-
maxValue:"gildi verður að vera minna en eða jafnt og ",
|
39
|
-
email: "er ekki löglegt email",
|
40
|
-
integer: "Vinsamlega settu inn tölu",
|
41
|
-
date: "Vinsamlega setti inn dagsetningu",
|
42
|
-
url: "er ekki löglegt URL. Vantar ('http://' eða 'https://')",
|
43
|
-
nodefined : " er ekki skilgreint!",
|
44
|
-
novalue : " skilagildi nauðsynlegt!",
|
45
|
-
customarray : "Fall skal skila fylki!",
|
46
|
-
customfcheck : "Fall skal vera skilgreint!"
|
47
|
-
}
|
48
|
-
},
|
49
|
-
view : {
|
50
|
-
caption: "Skoða færslu",
|
51
|
-
bClose: "Loka"
|
52
|
-
},
|
53
|
-
del : {
|
54
|
-
caption: "Eyða",
|
55
|
-
msg: "Eyða völdum færslum ?",
|
56
|
-
bSubmit: "Eyða",
|
57
|
-
bCancel: "Hætta við"
|
58
|
-
},
|
59
|
-
nav : {
|
60
|
-
edittext: " ",
|
61
|
-
edittitle: "Breyta færslu",
|
62
|
-
addtext:" ",
|
63
|
-
addtitle: "Ný færsla",
|
64
|
-
deltext: " ",
|
65
|
-
deltitle: "Eyða færslu",
|
66
|
-
searchtext: " ",
|
67
|
-
searchtitle: "Leita",
|
68
|
-
refreshtext: "",
|
69
|
-
refreshtitle: "Endurhlaða",
|
70
|
-
alertcap: "Viðvörun",
|
71
|
-
alerttext: "Vinsamlega veldu færslu",
|
72
|
-
viewtext: "",
|
73
|
-
viewtitle: "Skoða valda færslu"
|
74
|
-
},
|
75
|
-
col : {
|
76
|
-
caption: "Sýna / fela dálka",
|
77
|
-
bSubmit: "Vista",
|
78
|
-
bCancel: "Hætta við"
|
79
|
-
},
|
80
|
-
errors : {
|
81
|
-
errcap : "Villa",
|
82
|
-
nourl : "Vantar slóð",
|
83
|
-
norecords: "Engar færslur valdar",
|
84
|
-
model : "Lengd colNames <> colModel!"
|
85
|
-
},
|
86
|
-
formatter : {
|
87
|
-
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
88
|
-
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
89
|
-
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
|
90
|
-
date : {
|
91
|
-
dayNames: [
|
92
|
-
"Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau",
|
93
|
-
"Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur"
|
94
|
-
],
|
95
|
-
monthNames: [
|
96
|
-
"Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Oct", "Nóv", "Des",
|
97
|
-
"Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júný", "Júlý", "Ágúst", "September", "Október", "Nóvember", "Desember"
|
98
|
-
],
|
99
|
-
AmPm : ["am","pm","AM","PM"],
|
100
|
-
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
101
|
-
srcformat: 'Y-m-d',
|
102
|
-
newformat: 'd/m/Y',
|
103
|
-
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
104
|
-
masks : {
|
105
|
-
ISO8601Long:"Y-m-d H:i:s",
|
106
|
-
ISO8601Short:"Y-m-d",
|
107
|
-
ShortDate: "n/j/Y",
|
108
|
-
LongDate: "l, F d, Y",
|
109
|
-
FullDateTime: "l, F d, Y g:i:s A",
|
110
|
-
MonthDay: "F d",
|
111
|
-
ShortTime: "g:i A",
|
112
|
-
LongTime: "g:i:s A",
|
113
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
114
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
115
|
-
YearMonth: "F, Y"
|
116
|
-
},
|
117
|
-
reformatAfterEdit : false
|
118
|
-
},
|
119
|
-
baseLinkUrl: '',
|
120
|
-
showAction: '',
|
121
|
-
target: '',
|
122
|
-
checkbox : {disabled:true},
|
123
|
-
idName : 'id'
|
124
|
-
}
|
125
|
-
});
|
126
|
-
})(jQuery);
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Icelandic Translation
|
4
|
+
* jtm@hi.is Univercity of Iceland
|
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
|
+
$.jgrid = $.jgrid || {};
|
10
|
+
$.extend($.jgrid,{
|
11
|
+
defaults : {
|
12
|
+
recordtext: "Skoða {0} - {1} af {2}",
|
13
|
+
emptyrecords: "Engar færslur",
|
14
|
+
loadtext: "Hleður...",
|
15
|
+
pgtext : "Síða {0} af {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Leita...",
|
19
|
+
Find: "Leita",
|
20
|
+
Reset: "Endursetja",
|
21
|
+
odata: [{ oper:'eq', text:"sama og"},{ oper:'ne', text:"ekki sama og"},{ oper:'lt', text:"minna en"},{ oper:'le', text:"minna eða jafnt og"},{ oper:'gt', text:"stærra en"},{ oper:'ge', text:"stærra eða jafnt og"},{ oper:'bw', text:"byrjar á"},{ oper:'bn', text:"byrjar ekki á"},{ oper:'in', text:"er í"},{ oper:'ni', text:"er ekki í"},{ oper:'ew', text:"endar á"},{ oper:'en', text:"endar ekki á"},{ oper:'cn', text:"inniheldur"},{ oper:'nc', text:"inniheldur ekki"}],
|
22
|
+
groupOps: [ { op: "AND", text: "allt" }, { op: "OR", text: "eða" } ]
|
23
|
+
},
|
24
|
+
edit : {
|
25
|
+
addCaption: "Bæta við færslu",
|
26
|
+
editCaption: "Breyta færslu",
|
27
|
+
bSubmit: "Vista",
|
28
|
+
bCancel: "Hætta við",
|
29
|
+
bClose: "Loka",
|
30
|
+
saveData: "Gögn hafa breyst! Vista breytingar?",
|
31
|
+
bYes : "Já",
|
32
|
+
bNo : "Nei",
|
33
|
+
bExit : "Hætta við",
|
34
|
+
msg: {
|
35
|
+
required:"Reitur er nauðsynlegur",
|
36
|
+
number:"Vinsamlega settu inn tölu",
|
37
|
+
minValue:"gildi verður að vera meira en eða jafnt og ",
|
38
|
+
maxValue:"gildi verður að vera minna en eða jafnt og ",
|
39
|
+
email: "er ekki löglegt email",
|
40
|
+
integer: "Vinsamlega settu inn tölu",
|
41
|
+
date: "Vinsamlega setti inn dagsetningu",
|
42
|
+
url: "er ekki löglegt URL. Vantar ('http://' eða 'https://')",
|
43
|
+
nodefined : " er ekki skilgreint!",
|
44
|
+
novalue : " skilagildi nauðsynlegt!",
|
45
|
+
customarray : "Fall skal skila fylki!",
|
46
|
+
customfcheck : "Fall skal vera skilgreint!"
|
47
|
+
}
|
48
|
+
},
|
49
|
+
view : {
|
50
|
+
caption: "Skoða færslu",
|
51
|
+
bClose: "Loka"
|
52
|
+
},
|
53
|
+
del : {
|
54
|
+
caption: "Eyða",
|
55
|
+
msg: "Eyða völdum færslum ?",
|
56
|
+
bSubmit: "Eyða",
|
57
|
+
bCancel: "Hætta við"
|
58
|
+
},
|
59
|
+
nav : {
|
60
|
+
edittext: " ",
|
61
|
+
edittitle: "Breyta færslu",
|
62
|
+
addtext:" ",
|
63
|
+
addtitle: "Ný færsla",
|
64
|
+
deltext: " ",
|
65
|
+
deltitle: "Eyða færslu",
|
66
|
+
searchtext: " ",
|
67
|
+
searchtitle: "Leita",
|
68
|
+
refreshtext: "",
|
69
|
+
refreshtitle: "Endurhlaða",
|
70
|
+
alertcap: "Viðvörun",
|
71
|
+
alerttext: "Vinsamlega veldu færslu",
|
72
|
+
viewtext: "",
|
73
|
+
viewtitle: "Skoða valda færslu"
|
74
|
+
},
|
75
|
+
col : {
|
76
|
+
caption: "Sýna / fela dálka",
|
77
|
+
bSubmit: "Vista",
|
78
|
+
bCancel: "Hætta við"
|
79
|
+
},
|
80
|
+
errors : {
|
81
|
+
errcap : "Villa",
|
82
|
+
nourl : "Vantar slóð",
|
83
|
+
norecords: "Engar færslur valdar",
|
84
|
+
model : "Lengd colNames <> colModel!"
|
85
|
+
},
|
86
|
+
formatter : {
|
87
|
+
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
88
|
+
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
89
|
+
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
|
90
|
+
date : {
|
91
|
+
dayNames: [
|
92
|
+
"Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau",
|
93
|
+
"Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur"
|
94
|
+
],
|
95
|
+
monthNames: [
|
96
|
+
"Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Oct", "Nóv", "Des",
|
97
|
+
"Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júný", "Júlý", "Ágúst", "September", "Október", "Nóvember", "Desember"
|
98
|
+
],
|
99
|
+
AmPm : ["am","pm","AM","PM"],
|
100
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
101
|
+
srcformat: 'Y-m-d',
|
102
|
+
newformat: 'd/m/Y',
|
103
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
104
|
+
masks : {
|
105
|
+
ISO8601Long:"Y-m-d H:i:s",
|
106
|
+
ISO8601Short:"Y-m-d",
|
107
|
+
ShortDate: "n/j/Y",
|
108
|
+
LongDate: "l, F d, Y",
|
109
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
110
|
+
MonthDay: "F d",
|
111
|
+
ShortTime: "g:i A",
|
112
|
+
LongTime: "g:i:s A",
|
113
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
114
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
115
|
+
YearMonth: "F, Y"
|
116
|
+
},
|
117
|
+
reformatAfterEdit : false
|
118
|
+
},
|
119
|
+
baseLinkUrl: '',
|
120
|
+
showAction: '',
|
121
|
+
target: '',
|
122
|
+
checkbox : {disabled:true},
|
123
|
+
idName : 'id'
|
124
|
+
}
|
125
|
+
});
|
126
|
+
})(jQuery);
|