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 +4 -4
- data/README.md +1 -1
- data/lib/jqgrid-jquery-rails/version.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -126
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +157 -122
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +144 -144
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -129
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -126
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +161 -161
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +161 -161
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -168
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -126
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -128
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +128 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -128
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -128
- data/vendor/assets/javascripts/jquery.jqGrid.js +154 -78
- data/vendor/assets/stylesheets/ui.jqgrid.css +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a3e786716a6e7e6b6fd549c8a2c3ea0693c72b4
|
4
|
+
data.tar.gz: 2e65ae1054a29679b915c62906979310c49c8dee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39091f1fff3cbf5cc28497843361765c75f70d969a86381399fc904f1e034d62c0ef506878962a44ac7a4c924ea23665e08f7e8b5da0830ae0fb4cbdb04035b9
|
7
|
+
data.tar.gz: f5d7dfaeb3b13b12d50a652605c7b03e900871e760475724c8815cff4b6bf71010181ec2292035e1f2b2595d7c784cc8c88fe0b79ced080bb629897593cb85cd
|
data/README.md
CHANGED
@@ -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
|
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:'不包含'}],
|
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);
|