jqgrid-rails 4.5.4.3 → 4.6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/jqgrid-rails.gemspec +1 -0
- data/lib/jqgrid/rails/version.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +159 -122
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +41 -39
- data/vendor/assets/javascripts/i18n/grid.locale-dk.js +129 -127
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +12 -10
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +12 -10
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +6 -3
- data/vendor/assets/javascripts/i18n/grid.locale-kr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +133 -131
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +9 -2
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +66 -64
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-tw.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-vi.js +5 -3
- data/vendor/assets/javascripts/jquery.jqGrid.min.js +512 -501
- data/vendor/assets/stylesheets/ui.jqgrid.css +17 -8
- metadata +18 -2
data/jqgrid-rails.gemspec
CHANGED
data/lib/jqgrid/rails/version.rb
CHANGED
|
@@ -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 : /[
|
|
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: " И " }, { 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: " И " }, { 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 : /[
|
|
111
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
|
110
112
|
masks : {
|
|
111
113
|
ISO8601Long:"Y-m-d H:i:s",
|
|
112
114
|
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 : /[
|
|
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
|
|
4
|
-
*
|
|
5
|
-
* http://www.
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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:"
|
|
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 : /[
|
|
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 : /[
|
|
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
|
-
|
|
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
|
-
|
|
34
|
-
|
|
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
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
|
|
63
|
-
|
|
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
|
-
|
|
75
|
+
edittitle: "Ausgewählte Zeile editieren",
|
|
74
76
|
addtext:" ",
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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 (
|
|
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 : /[
|
|
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
|
-
|
|
121
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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
|
-
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
|
163
|
+
},
|
|
164
|
+
reformatAfterEdit : false
|
|
163
165
|
},
|
|
164
166
|
baseLinkUrl: '',
|
|
165
167
|
showAction: '',
|
|
166
|
-
|
|
167
|
-
|
|
168
|
+
target: '',
|
|
169
|
+
checkbox : {disabled:true},
|
|
168
170
|
idName : 'id'
|
|
169
171
|
}
|
|
170
172
|
});
|
|
171
|
-
})(jQuery);
|
|
173
|
+
})(jQuery);
|