jqgrid-jquery-rails 4.3.1.0 → 4.3.2.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 +127 -126
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +63 -62
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -144
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +130 -129
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +127 -126
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +129 -128
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +129 -128
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +127 -126
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +4 -3
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +129 -128
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +3 -3
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +18 -16
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +11 -10
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +129 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +129 -128
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +3 -2
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +3 -2
- data/vendor/assets/javascripts/jquery.jqGrid.js +969 -782
- data/vendor/assets/stylesheets/ui.jqgrid.css +7 -2
- metadata +2 -1
@@ -7,7 +7,8 @@
|
|
7
7
|
* http://www.opensource.org/licenses/mit-license.php
|
8
8
|
* http://www.gnu.org/licenses/gpl.html
|
9
9
|
**/
|
10
|
-
$.jgrid = {
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
11
12
|
defaults : {
|
12
13
|
recordtext: "Mostrant {0} - {1} de {2}",
|
13
14
|
emptyrecords: "Sense registres que mostrar",
|
@@ -124,5 +125,5 @@ $.jgrid = {
|
|
124
125
|
checkbox : {disabled:true},
|
125
126
|
idName : 'id'
|
126
127
|
}
|
127
|
-
};
|
128
|
+
});
|
128
129
|
})(jQuery);
|
@@ -10,7 +10,8 @@
|
|
10
10
|
* update 2011.11.30
|
11
11
|
* add double u3000 SPACE for search:odata to fix SEARCH box display err when narrow width from only use of eq/ne/cn/in/lt/gt operator under IE6/7
|
12
12
|
**/
|
13
|
-
$.jgrid = {
|
13
|
+
$.jgrid = $.jgrid || {};
|
14
|
+
$.extend($.jgrid,{
|
14
15
|
defaults : {
|
15
16
|
recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
|
16
17
|
emptyrecords: "无数据显示",
|
@@ -128,5 +129,5 @@ $.jgrid = {
|
|
128
129
|
checkbox : {disabled:true},
|
129
130
|
idName : 'id'
|
130
131
|
}
|
131
|
-
};
|
132
|
+
});
|
132
133
|
})(jQuery);
|
@@ -8,7 +8,8 @@
|
|
8
8
|
* http://www.opensource.org/licenses/mit-license.php
|
9
9
|
* http://www.gnu.org/licenses/gpl.html
|
10
10
|
**/
|
11
|
-
$.jgrid = {
|
11
|
+
$.jgrid = $.jgrid || {};
|
12
|
+
$.extend($.jgrid,{
|
12
13
|
defaults : {
|
13
14
|
recordtext: "Zobrazeno {0} - {1} z {2} záznamů",
|
14
15
|
emptyrecords: "Nenalezeny žádné záznamy",
|
@@ -124,5 +125,5 @@ $.jgrid = {
|
|
124
125
|
checkbox : {disabled:true},
|
125
126
|
idName : 'id'
|
126
127
|
}
|
127
|
-
};
|
128
|
+
});
|
128
129
|
})(jQuery);
|
@@ -7,7 +7,8 @@
|
|
7
7
|
* http://www.opensource.org/licenses/mit-license.php
|
8
8
|
* http://www.gnu.org/licenses/gpl.html
|
9
9
|
**/
|
10
|
-
$.jgrid = {
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
11
12
|
defaults : {
|
12
13
|
recordtext: "Vis {0} - {1} of {2}",
|
13
14
|
emptyrecords: "Ingen linjer fundet",
|
@@ -123,6 +124,6 @@ $.jgrid = {
|
|
123
124
|
checkbox : {disabled:true},
|
124
125
|
idName : 'id'
|
125
126
|
}
|
126
|
-
};
|
127
|
+
});
|
127
128
|
// DA
|
128
129
|
})(jQuery);
|
@@ -13,7 +13,8 @@
|
|
13
13
|
* http://www.opensource.org/licenses/mit-license.php
|
14
14
|
* http://www.gnu.org/licenses/gpl.html
|
15
15
|
**/
|
16
|
-
$.jgrid = {
|
16
|
+
$.jgrid = $.jgrid || {};
|
17
|
+
$.extend($.jgrid,{
|
17
18
|
defaults : {
|
18
19
|
recordtext: "Zeige {0} - {1} von {2}",
|
19
20
|
emptyrecords: "Keine Datensätze vorhanden",
|
@@ -129,5 +130,5 @@ $.jgrid = {
|
|
129
130
|
checkbox : {disabled:true},
|
130
131
|
idName : 'id'
|
131
132
|
}
|
132
|
-
};
|
133
|
+
});
|
133
134
|
})(jQuery);
|
@@ -7,7 +7,8 @@
|
|
7
7
|
* http://www.opensource.org/licenses/mit-license.php
|
8
8
|
* http://www.gnu.org/licenses/gpl.html
|
9
9
|
**/
|
10
|
-
$.jgrid = {
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
11
12
|
defaults : {
|
12
13
|
recordtext: "View {0} - {1} of {2}",
|
13
14
|
emptyrecords: "No records to view",
|
@@ -122,5 +123,5 @@ $.jgrid = {
|
|
122
123
|
checkbox : {disabled:true},
|
123
124
|
idName : 'id'
|
124
125
|
}
|
125
|
-
};
|
126
|
+
});
|
126
127
|
})(jQuery);
|
@@ -7,7 +7,8 @@
|
|
7
7
|
* http://www.opensource.org/licenses/mit-license.php
|
8
8
|
* http://www.gnu.org/licenses/gpl.html
|
9
9
|
**/
|
10
|
-
$.jgrid = {
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
11
12
|
defaults : {
|
12
13
|
recordtext: "View {0} - {1} of {2}",
|
13
14
|
emptyrecords: "No records to view",
|
@@ -124,5 +125,5 @@ $.jgrid = {
|
|
124
125
|
checkbox : {disabled:true},
|
125
126
|
idName : 'id'
|
126
127
|
}
|
127
|
-
};
|
128
|
+
});
|
128
129
|
})(jQuery);
|
@@ -8,7 +8,8 @@
|
|
8
8
|
* http://www.opensource.org/licenses/mit-license.php
|
9
9
|
* http://www.gnu.org/licenses/gpl.html
|
10
10
|
**/
|
11
|
-
$.jgrid = {
|
11
|
+
$.jgrid = $.jgrid || {};
|
12
|
+
$.extend($.jgrid,{
|
12
13
|
defaults : {
|
13
14
|
recordtext: "Mostrando {0} - {1} de {2}",
|
14
15
|
emptyrecords: "Sin registros que mostrar",
|
@@ -124,5 +125,5 @@ $.jgrid = {
|
|
124
125
|
checkbox : {disabled:true},
|
125
126
|
idName : 'id'
|
126
127
|
}
|
127
|
-
};
|
128
|
+
});
|
128
129
|
})(jQuery);
|
@@ -1,145 +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 = {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
-
|
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: ['برابر', 'نا برابر', 'به', 'کوچکتر', 'از', 'بزرگتر', 'شروع با', 'شروع نشود با', 'نباشد', 'عضو این نباشد', 'اتمام با', 'تمام نشود با', 'حاوی', 'نباشد حاوی'],
|
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
|
+
});
|
145
146
|
})(jQuery);
|
@@ -1,129 +1,130 @@
|
|
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 = {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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: ['on', 'ei ole', 'pienempi', 'pienempi tai yhtäsuuri','suurempi','suurempi tai yhtäsuuri', 'alkaa','ei ala','joukossa','ei joukossa','loppuu','ei lopu','sisältää','ei sisällä','on tyhjä','ei ole tyhjä'],
|
24
|
+
groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" } ],
|
25
|
+
matchText: " täytä ehdot:",
|
26
|
+
rulesText: ""
|
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
|
+
masks: {
|
108
|
+
ISO8601Long:"Y-m-d H:i:s",
|
109
|
+
ISO8601Short:"Y-m-d",
|
110
|
+
ShortDate: "d.m.Y",
|
111
|
+
LongDate: "l, F d, Y",
|
112
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
113
|
+
MonthDay: "F d",
|
114
|
+
ShortTime: "g:i A",
|
115
|
+
LongTime: "g:i:s A",
|
116
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
117
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
118
|
+
YearMonth: "F, Y"
|
119
|
+
},
|
120
|
+
reformatAfterEdit : false
|
121
|
+
},
|
122
|
+
baseLinkUrl: '',
|
123
|
+
showAction: '',
|
124
|
+
target: '',
|
125
|
+
checkbox: {disabled:true},
|
126
|
+
idName: 'id'
|
127
|
+
}
|
128
|
+
});
|
129
|
+
// FI
|
130
|
+
})(jQuery);
|