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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/jqgrid-jquery-rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -127
  5. data/vendor/assets/javascripts/i18n/grid.locale-bg.js +3 -4
  6. data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +3 -4
  7. data/vendor/assets/javascripts/i18n/grid.locale-cat.js +3 -4
  8. data/vendor/assets/javascripts/i18n/grid.locale-cn.js +4 -5
  9. data/vendor/assets/javascripts/i18n/grid.locale-cs.js +3 -4
  10. data/vendor/assets/javascripts/i18n/grid.locale-da.js +3 -4
  11. data/vendor/assets/javascripts/i18n/grid.locale-de.js +3 -4
  12. data/vendor/assets/javascripts/i18n/grid.locale-dk.js +3 -4
  13. data/vendor/assets/javascripts/i18n/grid.locale-el.js +3 -4
  14. data/vendor/assets/javascripts/i18n/grid.locale-en.js +3 -4
  15. data/vendor/assets/javascripts/i18n/grid.locale-es.js +3 -4
  16. data/vendor/assets/javascripts/i18n/grid.locale-fa.js +144 -145
  17. data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -130
  18. data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -127
  19. data/vendor/assets/javascripts/i18n/grid.locale-gl.js +3 -4
  20. data/vendor/assets/javascripts/i18n/grid.locale-he.js +3 -4
  21. data/vendor/assets/javascripts/i18n/grid.locale-hr.js +161 -162
  22. data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +161 -162
  23. data/vendor/assets/javascripts/i18n/grid.locale-hu.js +3 -4
  24. data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -172
  25. data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -127
  26. data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
  27. data/vendor/assets/javascripts/i18n/grid.locale-ja.js +9 -10
  28. data/vendor/assets/javascripts/i18n/grid.locale-kr.js +3 -4
  29. data/vendor/assets/javascripts/i18n/grid.locale-lt.js +3 -4
  30. data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -129
  31. data/vendor/assets/javascripts/i18n/grid.locale-nl.js +3 -4
  32. data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
  33. data/vendor/assets/javascripts/i18n/grid.locale-pl.js +3 -4
  34. data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +3 -4
  35. data/vendor/assets/javascripts/i18n/grid.locale-pt.js +3 -4
  36. data/vendor/assets/javascripts/i18n/grid.locale-ro.js +3 -4
  37. data/vendor/assets/javascripts/i18n/grid.locale-ru.js +3 -4
  38. data/vendor/assets/javascripts/i18n/grid.locale-sk.js +3 -4
  39. data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +3 -4
  40. data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -129
  41. data/vendor/assets/javascripts/i18n/grid.locale-sv.js +3 -4
  42. data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -129
  43. data/vendor/assets/javascripts/i18n/grid.locale-tr.js +3 -4
  44. data/vendor/assets/javascripts/i18n/grid.locale-tw.js +3 -4
  45. data/vendor/assets/javascripts/i18n/grid.locale-ua.js +3 -4
  46. data/vendor/assets/javascripts/i18n/grid.locale-vi.js +3 -4
  47. data/vendor/assets/javascripts/jquery.jqGrid.js +1316 -988
  48. data/vendor/assets/stylesheets/ui.jqgrid.css +5 -0
  49. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abcaaa646ae23b4ed72003861f0ac03cbeace0bf
4
- data.tar.gz: 49884e12555589538e9c7088c57da65e669ed431
3
+ metadata.gz: c1f1d6d83105b76e23dc5db315296eeda5e7b890
4
+ data.tar.gz: 1e0ea3b2919549dbeaf29d3869679728d2d9226f
5
5
  SHA512:
6
- metadata.gz: 82bd9f5a92923da681586ed9c78d5316bb6ea3c6081815593eef9c00f40d04c6b8f5901944fc9162fc27715b08107ce3ed129667c9de48581bdc6b8b8258b991
7
- data.tar.gz: ca46c3af7a7ee5ca40a82769fe659418b330509bd0497f0a261c0eb039cf4a75bc04b3cb6482472b32103834d1ebfc0c51b3c0eeb3a68c0c224d5e26964dfce3
6
+ metadata.gz: 97a7bdca07b0efca9b1609d914821fdf52b63fe2e83f2143cfbe282deaa37d688af3f900f74200e17a5d7aea21769a70d0ec70f661b0bb0cad3f716a22c0eee9
7
+ data.tar.gz: 8d4685bf59973e7efbb40622fad085ba0bfa2e07df632f114912a1f0615bd037de3b23f1cff9499a72b95ba94e9d344e24281d97abf4d2bed146a48f4a2c6746
data/README.md CHANGED
@@ -10,7 +10,7 @@ Add these lines to your application's `Gemfile`:
10
10
 
11
11
  ```rb
12
12
  # jqgrid jquery plugin packaged for the rails asset pipeline
13
- gem 'jqgrid-jquery-rails', '~> 4.4.5'
13
+ gem 'jqgrid-jquery-rails', '~> 4.5.0'
14
14
  ```
15
15
 
16
16
  And then execute:
@@ -7,6 +7,6 @@ module JqgridJquery
7
7
  # "2.0.0.pre"
8
8
  # "2.0.0.beta"
9
9
  # Refer to Semantic Versioning 2.0.0 (http://semver.org).
10
- VERSION = "4.4.5.0"
10
+ VERSION = "4.5.0.0"
11
11
  end
12
12
  end
@@ -1,127 +1,126 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Arabic Translation
4
- *
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 : ['يساوي', 'يختلف', 'أقل', 'أقل أو يساوي','أكبر','أكبر أو يساوي', 'يبدأ بـ','لا يبدأ بـ','est dans',"n'est pas dans",'ينته بـ','لا ينته بـ','يحتوي','لا يحتوي'],
23
- groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" } ],
24
- matchText: " توافق",
25
- rulesText: " قواعد"
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: "يجب أن تكون القيمة أكبر أو تساوي 0",
41
- maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
42
- email: "بريد غير صحيح",
43
- integer: "سجل عدد طبييعي صحيح",
44
- url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
45
- nodefined : " ليس محدد!",
46
- novalue : " قيمة الرجوع مطلوبة!",
47
- customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
48
- customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
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 : "لا يوجد عنوان محدد",
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 : ["صباحا","مساءا","صباحا","مساءا"],
102
- S: function (j) {return j == 1 ? 'er' : 'e';},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- masks : {
106
- ISO8601Long:"Y-m-d H:i:s",
107
- ISO8601Short:"Y-m-d",
108
- ShortDate: "n/j/Y",
109
- LongDate: "l, F d, Y",
110
- FullDateTime: "l, F d, Y g:i:s A",
111
- MonthDay: "F d",
112
- ShortTime: "g:i A",
113
- LongTime: "g:i:s A",
114
- SortableDateTime: "Y-m-d\\TH:i:s",
115
- UniversalSortableDateTime: "Y-m-d H:i:sO",
116
- YearMonth: "F, Y"
117
- },
118
- reformatAfterEdit : false
119
- },
120
- baseLinkUrl: '',
121
- showAction: '',
122
- target: '',
123
- checkbox : {disabled:true},
124
- idName : 'id'
125
- }
126
- });
127
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Arabic Translation
4
+ *
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:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ 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: "يجب أن تكون القيمة أكبر أو تساوي 0",
39
+ maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
40
+ email: "بريد غير صحيح",
41
+ integer: "سجل عدد طبييعي صحيح",
42
+ url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
43
+ nodefined : " ليس محدد!",
44
+ novalue : " قيمة الرجوع مطلوبة!",
45
+ customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
46
+ customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
47
+ }
48
+ },
49
+ view : {
50
+ caption: "رأيت التسجيلات",
51
+ bClose: "غلق"
52
+ },
53
+ del : {
54
+ caption: "حذف",
55
+ msg: "حذف التسجيلات المختارة ?",
56
+ bSubmit: "حذف",
57
+ bCancel: "إلغاء"
58
+ },
59
+ nav : {
60
+ edittext: " ",
61
+ edittitle: "تغيير التسجيل المختار",
62
+ addtext:" ",
63
+ addtitle: "إضافة تسجيل",
64
+ deltext: " ",
65
+ deltitle: "حذف التسجيل المختار",
66
+ searchtext: " ",
67
+ searchtitle: "بحث عن تسجيل",
68
+ refreshtext: "",
69
+ refreshtitle: "تحديث الجدول",
70
+ alertcap: "تحذير",
71
+ alerttext: "يرجى إختيار السطر",
72
+ viewtext: "",
73
+ viewtitle: "إظهار السطر المختار"
74
+ },
75
+ col : {
76
+ caption: "إظهار/إخفاء الأعمدة",
77
+ bSubmit: "تثبيث",
78
+ bCancel: "إلغاء"
79
+ },
80
+ errors : {
81
+ errcap : "خطأ",
82
+ nourl : "لا يوجد عنوان محدد",
83
+ norecords: "لا يوجد تسجيل للمعالجة",
84
+ model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
85
+ },
86
+ formatter : {
87
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
88
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
89
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
90
+ date : {
91
+ dayNames: [
92
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
93
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
94
+ ],
95
+ monthNames: [
96
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
97
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
98
+ ],
99
+ AmPm : ["صباحا","مساءا","صباحا","مساءا"],
100
+ S: function (j) {return j == 1 ? 'er' : 'e';},
101
+ srcformat: 'Y-m-d',
102
+ newformat: 'd/m/Y',
103
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
104
+ masks : {
105
+ ISO8601Long:"Y-m-d H:i:s",
106
+ ISO8601Short:"Y-m-d",
107
+ ShortDate: "n/j/Y",
108
+ LongDate: "l, F d, Y",
109
+ FullDateTime: "l, F d, Y g:i:s A",
110
+ MonthDay: "F d",
111
+ ShortTime: "g:i A",
112
+ LongTime: "g:i:s A",
113
+ SortableDateTime: "Y-m-d\\TH:i:s",
114
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
115
+ YearMonth: "F, Y"
116
+ },
117
+ reformatAfterEdit : false
118
+ },
119
+ baseLinkUrl: '',
120
+ showAction: '',
121
+ target: '',
122
+ checkbox : {disabled:true},
123
+ idName : 'id'
124
+ }
125
+ });
126
+ })(jQuery);
@@ -19,10 +19,8 @@ $.extend($.jgrid,{
19
19
  caption: "Търсене...",
20
20
  Find: "Намери",
21
21
  Reset: "Изчисти",
22
- odata : ['равно', 'различно', 'по-малко', 'по-малко или=','по-голямо','по-голямо или =', 'започва с','не започва с','се намира в','не се намира в','завършва с','не завършава с','съдържа', 'не съдържа' ],
23
- groupOps: [ { op: "AND", text: "&nbsp;И " }, { op: "OR", text: "ИЛИ" } ],
24
- matchText: " включи",
25
- rulesText: " клауза"
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: "AND", text: "&nbsp;И " }, { op: "OR", text: "ИЛИ" } ]
26
24
  },
27
25
  edit : {
28
26
  addCaption: "Нов Запис",
@@ -108,6 +106,7 @@ $.extend($.jgrid,{
108
106
  },
109
107
  srcformat: 'Y-m-d',
110
108
  newformat: 'd/m/Y',
109
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
111
110
  masks : {
112
111
  ISO8601Long:"Y-m-d H:i:s",
113
112
  ISO8601Short:"Y-m-d",
@@ -19,10 +19,8 @@ $.extend($.jgrid,{
19
19
  caption: "�������...",
20
20
  Find: "������",
21
21
  Reset: "�������",
22
- odata : ['�����', '��������', '��-�����', '��-����� ���=','��-������','��-������ ��� =', '������� �','�� ������� �','�� ������ �','�� �� ������ �','�������� �','�� ��������� �','�������', '�� �������' ],
23
- groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ],
24
- matchText: " ������",
25
- rulesText: " ������"
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: "AND", text: " � " }, { op: "OR", text: "���" } ]
26
24
  },
27
25
  edit : {
28
26
  addCaption: "��� �����",
@@ -108,6 +106,7 @@ $.extend($.jgrid,{
108
106
  },
109
107
  srcformat: 'Y-m-d',
110
108
  newformat: 'd/m/Y',
109
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
111
110
  masks : {
112
111
  ISO8601Long:"Y-m-d H:i:s",
113
112
  ISO8601Short:"Y-m-d",
@@ -19,10 +19,8 @@ $.extend($.jgrid,{
19
19
  caption: "Cerca...",
20
20
  Find: "Cercar",
21
21
  Reset: "Buidar",
22
- odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
23
- groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
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: "tot" }, { op: "OR", text: "qualsevol" } ]
26
24
  },
27
25
  edit : {
28
26
  addCaption: "Afegir registre",
@@ -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",
@@ -22,11 +22,9 @@ $.extend($.jgrid,{
22
22
  caption: "搜索...",
23
23
  Find: "查找",
24
24
  Reset: "重置",
25
- odata : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于',
26
- '开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含','空值于\u3000\u3000','非空值'],
27
- groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
28
- matchText: " 匹配",
29
- rulesText: " 规则"
25
+ odata : [{oper:'eq', text:'等于\u3000\u3000'},{oper:'ne', text: '不等\u3000\u3000'}, { oper:'lt', text:'小于\u3000\u3000'},{ oper:'le', text: '小于等于'},{ oper:'gt', text:'大于\u3000\u3000'},{ oper:'ge', text:'大于等于'},
26
+ {oper:'bw', text:'开始于'},{ oper:'bn', text:'不开始于'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'不属于'},{ oper:'ew', text:'结束于'},{ oper:'en', text:'不结束于'},{ oper:'cn', text:'包含\u3000\u3000'},{ oper:'nc', text:'不包含'},{ oper:'nu', text:'空值于\u3000\u3000'},{ oper:'nn', text:'非空值'}],
27
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ]
30
28
  },
31
29
  edit : {
32
30
  addCaption: "添加记录",
@@ -108,6 +106,7 @@ $.extend($.jgrid,{
108
106
  S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
109
107
  srcformat: 'Y-m-d',
110
108
  newformat: 'm-d-Y',
109
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
111
110
  masks : {
112
111
  ISO8601Long:"Y-m-d H:i:s",
113
112
  ISO8601Short:"Y-m-d",
@@ -20,10 +20,8 @@ $.extend($.jgrid,{
20
20
  caption: "Vyhledávám...",
21
21
  Find: "Hledat",
22
22
  Reset: "Reset",
23
- odata : ['rovno', 'nerovono', 'menší', 'menší nebo rovno','větší', 'větší nebo rovno', 'začíná s', 'nezačíná s', 'je v', 'není v', 'končí s', 'nekončí s', 'obahuje', 'neobsahuje'],
24
- groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ],
25
- matchText: " hledat podle",
26
- rulesText: " pravidel"
23
+ odata: [{ oper:'eq', text:"rovno"},{ oper:'ne', text:"nerovono"},{ oper:'lt', text:"menší"},{ oper:'le', text:"menší nebo rovno"},{ oper:'gt', text:"větší"},{ oper:'ge', text:"větší nebo rovno"},{ oper:'bw', text:"začíná s"},{ oper:'bn', text:"nezačíná s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"není v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"}],
24
+ groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ]
27
25
  },
28
26
  edit : {
29
27
  addCaption: "Přidat záznam",
@@ -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",
@@ -19,10 +19,8 @@ $.extend($.jgrid,{
19
19
  caption: "Søg...",
20
20
  Find: "Find",
21
21
  Reset: "Nulstil",
22
- odata : ['lig', 'forskellige fra', 'mindre', 'mindre eller lig','større','større eller lig', 'begynder med','begynder ikke med','findes i','findes ikke i','ender med','ender ikke med','indeholder','indeholder ikke'],
23
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
- matchText: " lig",
25
- rulesText: " regler"
22
+ odata: [{ oper:'eq', text:"lig"},{ oper:'ne', text:"forskellige fra"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lig"},{ oper:'gt', text:"større"},{ oper:'ge', text:"større eller lig"},{ oper:'bw', text:"begynder med"},{ oper:'bn', text:"begynder ikke med"},{ oper:'in', text:"findes i"},{ oper:'ni', text:"findes ikke i"},{ oper:'ew', text:"ender med"},{ oper:'en', text:"ender ikke med"},{ oper:'cn', text:"indeholder"},{ oper:'nc', text:"indeholder ikke"}],
23
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
26
24
  },
27
25
  edit : {
28
26
  addCaption: "Tilføj",
@@ -103,6 +101,7 @@ $.extend($.jgrid,{
103
101
  S: function (j) {return '.'},
104
102
  srcformat: 'Y-m-d',
105
103
  newformat: 'd/m/Y',
104
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
106
105
  masks : {
107
106
  ISO8601Long:"Y-m-d H:i:s",
108
107
  ISO8601Short:"Y-m-d",
@@ -30,10 +30,8 @@ $.extend($.jgrid,{
30
30
  caption: "Suche...",
31
31
  Find: "Suchen",
32
32
  Reset: "Zurücksetzen",
33
- odata : ['gleich', 'ungleich', 'kleiner', 'kleiner gleich','größer','größer gleich', 'beginnt mit','beginnt nicht mit','ist in','ist nicht in','endet mit','endet nicht mit','enthält','enthält nicht'],
34
- groupOps: [ { op: "AND", text: "alle" }, { op: "OR", text: "mindestens eine" } ],
35
- matchText: " erfülle",
36
- rulesText: " Bedingung(en)"
33
+ odata: [{ oper:'eq', text:"gleich"},{ oper:'ne', text:"ungleich"},{ oper:'lt', text:"kleiner"},{ oper:'le', text:"kleiner gleich"},{ oper:'gt', text:"größer"},{ oper:'ge', text:"größer gleich"},{ oper:'bw', text:"beginnt mit"},{ oper:'bn', text:"beginnt nicht mit"},{ oper:'in', text:"ist in"},{ oper:'ni', text:"ist nicht in"},{ oper:'ew', text:"endet mit"},{ oper:'en', text:"endet nicht mit"},{ oper:'cn', text:"enthält"},{ oper:'nc', text:"enthält nicht"}],
34
+ groupOps: [ { op: "AND", text: "alle" }, { op: "OR", text: "mindestens eine" } ]
37
35
  },
38
36
  edit : {
39
37
  addCaption: "Datensatz hinzufügen",
@@ -114,6 +112,7 @@ $.extend($.jgrid,{
114
112
  S: function (j) {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
115
113
  srcformat: 'Y-m-d',
116
114
  newformat: 'd.m.Y',
115
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
117
116
  masks : {
118
117
  // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
119
118
  // and see http://docs.jquery.com/UI/Datepicker/formatDate
@@ -18,10 +18,8 @@ $.jgrid = {
18
18
  caption: "Søg...",
19
19
  Find: "Find",
20
20
  Reset: "Nulstil",
21
- odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
22
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
- matchText: " match",
24
- rulesText: " rules"
21
+ 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'}],
22
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
25
23
  },
26
24
  edit : {
27
25
  addCaption: "Tilføj",
@@ -102,6 +100,7 @@ $.jgrid = {
102
100
  S: function (j) {return '.'},
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",