jqgrid-jquery-rails 4.5.0.0 → 4.5.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1f1d6d83105b76e23dc5db315296eeda5e7b890
4
- data.tar.gz: 1e0ea3b2919549dbeaf29d3869679728d2d9226f
3
+ metadata.gz: 4a3e786716a6e7e6b6fd549c8a2c3ea0693c72b4
4
+ data.tar.gz: 2e65ae1054a29679b915c62906979310c49c8dee
5
5
  SHA512:
6
- metadata.gz: 97a7bdca07b0efca9b1609d914821fdf52b63fe2e83f2143cfbe282deaa37d688af3f900f74200e17a5d7aea21769a70d0ec70f661b0bb0cad3f716a22c0eee9
7
- data.tar.gz: 8d4685bf59973e7efbb40622fad085ba0bfa2e07df632f114912a1f0615bd037de3b23f1cff9499a72b95ba94e9d344e24281d97abf4d2bed146a48f4a2c6746
6
+ metadata.gz: 39091f1fff3cbf5cc28497843361765c75f70d969a86381399fc904f1e034d62c0ef506878962a44ac7a4c924ea23665e08f7e8b5da0830ae0fb4cbdb04035b9
7
+ data.tar.gz: f5d7dfaeb3b13b12d50a652605c7b03e900871e760475724c8815cff4b6bf71010181ec2292035e1f2b2595d7c784cc8c88fe0b79ced080bb629897593cb85cd
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.5.0'
13
+ gem 'jqgrid-jquery-rails', '~> 4.5.1'
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.5.0.0"
10
+ VERSION = "4.5.1.0"
11
11
  end
12
12
  end
@@ -1,126 +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: [{ 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);
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);
@@ -1,132 +1,167 @@
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:'不包含'}],
23
+ groupOps: [ { op: "AND", text: "所有" }, { op: "OR", 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: "这不是有效的e-mail地址",
41
+ integer: "请输入有效整数",
42
+ date: "请输入有效时间",
43
+ url: "无效网址。前缀必须为 ('http://' 或 'https://')",
44
+ nodefined : " 未定义!",
45
+ novalue : " 需要返回值!",
46
+ customarray : "自定义函数需要返回数组!",
47
+ customfcheck : "Custom function should be present in case of custom checking!"
48
+ }
49
+ },
50
+ view : {
51
+ caption: "查看记录",
52
+ bClose: "关闭"
53
+ },
54
+ del : {
55
+ caption: "删除",
56
+ msg: "删除所选记录?",
57
+ bSubmit: "删除",
58
+ bCancel: "取消"
59
+ },
60
+ nav : {
61
+ edittext: "",
62
+ edittitle: "编辑所选记录",
63
+ addtext:"",
64
+ addtitle: "添加新记录",
65
+ deltext: "",
66
+ deltitle: "删除所选记录",
67
+ searchtext: "",
68
+ searchtitle: "查找",
69
+ refreshtext: "",
70
+ refreshtitle: "刷新表格",
71
+ alertcap: "注意",
72
+ alerttext: "请选择记录",
73
+ viewtext: "",
74
+ viewtitle: "查看所选记录"
75
+ },
76
+ col : {
77
+ caption: "选择列",
78
+ bSubmit: "确定",
79
+ bCancel: "取消"
80
+ },
81
+ errors : {
82
+ errcap : "错误",
83
+ nourl : "没有设置url",
84
+ norecords: "没有要处理的记录",
85
+ model : "colNames 和 colModel 长度不等!"
86
+ },
87
+ formatter : {
88
+ integer : {thousandsSeparator: ",", defaultValue: '0'},
89
+ number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
90
+ currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
91
+ date : {
92
+ dayNames: [
93
+ "日", "一", "二", "三", "四", "五", "六",
94
+ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六",
95
+ ],
96
+ monthNames: [
97
+ "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",
98
+ "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
99
+ ],
100
+ AmPm : ["am","pm","上午","下午"],
101
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
102
+ srcformat: 'Y-m-d',
103
+ newformat: 'Y-m-d',
104
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
105
+ masks : {
106
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
107
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
108
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
109
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
110
+ // information about date, time, numbers and currency formats used in different countries
111
+ // one should just convert the information in PHP format
112
+ ISO8601Long:"Y-m-d H:i:s",
113
+ ISO8601Short:"Y-m-d",
114
+ // short date:
115
+ // n - Numeric representation of a month, without leading zeros
116
+ // j - Day of the month without leading zeros
117
+ // Y - A full numeric representation of a year, 4 digits
118
+ // example: 3/1/2012 which means 1 March 2012
119
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
120
+ // long date:
121
+ // l - A full textual representation of the day of the week
122
+ // F - A full textual representation of a month
123
+ // d - Day of the month, 2 digits with leading zeros
124
+ // Y - A full numeric representation of a year, 4 digits
125
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
126
+ // long date with long time:
127
+ // l - A full textual representation of the day of the week
128
+ // F - A full textual representation of a month
129
+ // d - Day of the month, 2 digits with leading zeros
130
+ // Y - A full numeric representation of a year, 4 digits
131
+ // g - 12-hour format of an hour without leading zeros
132
+ // i - Minutes with leading zeros
133
+ // s - Seconds, with leading zeros
134
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
135
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
136
+ // month day:
137
+ // F - A full textual representation of a month
138
+ // d - Day of the month, 2 digits with leading zeros
139
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
140
+ // short time (without seconds)
141
+ // g - 12-hour format of an hour without leading zeros
142
+ // i - Minutes with leading zeros
143
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
144
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
145
+ // long time (with seconds)
146
+ // g - 12-hour format of an hour without leading zeros
147
+ // i - Minutes with leading zeros
148
+ // s - Seconds, with leading zeros
149
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
150
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
151
+ SortableDateTime: "Y-m-d\\TH:i:s",
152
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
153
+ // month with year
154
+ // Y - A full numeric representation of a year, 4 digits
155
+ // F - A full textual representation of a month
156
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
157
+ },
158
+ reformatAfterEdit : false
159
+ },
160
+ baseLinkUrl: '',
161
+ showAction: '',
162
+ target: '',
163
+ checkbox : {disabled:true},
164
+ idName : 'id'
165
+ }
131
166
  });
132
167
  })(jQuery);