jqgrid-jquery-rails 4.4.5.0 → 4.5.0.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-ar.js +126 -127
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +4 -5
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-dk.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +144 -145
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -130
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -127
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +161 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +161 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -172
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -127
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +9 -10
- data/vendor/assets/javascripts/i18n/grid.locale-kr.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -129
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -129
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -129
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-tw.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +3 -4
- data/vendor/assets/javascripts/i18n/grid.locale-vi.js +3 -4
- data/vendor/assets/javascripts/jquery.jqGrid.js +1316 -988
- data/vendor/assets/stylesheets/ui.jqgrid.css +5 -0
- metadata +1 -1
@@ -19,10 +19,8 @@ $.extend($.jgrid,{
|
|
19
19
|
caption: "Αναζήτηση...",
|
20
20
|
Find: "Εύρεση",
|
21
21
|
Reset: "Επαναφορά",
|
22
|
-
odata
|
23
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
24
|
-
matchText: " match",
|
25
|
-
rulesText: " rules"
|
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" } ]
|
26
24
|
},
|
27
25
|
edit : {
|
28
26
|
addCaption: "Εισαγωγή Εγγραφής",
|
@@ -102,6 +100,7 @@ $.extend($.jgrid,{
|
|
102
100
|
S: function (j) {return j == 1 || j > 1 ? ['η'][Math.min((j - 1) % 10, 3)] : ''},
|
103
101
|
srcformat: 'Y-m-d',
|
104
102
|
newformat: 'd/m/Y',
|
103
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
105
104
|
masks : {
|
106
105
|
ISO8601Long:"Y-m-d H:i:s",
|
107
106
|
ISO8601Short:"Y-m-d",
|
@@ -19,10 +19,8 @@ $.extend($.jgrid,{
|
|
19
19
|
caption: "Search...",
|
20
20
|
Find: "Find",
|
21
21
|
Reset: "Reset",
|
22
|
-
odata
|
23
|
-
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
24
|
-
matchText: " match",
|
25
|
-
rulesText: " rules"
|
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" } ]
|
26
24
|
},
|
27
25
|
edit : {
|
28
26
|
addCaption: "Add Record",
|
@@ -104,6 +102,7 @@ $.extend($.jgrid,{
|
|
104
102
|
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
|
105
103
|
srcformat: 'Y-m-d',
|
106
104
|
newformat: 'n/j/Y',
|
105
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
107
106
|
masks : {
|
108
107
|
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
109
108
|
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
@@ -20,10 +20,8 @@ $.extend($.jgrid,{
|
|
20
20
|
caption: "Búsqueda...",
|
21
21
|
Find: "Buscar",
|
22
22
|
Reset: "Limpiar",
|
23
|
-
odata
|
24
|
-
groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ]
|
25
|
-
matchText: " match",
|
26
|
-
rulesText: " reglas"
|
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" } ]
|
27
25
|
},
|
28
26
|
edit : {
|
29
27
|
addCaption: "Agregar registro",
|
@@ -104,6 +102,7 @@ $.extend($.jgrid,{
|
|
104
102
|
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
105
103
|
srcformat: 'Y-m-d',
|
106
104
|
newformat: 'd-m-Y',
|
105
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
107
106
|
masks : {
|
108
107
|
ISO8601Long:"Y-m-d H:i:s",
|
109
108
|
ISO8601Short:"Y-m-d",
|
@@ -1,146 +1,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
|
-
|
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
|
-
|
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: [{ 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
|
+
edit: {
|
31
|
+
addCaption: "اضافه کردن رکورد",
|
32
|
+
editCaption: "ويرايش رکورد",
|
33
|
+
bSubmit: "ثبت",
|
34
|
+
bCancel: "انصراف",
|
35
|
+
bClose: "بستن",
|
36
|
+
saveData: "دیتا تعییر کرد! ذخیره شود؟",
|
37
|
+
bYes: "بله",
|
38
|
+
bNo: "خیر",
|
39
|
+
bExit: "انصراف",
|
40
|
+
msg: {
|
41
|
+
required: "فيلدها بايد ختما پر شوند",
|
42
|
+
number: "لطفا عدد وعتبر وارد کنيد",
|
43
|
+
minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با",
|
44
|
+
maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي",
|
45
|
+
email: "پست الکترونيک وارد شده معتبر نيست",
|
46
|
+
integer: "لطفا يک عدد صحيح وارد کنيد",
|
47
|
+
date: "لطفا يک تاريخ معتبر وارد کنيد",
|
48
|
+
url: "این آدرس صحیح نمی باشد. پیشوند نیاز است ('http://' یا 'https://')",
|
49
|
+
nodefined: " تعریف نشده!",
|
50
|
+
novalue: " مقدار برگشتی اجباری است!",
|
51
|
+
customarray: "تابع شما باید مقدار آرایه داشته باشد!",
|
52
|
+
customfcheck: "برای داشتن متد دلخواه شما باید سطون با چکینگ دلخواه داشته باشید!"
|
53
|
+
}
|
54
|
+
},
|
55
|
+
view: {
|
56
|
+
caption: "نمایش رکورد",
|
57
|
+
bClose: "بستن"
|
58
|
+
},
|
59
|
+
del: {
|
60
|
+
caption: "حذف",
|
61
|
+
msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
|
62
|
+
bSubmit: "حذف",
|
63
|
+
bCancel: "ابطال"
|
64
|
+
},
|
65
|
+
nav: {
|
66
|
+
edittext: " ",
|
67
|
+
edittitle: "ويرايش رديف هاي انتخاب شده",
|
68
|
+
addtext: " ",
|
69
|
+
addtitle: "افزودن رديف جديد",
|
70
|
+
deltext: " ",
|
71
|
+
deltitle: "حذف ردبف هاي انتیاب شده",
|
72
|
+
searchtext: " ",
|
73
|
+
searchtitle: "جستجوي رديف",
|
74
|
+
refreshtext: "",
|
75
|
+
refreshtitle: "بازيابي مجدد صفحه",
|
76
|
+
alertcap: "اخطار",
|
77
|
+
alerttext: "لطفا يک رديف انتخاب کنيد",
|
78
|
+
viewtext: "",
|
79
|
+
viewtitle: "نمایش رکورد های انتخاب شده"
|
80
|
+
},
|
81
|
+
col: {
|
82
|
+
caption: "نمايش/عدم نمايش ستون",
|
83
|
+
bSubmit: "ثبت",
|
84
|
+
bCancel: "انصراف"
|
85
|
+
},
|
86
|
+
errors: {
|
87
|
+
errcap: "خطا",
|
88
|
+
nourl: "هيچ آدرسي تنظيم نشده است",
|
89
|
+
norecords: "هيچ رکوردي براي پردازش موجود نيست",
|
90
|
+
model: "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
|
91
|
+
},
|
92
|
+
formatter: {
|
93
|
+
integer: {
|
94
|
+
thousandsSeparator: " ",
|
95
|
+
defaultValue: "0"
|
96
|
+
},
|
97
|
+
number: {
|
98
|
+
decimalSeparator: ".",
|
99
|
+
thousandsSeparator: " ",
|
100
|
+
decimalPlaces: 2,
|
101
|
+
defaultValue: "0.00"
|
102
|
+
},
|
103
|
+
currency: {
|
104
|
+
decimalSeparator: ".",
|
105
|
+
thousandsSeparator: " ",
|
106
|
+
decimalPlaces: 2,
|
107
|
+
prefix: "",
|
108
|
+
suffix: "",
|
109
|
+
defaultValue: "0"
|
110
|
+
},
|
111
|
+
date: {
|
112
|
+
dayNames: ["يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب", "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
|
113
|
+
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"],
|
114
|
+
AmPm: ["ب.ظ", "ب.ظ", "ق.ظ", "ق.ظ"],
|
115
|
+
S: function (b) {
|
116
|
+
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
117
|
+
},
|
118
|
+
srcformat: "Y-m-d",
|
119
|
+
newformat: "d/m/Y",
|
120
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
121
|
+
masks: {
|
122
|
+
ISO8601Long: "Y-m-d H:i:s",
|
123
|
+
ISO8601Short: "Y-m-d",
|
124
|
+
ShortDate: "n/j/Y",
|
125
|
+
LongDate: "l, F d, Y",
|
126
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
127
|
+
MonthDay: "F d",
|
128
|
+
ShortTime: "g:i A",
|
129
|
+
LongTime: "g:i:s A",
|
130
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
131
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
132
|
+
YearMonth: "F, Y"
|
133
|
+
},
|
134
|
+
reformatAfterEdit: false
|
135
|
+
},
|
136
|
+
baseLinkUrl: "",
|
137
|
+
showAction: "نمايش",
|
138
|
+
target: "",
|
139
|
+
checkbox: {
|
140
|
+
disabled: true
|
141
|
+
},
|
142
|
+
idName: "id"
|
143
|
+
}
|
144
|
+
});
|
146
145
|
})(jQuery);
|
@@ -1,130 +1,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: ['on',
|
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
|
-
|
130
|
-
})(jQuery);
|
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
|
+
edit: {
|
27
|
+
addCaption: "Uusi rivi",
|
28
|
+
editCaption: "Muokkaa riviä",
|
29
|
+
bSubmit: "OK",
|
30
|
+
bCancel: "Peru",
|
31
|
+
bClose: "Sulje",
|
32
|
+
saveData: "Tietoja muutettu! Tallennetaanko?",
|
33
|
+
bYes: "Kyllä",
|
34
|
+
bNo: "Ei",
|
35
|
+
bExit: "Peru",
|
36
|
+
msg: {
|
37
|
+
required: "pakollinen",
|
38
|
+
number: "Anna kelvollinen nro",
|
39
|
+
minValue: "arvon oltava suurempi tai yhtäsuuri kuin ",
|
40
|
+
maxValue: "arvon oltava pienempi tai yhtäsuuri kuin ",
|
41
|
+
email: "ei ole kelvollinen säpostiosoite",
|
42
|
+
integer: "Anna kelvollinen kokonaisluku",
|
43
|
+
date: "Anna kelvollinen pvm",
|
44
|
+
url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
|
45
|
+
nodefined: " ei ole määritelty!",
|
46
|
+
novalue: " paluuarvo vaaditaan!",
|
47
|
+
customarray: "Oman funktion tulee palauttaa jono!",
|
48
|
+
customfcheck: "Oma funktio on määriteltävä räätälöityä tarkastusta varten!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view: {
|
52
|
+
caption: "Näytä rivi",
|
53
|
+
bClose: "Sulje"
|
54
|
+
},
|
55
|
+
del: {
|
56
|
+
caption: "Poista",
|
57
|
+
msg: "Poista valitut rivit?",
|
58
|
+
bSubmit: "Poista",
|
59
|
+
bCancel: "Peru"
|
60
|
+
},
|
61
|
+
nav: {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Muokkaa valittua riviä",
|
64
|
+
addtext: "",
|
65
|
+
addtitle: "Uusi rivi",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Poista valittu rivi",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Etsi tietoja",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Lataa uudelleen",
|
72
|
+
alertcap: "Varoitus",
|
73
|
+
alerttext: "Valitse rivi",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Näyta valitut rivit"
|
76
|
+
},
|
77
|
+
col: {
|
78
|
+
caption: "Valitse sarakkeet",
|
79
|
+
bSubmit: "OK",
|
80
|
+
bCancel: "Peru"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap: "Virhe",
|
84
|
+
nourl: "URL on asettamatta",
|
85
|
+
norecords: "Ei muokattavia tietoja",
|
86
|
+
model: "Pituus colNames <> colModel!"
|
87
|
+
},
|
88
|
+
formatter: {
|
89
|
+
integer: {thousandsSeparator: "", defaultValue: '0'},
|
90
|
+
number: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
|
91
|
+
currency: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
92
|
+
date: {
|
93
|
+
dayNames: [
|
94
|
+
"Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
|
95
|
+
"Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
|
99
|
+
"Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
|
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: 'd.m.Y',
|
105
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
106
|
+
masks: {
|
107
|
+
ISO8601Long:"Y-m-d H:i:s",
|
108
|
+
ISO8601Short:"Y-m-d",
|
109
|
+
ShortDate: "d.m.Y",
|
110
|
+
LongDate: "l, F d, Y",
|
111
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
112
|
+
MonthDay: "F d",
|
113
|
+
ShortTime: "g:i A",
|
114
|
+
LongTime: "g:i:s A",
|
115
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
116
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
117
|
+
YearMonth: "F, Y"
|
118
|
+
},
|
119
|
+
reformatAfterEdit : false
|
120
|
+
},
|
121
|
+
baseLinkUrl: '',
|
122
|
+
showAction: '',
|
123
|
+
target: '',
|
124
|
+
checkbox: {disabled:true},
|
125
|
+
idName: 'id'
|
126
|
+
}
|
127
|
+
});
|
128
|
+
// FI
|
129
|
+
})(jQuery);
|