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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76dd4df0e2ef0834763f6e792ddc33e6554e88cb
|
4
|
+
data.tar.gz: c78fc49ebf6b694fac5f7006e43ed499f43eb933
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1f1c0becd2920c874958f5ef1ddcfbfb460c33d7811e7176c2efea33505e106027b398ec66b36a3bb8e57e47bb72a7069456127c066e54e6cf6b800876c9d3b
|
7
|
+
data.tar.gz: 095e29ed24c767254fd8503d94d61445afb86dd6e4a20c7c4ba61ba7d273ae0dd38cfffec974d8cae015bea4ee9df6c835122d9f809773fb2fc5fd16900a935a
|
data/README.md
CHANGED
@@ -1,146 +1,146 @@
|
|
1
|
-
;(function ($) {
|
2
|
-
/**
|
3
|
-
* jqGrid Persian Translation
|
4
|
-
* Dual licensed under the MIT and GPL licenses:
|
5
|
-
* http://www.opensource.org/licenses/mit-license.php
|
6
|
-
* http://www.gnu.org/licenses/gpl.html
|
7
|
-
**/
|
8
|
-
$.jgrid = $.jgrid || {};
|
9
|
-
$.extend($.jgrid,{
|
10
|
-
defaults: {
|
11
|
-
recordtext: "نمابش {0} - {1} از {2}",
|
12
|
-
emptyrecords: "رکوردی یافت نشد",
|
13
|
-
loadtext: "بارگزاري...",
|
14
|
-
pgtext: "صفحه {0} از {1}"
|
15
|
-
},
|
16
|
-
search: {
|
17
|
-
caption: "جستجو...",
|
18
|
-
Find: "يافته ها",
|
19
|
-
Reset: "از نو",
|
20
|
-
odata: ['برابر', 'نا برابر', 'به', 'کوچکتر', 'از', 'بزرگتر', 'شروع با', 'شروع نشود با', 'نباشد', 'عضو این نباشد', 'اتمام با', 'تمام نشود با', 'حاوی', 'نباشد حاوی'],
|
21
|
-
groupOps: [{
|
22
|
-
op: "AND",
|
23
|
-
text: "کل"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
op: "OR",
|
27
|
-
text: "مجموع"
|
28
|
-
}],
|
29
|
-
matchText: " حاوی",
|
30
|
-
rulesText: " اطلاعات"
|
31
|
-
},
|
32
|
-
edit: {
|
33
|
-
addCaption: "اضافه کردن رکورد",
|
34
|
-
editCaption: "ويرايش رکورد",
|
35
|
-
bSubmit: "ثبت",
|
36
|
-
bCancel: "انصراف",
|
37
|
-
bClose: "بستن",
|
38
|
-
saveData: "دیتا تعییر کرد! ذخیره شود؟",
|
39
|
-
bYes: "بله",
|
40
|
-
bNo: "خیر",
|
41
|
-
bExit: "انصراف",
|
42
|
-
msg: {
|
43
|
-
required: "فيلدها بايد ختما پر شوند",
|
44
|
-
number: "لطفا عدد وعتبر وارد کنيد",
|
45
|
-
minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با",
|
46
|
-
maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي",
|
47
|
-
email: "پست الکترونيک وارد شده معتبر نيست",
|
48
|
-
integer: "لطفا يک عدد صحيح وارد کنيد",
|
49
|
-
date: "لطفا يک تاريخ معتبر وارد کنيد",
|
50
|
-
url: "این آدرس صحیح نمی باشد. پیشوند نیاز است ('http://' یا 'https://')",
|
51
|
-
nodefined: " تعریف نشده!",
|
52
|
-
novalue: " مقدار برگشتی اجباری است!",
|
53
|
-
customarray: "تابع شما باید مقدار آرایه داشته باشد!",
|
54
|
-
customfcheck: "برای داشتن متد دلخواه شما باید سطون با چکینگ دلخواه داشته باشید!"
|
55
|
-
}
|
56
|
-
},
|
57
|
-
view: {
|
58
|
-
caption: "نمایش رکورد",
|
59
|
-
bClose: "بستن"
|
60
|
-
},
|
61
|
-
del: {
|
62
|
-
caption: "حذف",
|
63
|
-
msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
|
64
|
-
bSubmit: "حذف",
|
65
|
-
bCancel: "ابطال"
|
66
|
-
},
|
67
|
-
nav: {
|
68
|
-
edittext: " ",
|
69
|
-
edittitle: "ويرايش رديف هاي انتخاب شده",
|
70
|
-
addtext: " ",
|
71
|
-
addtitle: "افزودن رديف جديد",
|
72
|
-
deltext: " ",
|
73
|
-
deltitle: "حذف ردبف هاي انتیاب شده",
|
74
|
-
searchtext: " ",
|
75
|
-
searchtitle: "جستجوي رديف",
|
76
|
-
refreshtext: "",
|
77
|
-
refreshtitle: "بازيابي مجدد صفحه",
|
78
|
-
alertcap: "اخطار",
|
79
|
-
alerttext: "لطفا يک رديف انتخاب کنيد",
|
80
|
-
viewtext: "",
|
81
|
-
viewtitle: "نمایش رکورد های انتخاب شده"
|
82
|
-
},
|
83
|
-
col: {
|
84
|
-
caption: "نمايش/عدم نمايش ستون",
|
85
|
-
bSubmit: "ثبت",
|
86
|
-
bCancel: "انصراف"
|
87
|
-
},
|
88
|
-
errors: {
|
89
|
-
errcap: "خطا",
|
90
|
-
nourl: "هيچ آدرسي تنظيم نشده است",
|
91
|
-
norecords: "هيچ رکوردي براي پردازش موجود نيست",
|
92
|
-
model: "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
|
93
|
-
},
|
94
|
-
formatter: {
|
95
|
-
integer: {
|
96
|
-
thousandsSeparator: " ",
|
97
|
-
defaultValue: "0"
|
98
|
-
},
|
99
|
-
number: {
|
100
|
-
decimalSeparator: ".",
|
101
|
-
thousandsSeparator: " ",
|
102
|
-
decimalPlaces: 2,
|
103
|
-
defaultValue: "0.00"
|
104
|
-
},
|
105
|
-
currency: {
|
106
|
-
decimalSeparator: ".",
|
107
|
-
thousandsSeparator: " ",
|
108
|
-
decimalPlaces: 2,
|
109
|
-
prefix: "",
|
110
|
-
suffix: "",
|
111
|
-
defaultValue: "0"
|
112
|
-
},
|
113
|
-
date: {
|
114
|
-
dayNames: ["يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب", "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
|
115
|
-
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"],
|
116
|
-
AmPm: ["ب.ظ", "ب.ظ", "ق.ظ", "ق.ظ"],
|
117
|
-
S: function (b) {
|
118
|
-
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
119
|
-
},
|
120
|
-
srcformat: "Y-m-d",
|
121
|
-
newformat: "d/m/Y",
|
122
|
-
masks: {
|
123
|
-
ISO8601Long: "Y-m-d H:i:s",
|
124
|
-
ISO8601Short: "Y-m-d",
|
125
|
-
ShortDate: "n/j/Y",
|
126
|
-
LongDate: "l, F d, Y",
|
127
|
-
FullDateTime: "l, F d, Y g:i:s A",
|
128
|
-
MonthDay: "F d",
|
129
|
-
ShortTime: "g:i A",
|
130
|
-
LongTime: "g:i:s A",
|
131
|
-
SortableDateTime: "Y-m-d\\TH:i:s",
|
132
|
-
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
133
|
-
YearMonth: "F, Y"
|
134
|
-
},
|
135
|
-
reformatAfterEdit: false
|
136
|
-
},
|
137
|
-
baseLinkUrl: "",
|
138
|
-
showAction: "نمايش",
|
139
|
-
target: "",
|
140
|
-
checkbox: {
|
141
|
-
disabled: true
|
142
|
-
},
|
143
|
-
idName: "id"
|
144
|
-
}
|
145
|
-
});
|
1
|
+
;(function ($) {
|
2
|
+
/**
|
3
|
+
* jqGrid Persian Translation
|
4
|
+
* Dual licensed under the MIT and GPL licenses:
|
5
|
+
* http://www.opensource.org/licenses/mit-license.php
|
6
|
+
* http://www.gnu.org/licenses/gpl.html
|
7
|
+
**/
|
8
|
+
$.jgrid = $.jgrid || {};
|
9
|
+
$.extend($.jgrid,{
|
10
|
+
defaults: {
|
11
|
+
recordtext: "نمابش {0} - {1} از {2}",
|
12
|
+
emptyrecords: "رکوردی یافت نشد",
|
13
|
+
loadtext: "بارگزاري...",
|
14
|
+
pgtext: "صفحه {0} از {1}"
|
15
|
+
},
|
16
|
+
search: {
|
17
|
+
caption: "جستجو...",
|
18
|
+
Find: "يافته ها",
|
19
|
+
Reset: "از نو",
|
20
|
+
odata: ['برابر', 'نا برابر', 'به', 'کوچکتر', 'از', 'بزرگتر', 'شروع با', 'شروع نشود با', 'نباشد', 'عضو این نباشد', 'اتمام با', 'تمام نشود با', 'حاوی', 'نباشد حاوی'],
|
21
|
+
groupOps: [{
|
22
|
+
op: "AND",
|
23
|
+
text: "کل"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
op: "OR",
|
27
|
+
text: "مجموع"
|
28
|
+
}],
|
29
|
+
matchText: " حاوی",
|
30
|
+
rulesText: " اطلاعات"
|
31
|
+
},
|
32
|
+
edit: {
|
33
|
+
addCaption: "اضافه کردن رکورد",
|
34
|
+
editCaption: "ويرايش رکورد",
|
35
|
+
bSubmit: "ثبت",
|
36
|
+
bCancel: "انصراف",
|
37
|
+
bClose: "بستن",
|
38
|
+
saveData: "دیتا تعییر کرد! ذخیره شود؟",
|
39
|
+
bYes: "بله",
|
40
|
+
bNo: "خیر",
|
41
|
+
bExit: "انصراف",
|
42
|
+
msg: {
|
43
|
+
required: "فيلدها بايد ختما پر شوند",
|
44
|
+
number: "لطفا عدد وعتبر وارد کنيد",
|
45
|
+
minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با",
|
46
|
+
maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي",
|
47
|
+
email: "پست الکترونيک وارد شده معتبر نيست",
|
48
|
+
integer: "لطفا يک عدد صحيح وارد کنيد",
|
49
|
+
date: "لطفا يک تاريخ معتبر وارد کنيد",
|
50
|
+
url: "این آدرس صحیح نمی باشد. پیشوند نیاز است ('http://' یا 'https://')",
|
51
|
+
nodefined: " تعریف نشده!",
|
52
|
+
novalue: " مقدار برگشتی اجباری است!",
|
53
|
+
customarray: "تابع شما باید مقدار آرایه داشته باشد!",
|
54
|
+
customfcheck: "برای داشتن متد دلخواه شما باید سطون با چکینگ دلخواه داشته باشید!"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
view: {
|
58
|
+
caption: "نمایش رکورد",
|
59
|
+
bClose: "بستن"
|
60
|
+
},
|
61
|
+
del: {
|
62
|
+
caption: "حذف",
|
63
|
+
msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
|
64
|
+
bSubmit: "حذف",
|
65
|
+
bCancel: "ابطال"
|
66
|
+
},
|
67
|
+
nav: {
|
68
|
+
edittext: " ",
|
69
|
+
edittitle: "ويرايش رديف هاي انتخاب شده",
|
70
|
+
addtext: " ",
|
71
|
+
addtitle: "افزودن رديف جديد",
|
72
|
+
deltext: " ",
|
73
|
+
deltitle: "حذف ردبف هاي انتیاب شده",
|
74
|
+
searchtext: " ",
|
75
|
+
searchtitle: "جستجوي رديف",
|
76
|
+
refreshtext: "",
|
77
|
+
refreshtitle: "بازيابي مجدد صفحه",
|
78
|
+
alertcap: "اخطار",
|
79
|
+
alerttext: "لطفا يک رديف انتخاب کنيد",
|
80
|
+
viewtext: "",
|
81
|
+
viewtitle: "نمایش رکورد های انتخاب شده"
|
82
|
+
},
|
83
|
+
col: {
|
84
|
+
caption: "نمايش/عدم نمايش ستون",
|
85
|
+
bSubmit: "ثبت",
|
86
|
+
bCancel: "انصراف"
|
87
|
+
},
|
88
|
+
errors: {
|
89
|
+
errcap: "خطا",
|
90
|
+
nourl: "هيچ آدرسي تنظيم نشده است",
|
91
|
+
norecords: "هيچ رکوردي براي پردازش موجود نيست",
|
92
|
+
model: "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
|
93
|
+
},
|
94
|
+
formatter: {
|
95
|
+
integer: {
|
96
|
+
thousandsSeparator: " ",
|
97
|
+
defaultValue: "0"
|
98
|
+
},
|
99
|
+
number: {
|
100
|
+
decimalSeparator: ".",
|
101
|
+
thousandsSeparator: " ",
|
102
|
+
decimalPlaces: 2,
|
103
|
+
defaultValue: "0.00"
|
104
|
+
},
|
105
|
+
currency: {
|
106
|
+
decimalSeparator: ".",
|
107
|
+
thousandsSeparator: " ",
|
108
|
+
decimalPlaces: 2,
|
109
|
+
prefix: "",
|
110
|
+
suffix: "",
|
111
|
+
defaultValue: "0"
|
112
|
+
},
|
113
|
+
date: {
|
114
|
+
dayNames: ["يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب", "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
|
115
|
+
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"],
|
116
|
+
AmPm: ["ب.ظ", "ب.ظ", "ق.ظ", "ق.ظ"],
|
117
|
+
S: function (b) {
|
118
|
+
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
119
|
+
},
|
120
|
+
srcformat: "Y-m-d",
|
121
|
+
newformat: "d/m/Y",
|
122
|
+
masks: {
|
123
|
+
ISO8601Long: "Y-m-d H:i:s",
|
124
|
+
ISO8601Short: "Y-m-d",
|
125
|
+
ShortDate: "n/j/Y",
|
126
|
+
LongDate: "l, F d, Y",
|
127
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
128
|
+
MonthDay: "F d",
|
129
|
+
ShortTime: "g:i A",
|
130
|
+
LongTime: "g:i:s A",
|
131
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
132
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
133
|
+
YearMonth: "F, Y"
|
134
|
+
},
|
135
|
+
reformatAfterEdit: false
|
136
|
+
},
|
137
|
+
baseLinkUrl: "",
|
138
|
+
showAction: "نمايش",
|
139
|
+
target: "",
|
140
|
+
checkbox: {
|
141
|
+
disabled: true
|
142
|
+
},
|
143
|
+
idName: "id"
|
144
|
+
}
|
145
|
+
});
|
146
146
|
})(jQuery);
|
@@ -1,163 +1,163 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Croatian Translation
|
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
|
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);
|