jqgrid-jquery-rails 4.5.400 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/jqgrid-jquery-rails/version.rb +2 -2
- data/spec/features/asset_pipeline_spec.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +41 -39
- data/vendor/assets/javascripts/i18n/grid.locale-dk.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +146 -144
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +131 -129
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +164 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +164 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +170 -168
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +6 -3
- data/vendor/assets/javascripts/i18n/grid.locale-kr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +4 -2
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +66 -64
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-tw.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-vi.js +5 -3
- data/vendor/assets/javascripts/jquery.jqGrid.js +1109 -536
- data/vendor/assets/stylesheets/ui.jqgrid.css +17 -8
- metadata +2 -2
@@ -18,8 +18,10 @@ $.jgrid = {
|
|
18
18
|
caption: "Søg...",
|
19
19
|
Find: "Find",
|
20
20
|
Reset: "Nulstil",
|
21
|
-
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'}],
|
22
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
21
|
+
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
22
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
23
|
+
operandTitle : "Click to select search operation.",
|
24
|
+
resetTitle : "Reset Search Value"
|
23
25
|
},
|
24
26
|
edit : {
|
25
27
|
addCaption: "Tilføj",
|
@@ -100,7 +102,7 @@ $.jgrid = {
|
|
100
102
|
S: function (j) {return '.'},
|
101
103
|
srcformat: 'Y-m-d',
|
102
104
|
newformat: 'd/m/Y',
|
103
|
-
parseRe : /[
|
105
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
104
106
|
masks : {
|
105
107
|
ISO8601Long:"Y-m-d H:i:s",
|
106
108
|
ISO8601Short:"Y-m-d",
|
@@ -19,8 +19,10 @@ $.extend($.jgrid,{
|
|
19
19
|
caption: "Αναζήτηση...",
|
20
20
|
Find: "Εύρεση",
|
21
21
|
Reset: "Επαναφορά",
|
22
|
-
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'}],
|
23
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
22
|
+
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
23
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
24
|
+
operandTitle : "Click to select search operation.",
|
25
|
+
resetTitle : "Reset Search Value"
|
24
26
|
},
|
25
27
|
edit : {
|
26
28
|
addCaption: "Εισαγωγή Εγγραφής",
|
@@ -100,7 +102,7 @@ $.extend($.jgrid,{
|
|
100
102
|
S: function (j) {return j == 1 || j > 1 ? ['η'][Math.min((j - 1) % 10, 3)] : ''},
|
101
103
|
srcformat: 'Y-m-d',
|
102
104
|
newformat: 'd/m/Y',
|
103
|
-
parseRe : /[
|
105
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
104
106
|
masks : {
|
105
107
|
ISO8601Long:"Y-m-d H:i:s",
|
106
108
|
ISO8601Short:"Y-m-d",
|
@@ -19,8 +19,10 @@ $.extend($.jgrid,{
|
|
19
19
|
caption: "Search...",
|
20
20
|
Find: "Find",
|
21
21
|
Reset: "Reset",
|
22
|
-
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'}],
|
23
|
-
groupOps: [
|
22
|
+
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
23
|
+
groupOps: [{ op: "AND", text: "all" },{ op: "OR", text: "any" }],
|
24
|
+
operandTitle : "Click to select search operation.",
|
25
|
+
resetTitle : "Reset Search Value"
|
24
26
|
},
|
25
27
|
edit : {
|
26
28
|
addCaption: "Add Record",
|
@@ -102,7 +104,7 @@ $.extend($.jgrid,{
|
|
102
104
|
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
|
103
105
|
srcformat: 'Y-m-d',
|
104
106
|
newformat: 'n/j/Y',
|
105
|
-
parseRe : /[
|
107
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
106
108
|
masks : {
|
107
109
|
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
108
110
|
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
@@ -20,8 +20,10 @@ $.extend($.jgrid,{
|
|
20
20
|
caption: "Búsqueda...",
|
21
21
|
Find: "Buscar",
|
22
22
|
Reset: "Limpiar",
|
23
|
-
odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"no igual a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor o igual que"},{ oper:'gt', text:"mayor que"},{ oper:'ge', text:"mayor o igual a"},{ oper:'bw', text:"empiece por"},{ oper:'bn', text:"no empiece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"no está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"no termina por"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"no contiene"}],
|
24
|
-
groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ]
|
23
|
+
odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"no igual a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor o igual que"},{ oper:'gt', text:"mayor que"},{ oper:'ge', text:"mayor o igual a"},{ oper:'bw', text:"empiece por"},{ oper:'bn', text:"no empiece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"no está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"no termina por"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"no contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
24
|
+
groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ],
|
25
|
+
operandTitle : "Click to select search operation.",
|
26
|
+
resetTitle : "Reset Search Value"
|
25
27
|
},
|
26
28
|
edit : {
|
27
29
|
addCaption: "Agregar registro",
|
@@ -102,7 +104,7 @@ $.extend($.jgrid,{
|
|
102
104
|
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
105
|
srcformat: 'Y-m-d',
|
104
106
|
newformat: 'd-m-Y',
|
105
|
-
parseRe : /[
|
107
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
106
108
|
masks : {
|
107
109
|
ISO8601Long:"Y-m-d H:i:s",
|
108
110
|
ISO8601Short:"Y-m-d",
|
@@ -1,145 +1,147 @@
|
|
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: [{ oper:'eq', text:"برابر"},{ oper:'ne', text:"نا برابر"},{ oper:'lt', text:"به"},{ oper:'le', text:"کوچکتر"},{ oper:'gt', text:"از"},{ oper:'ge', text:"بزرگتر"},{ oper:'bw', text:"شروع با"},{ oper:'bn', text:"شروع نشود با"},{ oper:'in', text:"نباشد"},{ oper:'ni', text:"عضو این نباشد"},{ oper:'ew', text:"اتمام با"},{ oper:'en', text:"تمام نشود با"},{ oper:'cn', text:"حاوی"},{ oper:'nc', text:"نباشد حاوی"}],
|
21
|
-
groupOps: [{
|
22
|
-
op: "AND",
|
23
|
-
text: "کل"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
op: "OR",
|
27
|
-
text: "مجموع"
|
28
|
-
}]
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
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: [{ oper:'eq', text:"برابر"},{ oper:'ne', text:"نا برابر"},{ oper:'lt', text:"به"},{ oper:'le', text:"کوچکتر"},{ oper:'gt', text:"از"},{ oper:'ge', text:"بزرگتر"},{ oper:'bw', text:"شروع با"},{ oper:'bn', text:"شروع نشود با"},{ oper:'in', text:"نباشد"},{ oper:'ni', text:"عضو این نباشد"},{ oper:'ew', text:"اتمام با"},{ oper:'en', text:"تمام نشود با"},{ oper:'cn', text:"حاوی"},{ oper:'nc', text:"نباشد حاوی"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
21
|
+
groupOps: [{
|
22
|
+
op: "AND",
|
23
|
+
text: "کل"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
op: "OR",
|
27
|
+
text: "مجموع"
|
28
|
+
}],
|
29
|
+
operandTitle : "Click to select search operation.",
|
30
|
+
resetTitle : "Reset Search Value"
|
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
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
123
|
+
masks: {
|
124
|
+
ISO8601Long: "Y-m-d H:i:s",
|
125
|
+
ISO8601Short: "Y-m-d",
|
126
|
+
ShortDate: "n/j/Y",
|
127
|
+
LongDate: "l, F d, Y",
|
128
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
129
|
+
MonthDay: "F d",
|
130
|
+
ShortTime: "g:i A",
|
131
|
+
LongTime: "g:i:s A",
|
132
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
133
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
134
|
+
YearMonth: "F, Y"
|
135
|
+
},
|
136
|
+
reformatAfterEdit: false
|
137
|
+
},
|
138
|
+
baseLinkUrl: "",
|
139
|
+
showAction: "نمايش",
|
140
|
+
target: "",
|
141
|
+
checkbox: {
|
142
|
+
disabled: true
|
143
|
+
},
|
144
|
+
idName: "id"
|
145
|
+
}
|
146
|
+
});
|
145
147
|
})(jQuery);
|
@@ -1,129 +1,131 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid (fi) Finnish Translation
|
4
|
-
* Jukka Inkeri awot.fi 2010-05-19
|
5
|
-
* Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
|
6
|
-
* http://awot.fi
|
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: "Rivit {0} - {1} / {2}",
|
15
|
-
emptyrecords: "Ei näytettäviä",
|
16
|
-
loadtext: "Haetaan...",
|
17
|
-
pgtext: "Sivu {0} / {1}"
|
18
|
-
},
|
19
|
-
search: {
|
20
|
-
caption: "Etsi...",
|
21
|
-
Find: "Etsi",
|
22
|
-
Reset: "Tyhjennä",
|
23
|
-
odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yhtäsuuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yhtäsuuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sisältää"},{ oper:'nc', text:"ei sisällä"},{ oper:'nu', text:"on tyhjä"},{ oper:'nn', text:"ei ole tyhjä"}],
|
24
|
-
groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" } ]
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
})
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid (fi) Finnish Translation
|
4
|
+
* Jukka Inkeri awot.fi 2010-05-19
|
5
|
+
* Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
|
6
|
+
* http://awot.fi
|
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: "Rivit {0} - {1} / {2}",
|
15
|
+
emptyrecords: "Ei näytettäviä",
|
16
|
+
loadtext: "Haetaan...",
|
17
|
+
pgtext: "Sivu {0} / {1}"
|
18
|
+
},
|
19
|
+
search: {
|
20
|
+
caption: "Etsi...",
|
21
|
+
Find: "Etsi",
|
22
|
+
Reset: "Tyhjennä",
|
23
|
+
odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yhtäsuuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yhtäsuuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sisältää"},{ oper:'nc', text:"ei sisällä"},{ oper:'nu', text:"on tyhjä"},{ oper:'nn', text:"ei ole tyhjä"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
24
|
+
groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" } ],
|
25
|
+
operandTitle : "Click to select search operation.",
|
26
|
+
resetTitle : "Reset Search Value"
|
27
|
+
},
|
28
|
+
edit: {
|
29
|
+
addCaption: "Uusi rivi",
|
30
|
+
editCaption: "Muokkaa riviä",
|
31
|
+
bSubmit: "OK",
|
32
|
+
bCancel: "Peru",
|
33
|
+
bClose: "Sulje",
|
34
|
+
saveData: "Tietoja muutettu! Tallennetaanko?",
|
35
|
+
bYes: "Kyllä",
|
36
|
+
bNo: "Ei",
|
37
|
+
bExit: "Peru",
|
38
|
+
msg: {
|
39
|
+
required: "pakollinen",
|
40
|
+
number: "Anna kelvollinen nro",
|
41
|
+
minValue: "arvon oltava suurempi tai yhtäsuuri kuin ",
|
42
|
+
maxValue: "arvon oltava pienempi tai yhtäsuuri kuin ",
|
43
|
+
email: "ei ole kelvollinen säpostiosoite",
|
44
|
+
integer: "Anna kelvollinen kokonaisluku",
|
45
|
+
date: "Anna kelvollinen pvm",
|
46
|
+
url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
|
47
|
+
nodefined: " ei ole määritelty!",
|
48
|
+
novalue: " paluuarvo vaaditaan!",
|
49
|
+
customarray: "Oman funktion tulee palauttaa jono!",
|
50
|
+
customfcheck: "Oma funktio on määriteltävä räätälöityä tarkastusta varten!"
|
51
|
+
}
|
52
|
+
},
|
53
|
+
view: {
|
54
|
+
caption: "Näytä rivi",
|
55
|
+
bClose: "Sulje"
|
56
|
+
},
|
57
|
+
del: {
|
58
|
+
caption: "Poista",
|
59
|
+
msg: "Poista valitut rivit?",
|
60
|
+
bSubmit: "Poista",
|
61
|
+
bCancel: "Peru"
|
62
|
+
},
|
63
|
+
nav: {
|
64
|
+
edittext: "",
|
65
|
+
edittitle: "Muokkaa valittua riviä",
|
66
|
+
addtext: "",
|
67
|
+
addtitle: "Uusi rivi",
|
68
|
+
deltext: "",
|
69
|
+
deltitle: "Poista valittu rivi",
|
70
|
+
searchtext: "",
|
71
|
+
searchtitle: "Etsi tietoja",
|
72
|
+
refreshtext: "",
|
73
|
+
refreshtitle: "Lataa uudelleen",
|
74
|
+
alertcap: "Varoitus",
|
75
|
+
alerttext: "Valitse rivi",
|
76
|
+
viewtext: "",
|
77
|
+
viewtitle: "Näyta valitut rivit"
|
78
|
+
},
|
79
|
+
col: {
|
80
|
+
caption: "Valitse sarakkeet",
|
81
|
+
bSubmit: "OK",
|
82
|
+
bCancel: "Peru"
|
83
|
+
},
|
84
|
+
errors : {
|
85
|
+
errcap: "Virhe",
|
86
|
+
nourl: "URL on asettamatta",
|
87
|
+
norecords: "Ei muokattavia tietoja",
|
88
|
+
model: "Pituus colNames <> colModel!"
|
89
|
+
},
|
90
|
+
formatter: {
|
91
|
+
integer: {thousandsSeparator: "", defaultValue: '0'},
|
92
|
+
number: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
|
93
|
+
currency: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
94
|
+
date: {
|
95
|
+
dayNames: [
|
96
|
+
"Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
|
97
|
+
"Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
|
98
|
+
],
|
99
|
+
monthNames: [
|
100
|
+
"Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
|
101
|
+
"Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
|
102
|
+
],
|
103
|
+
AmPm: ["am","pm","AM","PM"],
|
104
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
105
|
+
srcformat: 'Y-m-d',
|
106
|
+
newformat: 'd.m.Y',
|
107
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
108
|
+
masks: {
|
109
|
+
ISO8601Long:"Y-m-d H:i:s",
|
110
|
+
ISO8601Short:"Y-m-d",
|
111
|
+
ShortDate: "d.m.Y",
|
112
|
+
LongDate: "l, F d, Y",
|
113
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
114
|
+
MonthDay: "F d",
|
115
|
+
ShortTime: "g:i A",
|
116
|
+
LongTime: "g:i:s A",
|
117
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
118
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
119
|
+
YearMonth: "F, Y"
|
120
|
+
},
|
121
|
+
reformatAfterEdit : false
|
122
|
+
},
|
123
|
+
baseLinkUrl: '',
|
124
|
+
showAction: '',
|
125
|
+
target: '',
|
126
|
+
checkbox: {disabled:true},
|
127
|
+
idName: 'id'
|
128
|
+
}
|
129
|
+
});
|
130
|
+
// FI
|
131
|
+
})(jQuery);
|