jqgrid-jquery-rails 4.5.0.0 → 4.5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 -126
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +157 -122
- 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-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 +154 -78
- data/vendor/assets/stylesheets/ui.jqgrid.css +2 -1
- metadata +1 -1
@@ -1,145 +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: [{ 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
|
-
});
|
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
|
+
});
|
145
145
|
})(jQuery);
|
@@ -1,129 +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: [{ 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);
|
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);
|