jqgrid-jquery-rails 4.5.400 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +1 -1
  4. data/lib/jqgrid-jquery-rails/version.rb +2 -2
  5. data/spec/features/asset_pipeline_spec.rb +1 -1
  6. data/vendor/assets/javascripts/i18n/grid.locale-ar.js +128 -126
  7. data/vendor/assets/javascripts/i18n/grid.locale-bg.js +5 -3
  8. data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +1 -1
  9. data/vendor/assets/javascripts/i18n/grid.locale-cat.js +5 -3
  10. data/vendor/assets/javascripts/i18n/grid.locale-cn.js +5 -3
  11. data/vendor/assets/javascripts/i18n/grid.locale-cs.js +5 -3
  12. data/vendor/assets/javascripts/i18n/grid.locale-da.js +5 -3
  13. data/vendor/assets/javascripts/i18n/grid.locale-de.js +41 -39
  14. data/vendor/assets/javascripts/i18n/grid.locale-dk.js +5 -3
  15. data/vendor/assets/javascripts/i18n/grid.locale-el.js +5 -3
  16. data/vendor/assets/javascripts/i18n/grid.locale-en.js +5 -3
  17. data/vendor/assets/javascripts/i18n/grid.locale-es.js +5 -3
  18. data/vendor/assets/javascripts/i18n/grid.locale-fa.js +146 -144
  19. data/vendor/assets/javascripts/i18n/grid.locale-fi.js +131 -129
  20. data/vendor/assets/javascripts/i18n/grid.locale-fr.js +128 -126
  21. data/vendor/assets/javascripts/i18n/grid.locale-gl.js +5 -3
  22. data/vendor/assets/javascripts/i18n/grid.locale-he.js +5 -3
  23. data/vendor/assets/javascripts/i18n/grid.locale-hr.js +164 -162
  24. data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +164 -162
  25. data/vendor/assets/javascripts/i18n/grid.locale-hu.js +5 -3
  26. data/vendor/assets/javascripts/i18n/grid.locale-id.js +170 -168
  27. data/vendor/assets/javascripts/i18n/grid.locale-is.js +128 -126
  28. data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
  29. data/vendor/assets/javascripts/i18n/grid.locale-ja.js +6 -3
  30. data/vendor/assets/javascripts/i18n/grid.locale-kr.js +5 -3
  31. data/vendor/assets/javascripts/i18n/grid.locale-lt.js +5 -3
  32. data/vendor/assets/javascripts/i18n/grid.locale-mne.js +130 -128
  33. data/vendor/assets/javascripts/i18n/grid.locale-nl.js +5 -3
  34. data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
  35. data/vendor/assets/javascripts/i18n/grid.locale-pl.js +5 -3
  36. data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +4 -2
  37. data/vendor/assets/javascripts/i18n/grid.locale-pt.js +6 -4
  38. data/vendor/assets/javascripts/i18n/grid.locale-ro.js +5 -3
  39. data/vendor/assets/javascripts/i18n/grid.locale-ru.js +66 -64
  40. data/vendor/assets/javascripts/i18n/grid.locale-sk.js +5 -3
  41. data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +130 -128
  42. data/vendor/assets/javascripts/i18n/grid.locale-sr.js +130 -128
  43. data/vendor/assets/javascripts/i18n/grid.locale-sv.js +5 -3
  44. data/vendor/assets/javascripts/i18n/grid.locale-th.js +130 -128
  45. data/vendor/assets/javascripts/i18n/grid.locale-tr.js +5 -3
  46. data/vendor/assets/javascripts/i18n/grid.locale-tw.js +6 -4
  47. data/vendor/assets/javascripts/i18n/grid.locale-ua.js +5 -3
  48. data/vendor/assets/javascripts/i18n/grid.locale-vi.js +5 -3
  49. data/vendor/assets/javascripts/jquery.jqGrid.js +1109 -536
  50. data/vendor/assets/stylesheets/ui.jqgrid.css +17 -8
  51. metadata +2 -2
@@ -1,128 +1,130 @@
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:"не садржи"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "Додај запис",
29
+ editCaption: "Измени запис",
30
+ bSubmit: "Пошаљи",
31
+ bCancel: "Одустани",
32
+ bClose: "Затвори",
33
+ saveData: "Податак је измењен! Сачувај измене?",
34
+ bYes : "Да",
35
+ bNo : "Не",
36
+ bExit : "Одустани",
37
+ msg: {
38
+ required:"Поље је обавезно",
39
+ number:"Молим, унесите исправан број",
40
+ minValue:"вредност мора бити већа од или једнака са ",
41
+ maxValue:"вредност мора бити мања од или једнака са",
42
+ email: "није исправна имејл адреса",
43
+ integer: "Молим, унесите исправну целобројну вредност ",
44
+ date: "Молим, унесите исправан датум",
45
+ url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
46
+ nodefined : " није дефинисан!",
47
+ novalue : " захтевана је повратна вредност!",
48
+ customarray : "Custom function should return array!",
49
+ customfcheck : "Custom function should be present in case of custom checking!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Погледај запис",
55
+ bClose: "Затвори"
56
+ },
57
+ del : {
58
+ caption: "Избриши",
59
+ msg: "Избриши изабран(е) запис(е)?",
60
+ bSubmit: "Ибриши",
61
+ bCancel: "Одбаци"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "Измени изабрани ред",
66
+ addtext:"",
67
+ addtitle: "Додај нови ред",
68
+ deltext: "",
69
+ deltitle: "Избриши изабран ред",
70
+ searchtext: "",
71
+ searchtitle: "Нађи записе",
72
+ refreshtext: "",
73
+ refreshtitle: "Поново учитај податке",
74
+ alertcap: "Упозорење",
75
+ alerttext: "Молим, изаберите ред",
76
+ viewtext: "",
77
+ viewtitle: "Погледај изабрани ред"
78
+ },
79
+ col : {
80
+ caption: "Изабери колоне",
81
+ bSubmit: "ОК",
82
+ bCancel: "Одбаци"
83
+ },
84
+ errors : {
85
+ errcap : "Грешка",
86
+ nourl : "Није постављен URL",
87
+ norecords: "Нема записа за обраду",
88
+ model : "Дужина модела 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
+ "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
97
+ "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
98
+ ],
99
+ monthNames: [
100
+ "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
101
+ "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
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: "n/j/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
+ })(jQuery);
@@ -19,8 +19,10 @@ $.extend($.jgrid,{
19
19
  caption: "Sök Poster - Ange sökvillkor",
20
20
  Find: "Sök",
21
21
  Reset: "Nollställ Villkor",
22
- odata: [{ oper:'eq', text:"lika"},{ oper:'ne', text:"ej lika"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lika"},{ oper:'gt', text:"större"},{ oper:'ge', text:"större eller lika"},{ oper:'bw', text:"börjar med"},{ oper:'bn', text:"börjar inte med"},{ oper:'in', text:"tillhör"},{ oper:'ni', text:"tillhör inte"},{ oper:'ew', text:"slutar med"},{ oper:'en', text:"slutar inte med"},{ oper:'cn', text:"innehåller"},{ oper:'nc', text:"innehåller inte"}],
23
- groupOps: [ { op: "AND", text: "alla" }, { op: "OR", text: "eller" } ]
22
+ odata: [{ oper:'eq', text:"lika"},{ oper:'ne', text:"ej lika"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lika"},{ oper:'gt', text:"större"},{ oper:'ge', text:"större eller lika"},{ oper:'bw', text:"börjar med"},{ oper:'bn', text:"börjar inte med"},{ oper:'in', text:"tillhör"},{ oper:'ni', text:"tillhör inte"},{ oper:'ew', text:"slutar med"},{ oper:'en', text:"slutar inte med"},{ oper:'cn', text:"innehåller"},{ oper:'nc', text:"innehåller inte"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "alla" }, { op: "OR", text: "eller" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
24
26
  },
25
27
  edit : {
26
28
  addCaption: "Ny Post",
@@ -101,7 +103,7 @@ $.extend($.jgrid,{
101
103
  S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
102
104
  srcformat: 'Y-m-d',
103
105
  newformat: 'Y-m-d',
104
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
105
107
  masks : {
106
108
  ISO8601Long:"Y-m-d H:i:s",
107
109
  ISO8601Short:"Y-m-d",
@@ -1,128 +1,130 @@
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:"ไม่มีคำว่า"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
26
+ },
27
+ edit : {
28
+ addCaption: "เพิ่มข้อมูล",
29
+ editCaption: "แก้ไขข้อมูล",
30
+ bSubmit: "บันทึก",
31
+ bCancel: "ยกเลิก",
32
+ bClose: "ปิด",
33
+ saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?",
34
+ bYes : "บันทึก",
35
+ bNo : "ละทิ้งการแก้ไข",
36
+ bExit : "ยกเลิก",
37
+ msg: {
38
+ required:"ข้อมูลนี้จำเป็น",
39
+ number:"กรุณากรอกหมายเลขให้ถูกต้อง",
40
+ minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า",
41
+ maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า",
42
+ email: "อีเมลล์นี้ไม่ถูกต้อง",
43
+ integer: "กรุณากรอกเป็นจำนวนเต็ม",
44
+ date: "กรุณากรอกวันที่ให้ถูกต้อง",
45
+ url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'",
46
+ nodefined : "ไม่ได้ถูกกำหนดค่า!",
47
+ novalue : "ต้องการการคืนค่า!",
48
+ customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์",
49
+ customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!"
50
+
51
+ }
52
+ },
53
+ view : {
54
+ caption: "เรียกดูข้อมูล",
55
+ bClose: "ปิด"
56
+ },
57
+ del : {
58
+ caption: "ลบข้อมูล",
59
+ msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?",
60
+ bSubmit: "ต้องการลบ",
61
+ bCancel: "ยกเลิก"
62
+ },
63
+ nav : {
64
+ edittext: "",
65
+ edittitle: "แก้ไขข้อมูล",
66
+ addtext:"",
67
+ addtitle: "เพิ่มข้อมูล",
68
+ deltext: "",
69
+ deltitle: "ลบข้อมูล",
70
+ searchtext: "",
71
+ searchtitle: "ค้นหาข้อมูล",
72
+ refreshtext: "",
73
+ refreshtitle: "รีเฟรช",
74
+ alertcap: "คำเตือน",
75
+ alerttext: "กรุณาเลือกข้อมูล",
76
+ viewtext: "",
77
+ viewtitle: "ดูรายละเอียดข้อมูล"
78
+ },
79
+ col : {
80
+ caption: "กรุณาเลือกคอลัมน์",
81
+ bSubmit: "ตกลง",
82
+ bCancel: "ยกเลิก"
83
+ },
84
+ errors : {
85
+ errcap : "เกิดความผิดพลาด",
86
+ nourl : "ไม่ได้กำหนด URL",
87
+ norecords: "ไม่มีข้อมูลให้ดำเนินการ",
88
+ model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!"
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
+ "อา", "จ", "อ", "พ", "พฤ", "ศ", "ส",
97
+ "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์"
98
+ ],
99
+ monthNames: [
100
+ "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.",
101
+ "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return ''},
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: "n/j/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
+ })(jQuery);