jqgrid-rails 4.5.4.3 → 4.6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/jqgrid-rails.gemspec +1 -0
  2. data/lib/jqgrid/rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/i18n/grid.locale-ar.js +6 -4
  4. data/vendor/assets/javascripts/i18n/grid.locale-bg.js +5 -3
  5. data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +1 -1
  6. data/vendor/assets/javascripts/i18n/grid.locale-cat.js +5 -3
  7. data/vendor/assets/javascripts/i18n/grid.locale-cn.js +159 -122
  8. data/vendor/assets/javascripts/i18n/grid.locale-cs.js +5 -3
  9. data/vendor/assets/javascripts/i18n/grid.locale-da.js +5 -3
  10. data/vendor/assets/javascripts/i18n/grid.locale-de.js +41 -39
  11. data/vendor/assets/javascripts/i18n/grid.locale-dk.js +129 -127
  12. data/vendor/assets/javascripts/i18n/grid.locale-el.js +5 -3
  13. data/vendor/assets/javascripts/i18n/grid.locale-en.js +5 -3
  14. data/vendor/assets/javascripts/i18n/grid.locale-es.js +5 -3
  15. data/vendor/assets/javascripts/i18n/grid.locale-fa.js +5 -3
  16. data/vendor/assets/javascripts/i18n/grid.locale-fi.js +5 -3
  17. data/vendor/assets/javascripts/i18n/grid.locale-fr.js +5 -3
  18. data/vendor/assets/javascripts/i18n/grid.locale-gl.js +5 -3
  19. data/vendor/assets/javascripts/i18n/grid.locale-he.js +5 -3
  20. data/vendor/assets/javascripts/i18n/grid.locale-hr.js +12 -10
  21. data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +12 -10
  22. data/vendor/assets/javascripts/i18n/grid.locale-hu.js +5 -3
  23. data/vendor/assets/javascripts/i18n/grid.locale-id.js +5 -3
  24. data/vendor/assets/javascripts/i18n/grid.locale-is.js +5 -3
  25. data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
  26. data/vendor/assets/javascripts/i18n/grid.locale-ja.js +6 -3
  27. data/vendor/assets/javascripts/i18n/grid.locale-kr.js +5 -3
  28. data/vendor/assets/javascripts/i18n/grid.locale-lt.js +5 -3
  29. data/vendor/assets/javascripts/i18n/grid.locale-mne.js +5 -3
  30. data/vendor/assets/javascripts/i18n/grid.locale-nl.js +5 -3
  31. data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
  32. data/vendor/assets/javascripts/i18n/grid.locale-pl.js +133 -131
  33. data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +9 -2
  34. data/vendor/assets/javascripts/i18n/grid.locale-pt.js +6 -4
  35. data/vendor/assets/javascripts/i18n/grid.locale-ro.js +5 -3
  36. data/vendor/assets/javascripts/i18n/grid.locale-ru.js +66 -64
  37. data/vendor/assets/javascripts/i18n/grid.locale-sk.js +5 -3
  38. data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +5 -3
  39. data/vendor/assets/javascripts/i18n/grid.locale-sr.js +5 -3
  40. data/vendor/assets/javascripts/i18n/grid.locale-sv.js +5 -3
  41. data/vendor/assets/javascripts/i18n/grid.locale-th.js +5 -3
  42. data/vendor/assets/javascripts/i18n/grid.locale-tr.js +5 -3
  43. data/vendor/assets/javascripts/i18n/grid.locale-tw.js +6 -4
  44. data/vendor/assets/javascripts/i18n/grid.locale-ua.js +5 -3
  45. data/vendor/assets/javascripts/i18n/grid.locale-vi.js +5 -3
  46. data/vendor/assets/javascripts/jquery.jqGrid.min.js +512 -501
  47. data/vendor/assets/stylesheets/ui.jqgrid.css +17 -8
  48. metadata +18 -2
data/jqgrid-rails.gemspec CHANGED
@@ -19,4 +19,5 @@ Gem::Specification.new do |spec|
19
19
  spec.add_development_dependency "bundler", "~> 1.3"
20
20
  spec.add_development_dependency "rake"
21
21
  spec.add_dependency "railties", '>= 4.0.0', '< 4.1'
22
+ spec.add_dependency "jquery-rails"
22
23
  end
@@ -1,5 +1,5 @@
1
1
  module Jqgrid
2
2
  module Rails
3
- VERSION = "4.5.4.3"
3
+ VERSION = "4.6.0.0"
4
4
  end
5
5
  end
@@ -19,9 +19,11 @@ $.extend($.jgrid,{
19
19
  caption: "بحث...",
20
20
  Find: "بحث",
21
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
- },
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:"لا يحتوي"},{ 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
+ },
25
27
  edit : {
26
28
  addCaption: "اضافة",
27
29
  editCaption: "تحديث",
@@ -100,7 +102,7 @@ $.extend($.jgrid,{
100
102
  S: function (j) {return j == 1 ? 'er' : 'e';},
101
103
  srcformat: 'Y-m-d',
102
104
  newformat: 'd/m/Y',
103
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
105
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
104
106
  masks : {
105
107
  ISO8601Long:"Y-m-d H:i:s",
106
108
  ISO8601Short:"Y-m-d",
@@ -19,8 +19,10 @@ $.extend($.jgrid,{
19
19
  caption: "Търсене...",
20
20
  Find: "Намери",
21
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: "AND", text: "&nbsp;И " }, { op: "OR", text: "ИЛИ" } ]
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:'е NULL'},{ oper:'nn', text:'не е NULL'}],
23
+ groupOps: [ { op: "AND", text: "&nbsp;И " }, { op: "OR", text: "ИЛИ" } ],
24
+ operandTitle : "Натисни за избор на операнд.",
25
+ resetTitle : "Изчисти стойността"
24
26
  },
25
27
  edit : {
26
28
  addCaption: "Нов Запис",
@@ -106,7 +108,7 @@ $.extend($.jgrid,{
106
108
  },
107
109
  srcformat: 'Y-m-d',
108
110
  newformat: 'd/m/Y',
109
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
111
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
110
112
  masks : {
111
113
  ISO8601Long:"Y-m-d H:i:s",
112
114
  ISO8601Short:"Y-m-d",
@@ -106,7 +106,7 @@ $.extend($.jgrid,{
106
106
  },
107
107
  srcformat: 'Y-m-d',
108
108
  newformat: 'd/m/Y',
109
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
109
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
110
110
  masks : {
111
111
  ISO8601Long:"Y-m-d H:i:s",
112
112
  ISO8601Short:"Y-m-d",
@@ -19,8 +19,10 @@ $.extend($.jgrid,{
19
19
  caption: "Cerca...",
20
20
  Find: "Cercar",
21
21
  Reset: "Buidar",
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" } ]
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"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
24
26
  },
25
27
  edit : {
26
28
  addCaption: "Afegir registre",
@@ -102,7 +104,7 @@ $.extend($.jgrid,{
102
104
  S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
105
  srcformat: 'Y-m-d',
104
106
  newformat: 'd-m-Y',
105
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
108
  masks : {
107
109
  ISO8601Long:"Y-m-d H:i:s",
108
110
  ISO8601Short:"Y-m-d",
@@ -1,132 +1,169 @@
1
1
  ;(function($){
2
2
  /**
3
- * jqGrid Chinese Translation for v4.2
4
- * henryyan 2011.11.30
5
- * http://www.wsria.com
3
+ * jqGrid Chinese Translation
4
+ * 咖啡兔 yanhonglei@gmail.com
5
+ * http://www.kafeitu.me
6
6
  * Dual licensed under the MIT and GPL licenses:
7
7
  * http://www.opensource.org/licenses/mit-license.php
8
8
  * http://www.gnu.org/licenses/gpl.html
9
- *
10
- * update 2011.11.30
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
9
  **/
13
10
  $.jgrid = $.jgrid || {};
14
11
  $.extend($.jgrid,{
15
- defaults : {
16
- recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
17
- emptyrecords: "无数据显示",
18
- loadtext: "读取中...",
19
- pgtext : " {0} 共 {1} 页"
20
- },
21
- search : {
22
- caption: "搜索...",
23
- Find: "查找",
24
- Reset: "重置",
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: "任一" } ]
28
- },
29
- edit : {
30
- addCaption: "添加记录",
31
- editCaption: "编辑记录",
32
- bSubmit: "提交",
33
- bCancel: "取消",
34
- bClose: "关闭",
35
- saveData: "数据已改变,是否保存?",
36
- bYes : "",
37
- bNo : "",
38
- bExit : "取消",
39
- msg: {
40
- required:"此字段必需",
41
- number:"请输入有效数字",
42
- minValue:"输值必须大于等于 ",
43
- maxValue:"输值必须小于等于 ",
44
- email: "这不是有效的e-mail地址",
45
- integer: "请输入有效整数",
46
- date: "请输入有效时间",
47
- url: "无效网址。前缀必须为 ('http://' 或 'https://')",
48
- nodefined : " 未定义!",
49
- novalue : " 需要返回值!",
50
- customarray : "自定义函数需要返回数组!",
51
- customfcheck : "Custom function should be present in case of custom checking!"
52
-
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 : "没有设置url",
89
- norecords: "没有要处理的记录",
90
- model : "colNames 和 colModel 长度不等!"
91
- },
92
- formatter : {
93
- integer : {thousandsSeparator: " ", defaultValue: '0'},
94
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
95
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
96
- date : {
97
- dayNames: [
98
- "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
99
- "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
100
- ],
101
- monthNames: [
102
- "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
103
- "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
104
- ],
105
- AmPm : ["am","pm","AM","PM"],
106
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
107
- srcformat: 'Y-m-d',
108
- newformat: 'm-d-Y',
109
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
110
- masks : {
111
- ISO8601Long:"Y-m-d H:i:s",
112
- ISO8601Short:"Y-m-d",
113
- ShortDate: "Y/j/n",
114
- LongDate: "l, F d, Y",
115
- FullDateTime: "l, F d, Y g:i:s A",
116
- MonthDay: "F d",
117
- ShortTime: "g:i A",
118
- LongTime: "g:i:s A",
119
- SortableDateTime: "Y-m-d\\TH:i:s",
120
- UniversalSortableDateTime: "Y-m-d H:i:sO",
121
- YearMonth: "F, Y"
122
- },
123
- reformatAfterEdit : false
124
- },
125
- baseLinkUrl: '',
126
- showAction: '',
127
- target: '',
128
- checkbox : {disabled:true},
129
- idName : 'id'
130
- }
12
+ defaults : {
13
+ recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
14
+ emptyrecords: "无数据显示",
15
+ loadtext: "读取中...",
16
+ pgtext : " {0} 共 {1} 页"
17
+ },
18
+ search : {
19
+ caption: "搜索...",
20
+ Find: "查找",
21
+ Reset: "重置",
22
+ 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:'大于等于'},{ 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:'不存在'},{ oper:'nn', text:'存在'}],
23
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", 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: "这不是有效的e-mail地址",
43
+ integer: "请输入有效整数",
44
+ date: "请输入有效时间",
45
+ url: "无效网址。前缀必须为 ('http://' 或 'https://')",
46
+ nodefined : " 未定义!",
47
+ novalue : " 需要返回值!",
48
+ customarray : "自定义函数需要返回数组!",
49
+ customfcheck : "必须有自定义函数!"
50
+ }
51
+ },
52
+ view : {
53
+ caption: "查看记录",
54
+ bClose: "关闭"
55
+ },
56
+ del : {
57
+ caption: "删除",
58
+ msg: "删除所选记录?",
59
+ bSubmit: "删除",
60
+ bCancel: "取消"
61
+ },
62
+ nav : {
63
+ edittext: "",
64
+ edittitle: "编辑所选记录",
65
+ addtext:"",
66
+ addtitle: "添加新记录",
67
+ deltext: "",
68
+ deltitle: "删除所选记录",
69
+ searchtext: "",
70
+ searchtitle: "查找",
71
+ refreshtext: "",
72
+ refreshtitle: "刷新表格",
73
+ alertcap: "注意",
74
+ alerttext: "请选择记录",
75
+ viewtext: "",
76
+ viewtitle: "查看所选记录"
77
+ },
78
+ col : {
79
+ caption: "选择列",
80
+ bSubmit: "确定",
81
+ bCancel: "取消"
82
+ },
83
+ errors : {
84
+ errcap : "错误",
85
+ nourl : "没有设置url",
86
+ norecords: "没有要处理的记录",
87
+ model : "colNames 和 colModel 长度不等!"
88
+ },
89
+ formatter : {
90
+ integer : {thousandsSeparator: ",", defaultValue: '0'},
91
+ number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
92
+ currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
93
+ date : {
94
+ dayNames: [
95
+ "", "", "", "", "", "", "",
96
+ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六",
97
+ ],
98
+ monthNames: [
99
+ "", "", "", "", "", "", "", "", "", "", "十一", "十二",
100
+ "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
101
+ ],
102
+ AmPm : ["am","pm","上午","下午"],
103
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
104
+ srcformat: 'Y-m-d',
105
+ newformat: 'Y-m-d',
106
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
107
+ masks : {
108
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
109
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
110
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
111
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
112
+ // information about date, time, numbers and currency formats used in different countries
113
+ // one should just convert the information in PHP format
114
+ ISO8601Long:"Y-m-d H:i:s",
115
+ ISO8601Short:"Y-m-d",
116
+ // short date:
117
+ // n - Numeric representation of a month, without leading zeros
118
+ // j - Day of the month without leading zeros
119
+ // Y - A full numeric representation of a year, 4 digits
120
+ // example: 3/1/2012 which means 1 March 2012
121
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
122
+ // long date:
123
+ // l - A full textual representation of the day of the week
124
+ // F - A full textual representation of a month
125
+ // d - Day of the month, 2 digits with leading zeros
126
+ // Y - A full numeric representation of a year, 4 digits
127
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
128
+ // long date with long time:
129
+ // l - A full textual representation of the day of the week
130
+ // F - A full textual representation of a month
131
+ // d - Day of the month, 2 digits with leading zeros
132
+ // Y - A full numeric representation of a year, 4 digits
133
+ // g - 12-hour format of an hour without leading zeros
134
+ // i - Minutes with leading zeros
135
+ // s - Seconds, with leading zeros
136
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
137
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
138
+ // month day:
139
+ // F - A full textual representation of a month
140
+ // d - Day of the month, 2 digits with leading zeros
141
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
142
+ // short time (without seconds)
143
+ // g - 12-hour format of an hour without leading zeros
144
+ // i - Minutes with leading zeros
145
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
146
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
147
+ // long time (with seconds)
148
+ // g - 12-hour format of an hour without leading zeros
149
+ // i - Minutes with leading zeros
150
+ // s - Seconds, with leading zeros
151
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
152
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
153
+ SortableDateTime: "Y-m-d\\TH:i:s",
154
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
155
+ // month with year
156
+ // Y - A full numeric representation of a year, 4 digits
157
+ // F - A full textual representation of a month
158
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
159
+ },
160
+ reformatAfterEdit : false
161
+ },
162
+ baseLinkUrl: '',
163
+ showAction: '',
164
+ target: '',
165
+ checkbox : {disabled:true},
166
+ idName : 'id'
167
+ }
131
168
  });
132
169
  })(jQuery);
@@ -20,8 +20,10 @@ $.extend($.jgrid,{
20
20
  caption: "Vyhledávám...",
21
21
  Find: "Hledat",
22
22
  Reset: "Reset",
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" } ]
23
+ odata: [{ oper:'eq', text:"rovno"},{ oper:'ne', text:"nerovno"},{ 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:"obsahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
24
+ groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ],
25
+ operandTitle : "Click to select search operation.",
26
+ resetTitle : "Reset Search Value"
25
27
  },
26
28
  edit : {
27
29
  addCaption: "Přidat záznam",
@@ -102,7 +104,7 @@ $.extend($.jgrid,{
102
104
  S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
103
105
  srcformat: 'Y-m-d',
104
106
  newformat: 'd/m/Y',
105
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
107
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
106
108
  masks : {
107
109
  ISO8601Long:"Y-m-d H:i:s",
108
110
  ISO8601Short:"Y-m-d",
@@ -19,8 +19,10 @@ $.extend($.jgrid,{
19
19
  caption: "Søg...",
20
20
  Find: "Find",
21
21
  Reset: "Nulstil",
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" } ]
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"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
23
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
24
+ operandTitle : "Click to select search operation.",
25
+ resetTitle : "Reset Search Value"
24
26
  },
25
27
  edit : {
26
28
  addCaption: "Tilføj",
@@ -101,7 +103,7 @@ $.extend($.jgrid,{
101
103
  S: function (j) {return '.'},
102
104
  srcformat: 'Y-m-d',
103
105
  newformat: 'd/m/Y',
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",
@@ -22,7 +22,7 @@ $.jgrid = $.jgrid || {};
22
22
  $.extend($.jgrid,{
23
23
  defaults : {
24
24
  recordtext: "Zeige {0} - {1} von {2}",
25
- emptyrecords: "Keine Datensätze vorhanden",
25
+ emptyrecords: "Keine Datensätze vorhanden",
26
26
  loadtext: "Lädt...",
27
27
  pgtext : "Seite {0} von {1}"
28
28
  },
@@ -30,8 +30,10 @@ $.extend($.jgrid,{
30
30
  caption: "Suche...",
31
31
  Find: "Suchen",
32
32
  Reset: "Zurücksetzen",
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" } ]
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"}, { oper:'nu', text:"ist Null" }, { oper:'nn', text:"ist nicht Null" }],
34
+ groupOps: [{ op: "AND", text: "alle" },{ op: "OR", text: "mindestens eine" }],
35
+ operandTitle : "Click to select search operation.",
36
+ resetTitle : "Reset Search Value"
35
37
  },
36
38
  edit : {
37
39
  addCaption: "Datensatz hinzufügen",
@@ -44,12 +46,12 @@ $.extend($.jgrid,{
44
46
  bNo : "nein",
45
47
  bExit : "abbrechen",
46
48
  msg: {
47
- required:"Feld ist erforderlich",
48
- number: "Bitte geben Sie eine Zahl ein",
49
- minValue:"Wert muss größer oder gleich sein, als ",
50
- maxValue:"Wert muss kleiner oder gleich sein, als ",
51
- email: "ist keine gültige E-Mail-Adresse",
52
- integer: "Bitte geben Sie eine Ganzzahl ein",
49
+ required:"Feld ist erforderlich",
50
+ number: "Bitte geben Sie eine Zahl ein",
51
+ minValue:"Wert muss größer oder gleich sein, als ",
52
+ maxValue:"Wert muss kleiner oder gleich sein, als ",
53
+ email: "ist keine gültige E-Mail-Adresse",
54
+ integer: "Bitte geben Sie eine Ganzzahl ein",
53
55
  date: "Bitte geben Sie ein gültiges Datum ein",
54
56
  url: "ist keine gültige URL. Präfix muss eingegeben werden ('http://' oder 'https://')",
55
57
  nodefined : " ist nicht definiert!",
@@ -59,8 +61,8 @@ $.extend($.jgrid,{
59
61
  }
60
62
  },
61
63
  view : {
62
- caption: "Datensatz anzeigen",
63
- bClose: "Schließen"
64
+ caption: "Datensatz anzeigen",
65
+ bClose: "Schließen"
64
66
  },
65
67
  del : {
66
68
  caption: "Löschen",
@@ -70,17 +72,17 @@ $.extend($.jgrid,{
70
72
  },
71
73
  nav : {
72
74
  edittext: " ",
73
- edittitle: "Ausgewählte Zeile editieren",
75
+ edittitle: "Ausgewählte Zeile editieren",
74
76
  addtext:" ",
75
- addtitle: "Neue Zeile einfügen",
76
- deltext: " ",
77
- deltitle: "Ausgewählte Zeile löschen",
78
- searchtext: " ",
79
- searchtitle: "Datensatz suchen",
80
- refreshtext: "",
81
- refreshtitle: "Tabelle neu laden",
82
- alertcap: "Warnung",
83
- alerttext: "Bitte Zeile auswählen",
77
+ addtitle: "Neue Zeile einfügen",
78
+ deltext: " ",
79
+ deltitle: "Ausgewählte Zeile löschen",
80
+ searchtext: " ",
81
+ searchtitle: "Datensatz suchen",
82
+ refreshtext: "",
83
+ refreshtitle: "Tabelle neu laden",
84
+ alertcap: "Warnung",
85
+ alerttext: "Bitte Zeile auswählen",
84
86
  viewtext: "",
85
87
  viewtitle: "Ausgewählte Zeile anzeigen"
86
88
  },
@@ -109,27 +111,27 @@ $.extend($.jgrid,{
109
111
  "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
110
112
  ],
111
113
  AmPm : ["","","",""],
112
- S: function (j) {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
114
+ S: function () {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
113
115
  srcformat: 'Y-m-d',
114
116
  newformat: 'd.m.Y',
115
- parseRe : /[Tt\\\/:_;.,\t\s-]/,
117
+ parseRe : /[#%\\\/:_;.,\t\s-]/,
116
118
  masks : {
117
119
  // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
118
120
  // and see http://docs.jquery.com/UI/Datepicker/formatDate
119
121
  // and https://github.com/jquery/globalize#dates for alternative formats used frequently
120
- ISO8601Long: "Y-m-d H:i:s",
121
- ISO8601Short: "Y-m-d",
122
+ ISO8601Long: "Y-m-d H:i:s",
123
+ ISO8601Short: "Y-m-d",
122
124
  // short date:
123
125
  // d - Day of the month, 2 digits with leading zeros
124
126
  // m - Numeric representation of a month, with leading zeros
125
127
  // Y - A full numeric representation of a year, 4 digits
126
- ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy"
128
+ ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy"
127
129
  // long date:
128
130
  // l - A full textual representation of the day of the week
129
131
  // j - Day of the month without leading zeros
130
132
  // F - A full textual representation of a month
131
133
  // Y - A full numeric representation of a year, 4 digits
132
- LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
134
+ LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
133
135
  // long date with long time:
134
136
  // l - A full textual representation of the day of the week
135
137
  // j - Day of the month without leading zeros
@@ -138,34 +140,34 @@ $.extend($.jgrid,{
138
140
  // H - 24-hour format of an hour with leading zeros
139
141
  // i - Minutes with leading zeros
140
142
  // s - Seconds, with leading zeros
141
- FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
143
+ FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
142
144
  // month day:
143
145
  // d - Day of the month, 2 digits with leading zeros
144
146
  // F - A full textual representation of a month
145
- MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
147
+ MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
146
148
  // short time (without seconds)
147
149
  // H - 24-hour format of an hour with leading zeros
148
150
  // i - Minutes with leading zeros
149
- ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
151
+ ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
150
152
  // long time (with seconds)
151
153
  // H - 24-hour format of an hour with leading zeros
152
154
  // i - Minutes with leading zeros
153
155
  // s - Seconds, with leading zeros
154
- LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
155
- SortableDateTime: "Y-m-d\\TH:i:s",
156
- UniversalSortableDateTime: "Y-m-d H:i:sO",
156
+ LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
157
+ SortableDateTime: "Y-m-d\\TH:i:s",
158
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
157
159
  // month with year
158
160
  // F - A full textual representation of a month
159
161
  // Y - A full numeric representation of a year, 4 digits
160
- YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
161
- },
162
- reformatAfterEdit : false
162
+ YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
163
+ },
164
+ reformatAfterEdit : false
163
165
  },
164
166
  baseLinkUrl: '',
165
167
  showAction: '',
166
- target: '',
167
- checkbox : {disabled:true},
168
+ target: '',
169
+ checkbox : {disabled:true},
168
170
  idName : 'id'
169
171
  }
170
172
  });
171
- })(jQuery);
173
+ })(jQuery);