jqgrid-jquery-rails 4.5.202 → 4.5.300
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/jqgrid-jquery-rails/version.rb +1 -1
- data/spec/features/asset_pipeline_spec.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -126
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +1 -1
- 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-pt-br.js +6 -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 +8259 -20706
- data/vendor/assets/stylesheets/ui.jqgrid.css +13 -3
- metadata +2 -2
@@ -1,128 +1,128 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Serbian Translation
|
4
|
-
* Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
|
5
|
-
* http://trirand.com/blog/
|
6
|
-
* Dual licensed under the MIT and GPL licenses:
|
7
|
-
* http://www.opensource.org/licenses/mit-license.php
|
8
|
-
* http://www.gnu.org/licenses/gpl.html
|
9
|
-
**/
|
10
|
-
$.jgrid = $.jgrid || {};
|
11
|
-
$.extend($.jgrid,{
|
12
|
-
defaults : {
|
13
|
-
recordtext: "Преглед {0} - {1} од {2}",
|
14
|
-
emptyrecords: "Не постоји ниједан запис",
|
15
|
-
loadtext: "Учитавање...",
|
16
|
-
pgtext : "Страна {0} од {1}"
|
17
|
-
},
|
18
|
-
search : {
|
19
|
-
caption: "Тражење...",
|
20
|
-
Find: "Тражи",
|
21
|
-
Reset: "Ресетуј",
|
22
|
-
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:"не садржи"}],
|
23
|
-
groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ]
|
24
|
-
},
|
25
|
-
edit : {
|
26
|
-
addCaption: "Додај запис",
|
27
|
-
editCaption: "Измени запис",
|
28
|
-
bSubmit: "Пошаљи",
|
29
|
-
bCancel: "Одустани",
|
30
|
-
bClose: "Затвори",
|
31
|
-
saveData: "Податак је измењен! Сачувај измене?",
|
32
|
-
bYes : "Да",
|
33
|
-
bNo : "Не",
|
34
|
-
bExit : "Одустани",
|
35
|
-
msg: {
|
36
|
-
required:"Поље је обавезно",
|
37
|
-
number:"Молим, унесите исправан број",
|
38
|
-
minValue:"вредност мора бити већа од или једнака са ",
|
39
|
-
maxValue:"вредност мора бити мања од или једнака са",
|
40
|
-
email: "није исправна имејл адреса",
|
41
|
-
integer: "Молим, унесите исправну целобројну вредност ",
|
42
|
-
date: "Молим, унесите исправан датум",
|
43
|
-
url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
|
44
|
-
nodefined : " није дефинисан!",
|
45
|
-
novalue : " захтевана је повратна вредност!",
|
46
|
-
customarray : "Custom function should return array!",
|
47
|
-
customfcheck : "Custom function should be present in case of custom checking!"
|
48
|
-
|
49
|
-
}
|
50
|
-
},
|
51
|
-
view : {
|
52
|
-
caption: "Погледај запис",
|
53
|
-
bClose: "Затвори"
|
54
|
-
},
|
55
|
-
del : {
|
56
|
-
caption: "Избриши",
|
57
|
-
msg: "Избриши изабран(е) запис(е)?",
|
58
|
-
bSubmit: "Ибриши",
|
59
|
-
bCancel: "Одбаци"
|
60
|
-
},
|
61
|
-
nav : {
|
62
|
-
edittext: "",
|
63
|
-
edittitle: "Измени изабрани ред",
|
64
|
-
addtext:"",
|
65
|
-
addtitle: "Додај нови ред",
|
66
|
-
deltext: "",
|
67
|
-
deltitle: "Избриши изабран ред",
|
68
|
-
searchtext: "",
|
69
|
-
searchtitle: "Нађи записе",
|
70
|
-
refreshtext: "",
|
71
|
-
refreshtitle: "Поново учитај податке",
|
72
|
-
alertcap: "Упозорење",
|
73
|
-
alerttext: "Молим, изаберите ред",
|
74
|
-
viewtext: "",
|
75
|
-
viewtitle: "Погледај изабрани ред"
|
76
|
-
},
|
77
|
-
col : {
|
78
|
-
caption: "Изабери колоне",
|
79
|
-
bSubmit: "ОК",
|
80
|
-
bCancel: "Одбаци"
|
81
|
-
},
|
82
|
-
errors : {
|
83
|
-
errcap : "Грешка",
|
84
|
-
nourl : "Није постављен URL",
|
85
|
-
norecords: "Нема записа за обраду",
|
86
|
-
model : "Дужина модела 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
|
-
"Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
|
95
|
-
"Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
|
96
|
-
],
|
97
|
-
monthNames: [
|
98
|
-
"Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
|
99
|
-
"Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
|
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: "n/j/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
|
-
})(jQuery);
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Serbian Translation
|
4
|
+
* Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
|
5
|
+
* http://trirand.com/blog/
|
6
|
+
* Dual licensed under the MIT and GPL licenses:
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
* http://www.gnu.org/licenses/gpl.html
|
9
|
+
**/
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
12
|
+
defaults : {
|
13
|
+
recordtext: "Преглед {0} - {1} од {2}",
|
14
|
+
emptyrecords: "Не постоји ниједан запис",
|
15
|
+
loadtext: "Учитавање...",
|
16
|
+
pgtext : "Страна {0} од {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "Тражење...",
|
20
|
+
Find: "Тражи",
|
21
|
+
Reset: "Ресетуј",
|
22
|
+
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:"не садржи"}],
|
23
|
+
groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ]
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "Додај запис",
|
27
|
+
editCaption: "Измени запис",
|
28
|
+
bSubmit: "Пошаљи",
|
29
|
+
bCancel: "Одустани",
|
30
|
+
bClose: "Затвори",
|
31
|
+
saveData: "Податак је измењен! Сачувај измене?",
|
32
|
+
bYes : "Да",
|
33
|
+
bNo : "Не",
|
34
|
+
bExit : "Одустани",
|
35
|
+
msg: {
|
36
|
+
required:"Поље је обавезно",
|
37
|
+
number:"Молим, унесите исправан број",
|
38
|
+
minValue:"вредност мора бити већа од или једнака са ",
|
39
|
+
maxValue:"вредност мора бити мања од или једнака са",
|
40
|
+
email: "није исправна имејл адреса",
|
41
|
+
integer: "Молим, унесите исправну целобројну вредност ",
|
42
|
+
date: "Молим, унесите исправан датум",
|
43
|
+
url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
|
44
|
+
nodefined : " није дефинисан!",
|
45
|
+
novalue : " захтевана је повратна вредност!",
|
46
|
+
customarray : "Custom function should return array!",
|
47
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
48
|
+
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Погледај запис",
|
53
|
+
bClose: "Затвори"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Избриши",
|
57
|
+
msg: "Избриши изабран(е) запис(е)?",
|
58
|
+
bSubmit: "Ибриши",
|
59
|
+
bCancel: "Одбаци"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Измени изабрани ред",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "Додај нови ред",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Избриши изабран ред",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Нађи записе",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Поново учитај податке",
|
72
|
+
alertcap: "Упозорење",
|
73
|
+
alerttext: "Молим, изаберите ред",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Погледај изабрани ред"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Изабери колоне",
|
79
|
+
bSubmit: "ОК",
|
80
|
+
bCancel: "Одбаци"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Грешка",
|
84
|
+
nourl : "Није постављен URL",
|
85
|
+
norecords: "Нема записа за обраду",
|
86
|
+
model : "Дужина модела 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
|
+
"Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
|
95
|
+
"Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
|
99
|
+
"Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
|
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: "n/j/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
|
+
})(jQuery);
|
@@ -1,128 +1,128 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Thai Translation
|
4
|
-
* Kittituch Manakul m.kittituch@Gmail.com
|
5
|
-
* http://trirand.com/blog/
|
6
|
-
* Dual licensed under the MIT and GPL licenses:
|
7
|
-
* http://www.opensource.org/licenses/mit-license.php
|
8
|
-
* http://www.gnu.org/licenses/gpl.html
|
9
|
-
**/
|
10
|
-
$.jgrid = $.jgrid || {};
|
11
|
-
$.extend($.jgrid,{
|
12
|
-
defaults : {
|
13
|
-
recordtext: "แสดง {0} - {1} จาก {2}",
|
14
|
-
emptyrecords: "ไม่พบข้อมูล",
|
15
|
-
loadtext: "กำลังร้องขอข้อมูล...",
|
16
|
-
pgtext : "หน้า {0} จาก {1}"
|
17
|
-
},
|
18
|
-
search : {
|
19
|
-
caption: "กำลังค้นหา...",
|
20
|
-
Find: "ค้นหา",
|
21
|
-
Reset: "คืนค่ากลับ",
|
22
|
-
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:"ไม่มีคำว่า"}],
|
23
|
-
groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ]
|
24
|
-
},
|
25
|
-
edit : {
|
26
|
-
addCaption: "เพิ่มข้อมูล",
|
27
|
-
editCaption: "แก้ไขข้อมูล",
|
28
|
-
bSubmit: "บันทึก",
|
29
|
-
bCancel: "ยกเลิก",
|
30
|
-
bClose: "ปิด",
|
31
|
-
saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?",
|
32
|
-
bYes : "บันทึก",
|
33
|
-
bNo : "ละทิ้งการแก้ไข",
|
34
|
-
bExit : "ยกเลิก",
|
35
|
-
msg: {
|
36
|
-
required:"ข้อมูลนี้จำเป็น",
|
37
|
-
number:"กรุณากรอกหมายเลขให้ถูกต้อง",
|
38
|
-
minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า",
|
39
|
-
maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า",
|
40
|
-
email: "อีเมลล์นี้ไม่ถูกต้อง",
|
41
|
-
integer: "กรุณากรอกเป็นจำนวนเต็ม",
|
42
|
-
date: "กรุณากรอกวันที่ให้ถูกต้อง",
|
43
|
-
url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'",
|
44
|
-
nodefined : "ไม่ได้ถูกกำหนดค่า!",
|
45
|
-
novalue : "ต้องการการคืนค่า!",
|
46
|
-
customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์",
|
47
|
-
customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!"
|
48
|
-
|
49
|
-
}
|
50
|
-
},
|
51
|
-
view : {
|
52
|
-
caption: "เรียกดูข้อมูล",
|
53
|
-
bClose: "ปิด"
|
54
|
-
},
|
55
|
-
del : {
|
56
|
-
caption: "ลบข้อมูล",
|
57
|
-
msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?",
|
58
|
-
bSubmit: "ต้องการลบ",
|
59
|
-
bCancel: "ยกเลิก"
|
60
|
-
},
|
61
|
-
nav : {
|
62
|
-
edittext: "",
|
63
|
-
edittitle: "แก้ไขข้อมูล",
|
64
|
-
addtext:"",
|
65
|
-
addtitle: "เพิ่มข้อมูล",
|
66
|
-
deltext: "",
|
67
|
-
deltitle: "ลบข้อมูล",
|
68
|
-
searchtext: "",
|
69
|
-
searchtitle: "ค้นหาข้อมูล",
|
70
|
-
refreshtext: "",
|
71
|
-
refreshtitle: "รีเฟรช",
|
72
|
-
alertcap: "คำเตือน",
|
73
|
-
alerttext: "กรุณาเลือกข้อมูล",
|
74
|
-
viewtext: "",
|
75
|
-
viewtitle: "ดูรายละเอียดข้อมูล"
|
76
|
-
},
|
77
|
-
col : {
|
78
|
-
caption: "กรุณาเลือกคอลัมน์",
|
79
|
-
bSubmit: "ตกลง",
|
80
|
-
bCancel: "ยกเลิก"
|
81
|
-
},
|
82
|
-
errors : {
|
83
|
-
errcap : "เกิดความผิดพลาด",
|
84
|
-
nourl : "ไม่ได้กำหนด URL",
|
85
|
-
norecords: "ไม่มีข้อมูลให้ดำเนินการ",
|
86
|
-
model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!"
|
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
|
-
"อา", "จ", "อ", "พ", "พฤ", "ศ", "ส",
|
95
|
-
"อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์"
|
96
|
-
],
|
97
|
-
monthNames: [
|
98
|
-
"ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.",
|
99
|
-
"มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"
|
100
|
-
],
|
101
|
-
AmPm : ["am","pm","AM","PM"],
|
102
|
-
S: function (j) {return ''},
|
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: "n/j/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
|
-
})(jQuery);
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Thai Translation
|
4
|
+
* Kittituch Manakul m.kittituch@Gmail.com
|
5
|
+
* http://trirand.com/blog/
|
6
|
+
* Dual licensed under the MIT and GPL licenses:
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
* http://www.gnu.org/licenses/gpl.html
|
9
|
+
**/
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
12
|
+
defaults : {
|
13
|
+
recordtext: "แสดง {0} - {1} จาก {2}",
|
14
|
+
emptyrecords: "ไม่พบข้อมูล",
|
15
|
+
loadtext: "กำลังร้องขอข้อมูล...",
|
16
|
+
pgtext : "หน้า {0} จาก {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "กำลังค้นหา...",
|
20
|
+
Find: "ค้นหา",
|
21
|
+
Reset: "คืนค่ากลับ",
|
22
|
+
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:"ไม่มีคำว่า"}],
|
23
|
+
groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ]
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "เพิ่มข้อมูล",
|
27
|
+
editCaption: "แก้ไขข้อมูล",
|
28
|
+
bSubmit: "บันทึก",
|
29
|
+
bCancel: "ยกเลิก",
|
30
|
+
bClose: "ปิด",
|
31
|
+
saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?",
|
32
|
+
bYes : "บันทึก",
|
33
|
+
bNo : "ละทิ้งการแก้ไข",
|
34
|
+
bExit : "ยกเลิก",
|
35
|
+
msg: {
|
36
|
+
required:"ข้อมูลนี้จำเป็น",
|
37
|
+
number:"กรุณากรอกหมายเลขให้ถูกต้อง",
|
38
|
+
minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า",
|
39
|
+
maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า",
|
40
|
+
email: "อีเมลล์นี้ไม่ถูกต้อง",
|
41
|
+
integer: "กรุณากรอกเป็นจำนวนเต็ม",
|
42
|
+
date: "กรุณากรอกวันที่ให้ถูกต้อง",
|
43
|
+
url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'",
|
44
|
+
nodefined : "ไม่ได้ถูกกำหนดค่า!",
|
45
|
+
novalue : "ต้องการการคืนค่า!",
|
46
|
+
customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์",
|
47
|
+
customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!"
|
48
|
+
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "เรียกดูข้อมูล",
|
53
|
+
bClose: "ปิด"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "ลบข้อมูล",
|
57
|
+
msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?",
|
58
|
+
bSubmit: "ต้องการลบ",
|
59
|
+
bCancel: "ยกเลิก"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "แก้ไขข้อมูล",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "เพิ่มข้อมูล",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "ลบข้อมูล",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "ค้นหาข้อมูล",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "รีเฟรช",
|
72
|
+
alertcap: "คำเตือน",
|
73
|
+
alerttext: "กรุณาเลือกข้อมูล",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "ดูรายละเอียดข้อมูล"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "กรุณาเลือกคอลัมน์",
|
79
|
+
bSubmit: "ตกลง",
|
80
|
+
bCancel: "ยกเลิก"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "เกิดความผิดพลาด",
|
84
|
+
nourl : "ไม่ได้กำหนด URL",
|
85
|
+
norecords: "ไม่มีข้อมูลให้ดำเนินการ",
|
86
|
+
model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!"
|
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
|
+
"อา", "จ", "อ", "พ", "พฤ", "ศ", "ส",
|
95
|
+
"อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.",
|
99
|
+
"มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return ''},
|
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: "n/j/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
|
+
})(jQuery);
|