rails_jq_grid 0.0.3.pre2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/public/javascripts/rails-jqgrid/Changes.txt +0 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg.js +132 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg1251.js +132 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cat.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cn.js +132 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cs.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-da.js +128 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-de.js +133 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-el.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-en.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-es.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fa.js +145 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fi.js +130 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fr.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-gl.js +126 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-he.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-hu.js +129 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-is.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-it.js +1 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ja.js +155 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-nl.js +149 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-no.js +1 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pl.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt-br.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt.js +125 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ro.js +139 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ru.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sk.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sr.js +128 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sv.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-tr.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ua.js +127 -1
- data/public/javascripts/rails-jqgrid/install.txt +0 -0
- data/public/javascripts/rails-jqgrid/jquery.jqGrid.min.js +445 -432
- data/public/javascripts/rails-jqgrid/src/JsonXml.js +329 -329
- data/public/javascripts/rails-jqgrid/src/css/ellipsis-xbl.xml +0 -0
- data/public/javascripts/rails-jqgrid/src/css/ui.jqgrid.css +139 -129
- data/public/javascripts/rails-jqgrid/src/css/ui.multiselect.css +0 -0
- data/public/javascripts/rails-jqgrid/src/grid.base.js +3078 -3003
- data/public/javascripts/rails-jqgrid/src/grid.celledit.js +486 -486
- data/public/javascripts/rails-jqgrid/src/grid.common.js +646 -636
- data/public/javascripts/rails-jqgrid/src/grid.custom.js +820 -817
- data/public/javascripts/rails-jqgrid/src/grid.formedit.js +1954 -1872
- data/public/javascripts/rails-jqgrid/src/grid.grouping.js +250 -0
- data/public/javascripts/rails-jqgrid/src/grid.import.js +200 -200
- data/public/javascripts/rails-jqgrid/src/grid.inlinedit.js +255 -250
- data/public/javascripts/rails-jqgrid/src/grid.jqueryui.js +504 -503
- data/public/javascripts/rails-jqgrid/src/grid.loader.js +1 -0
- data/public/javascripts/rails-jqgrid/src/grid.postext.js +63 -63
- data/public/javascripts/rails-jqgrid/src/grid.setcolumns.js +125 -125
- data/public/javascripts/rails-jqgrid/src/grid.subgrid.js +260 -260
- data/public/javascripts/rails-jqgrid/src/grid.tbltogrid.js +106 -106
- data/public/javascripts/rails-jqgrid/src/grid.treegrid.js +489 -482
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg.js +132 -132
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg1251.js +132 -132
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cat.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cn.js +132 -132
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cs.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-da.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-de.js +132 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-dk.js +0 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-el.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-en.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-es.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fa.js +145 -125
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fi.js +130 -130
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fr.js +2 -2
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-gl.js +126 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-he.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-hu.js +129 -129
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-is.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-it.js +0 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ja.js +155 -155
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-nl.js +148 -148
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-no.js +0 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pl.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt-br.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt.js +125 -125
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ro.js +139 -139
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ru.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sk.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sr.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sv.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-tr.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ua.js +127 -127
- data/public/javascripts/rails-jqgrid/src/jqDnR.js +68 -67
- data/public/javascripts/rails-jqgrid/src/jqModal.js +68 -68
- data/public/javascripts/rails-jqgrid/src/jquery.fmatter.js +563 -541
- data/public/javascripts/rails-jqgrid/src/jquery.searchFilter.js +1 -1
- data/public/javascripts/rails-jqgrid/src/ui.multiselect.js +0 -0
- data/public/stylesheets/rails-jqgrid/ellipsis-xbl.xml +0 -0
- data/public/stylesheets/rails-jqgrid/ui.jqgrid.css +139 -2
- data/rails_jq_grid.gemspec +10 -3
- metadata +15 -11
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.3
|
1
|
+
0.0.3
|
File without changes
|
@@ -1 +1,132 @@
|
|
1
|
-
(function(
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Bulgarian Translation
|
4
|
+
* Tony Tomov tony@trirand.com
|
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 = {
|
11
|
+
defaults : {
|
12
|
+
recordtext: "{0} - {1} от {2}",
|
13
|
+
emptyrecords: "Няма запис(и)",
|
14
|
+
loadtext: "Зареждам...",
|
15
|
+
pgtext : "Стр. {0} от {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Търсене...",
|
19
|
+
Find: "Намери",
|
20
|
+
Reset: "Изчисти",
|
21
|
+
odata : ['равно', 'различно', 'по-малко', 'по-малко или=','по-голямо','по-голямо или =', 'започва с','не започва с','се намира в','не се намира в','завършва с','не завършава с','съдържа', 'не съдържа' ],
|
22
|
+
groupOps: [ { op: "AND", text: " И " }, { op: "OR", text: "ИЛИ" } ],
|
23
|
+
matchText: " включи",
|
24
|
+
rulesText: " клауза"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Нов Запис",
|
28
|
+
editCaption: "Редакция Запис",
|
29
|
+
bSubmit: "Запиши",
|
30
|
+
bCancel: "Изход",
|
31
|
+
bClose: "Затвори",
|
32
|
+
saveData: "Данните са променени! Да съхраня ли промените?",
|
33
|
+
bYes : "Да",
|
34
|
+
bNo : "Не",
|
35
|
+
bExit : "Отказ",
|
36
|
+
msg: {
|
37
|
+
required:"Полето е задължително",
|
38
|
+
number:"Въведете валидно число!",
|
39
|
+
minValue:"стойността трябва да е по-голяма или равна от",
|
40
|
+
maxValue:"стойността трябва да е по-малка или равна от",
|
41
|
+
email: "не е валиден ел. адрес",
|
42
|
+
integer: "Въведете валидно цяло число",
|
43
|
+
date: "Въведете валидна дата",
|
44
|
+
url: "e невалиден URL. Изискава се префикс('http://' или 'https://')",
|
45
|
+
nodefined : " е недефинирана!",
|
46
|
+
novalue : " изисква връщане на стойност!",
|
47
|
+
customarray : "Потреб. Функция трябва да върне масив!",
|
48
|
+
customfcheck : "Потребителска функция е задължителна при този тип елемент!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Преглед запис",
|
53
|
+
bClose: "Затвори"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Изтриване",
|
57
|
+
msg: "Да изтрия ли избраният запис?",
|
58
|
+
bSubmit: "Изтрий",
|
59
|
+
bCancel: "Отказ"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Редакция избран запис",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Добавяне нов запис",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Изтриване избран запис",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Търсене запис(и)",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Обнови таблица",
|
72
|
+
alertcap: "Предупреждение",
|
73
|
+
alerttext: "Моля, изберете запис",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Преглед избран запис"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Избери колони",
|
79
|
+
bSubmit: "Ок",
|
80
|
+
bCancel: "Изход"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Грешка",
|
84
|
+
nourl : "Няма посочен url адрес",
|
85
|
+
norecords: "Няма запис за обработка",
|
86
|
+
model : "Модела не съответства на имената!"
|
87
|
+
},
|
88
|
+
formatter : {
|
89
|
+
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
90
|
+
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
91
|
+
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб",
|
95
|
+
"Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек",
|
99
|
+
"Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
|
100
|
+
],
|
101
|
+
AmPm : ["","","",""],
|
102
|
+
S: function (j) {
|
103
|
+
if(j==7 || j==8 || j== 27 || j== 28) {
|
104
|
+
return 'ми';
|
105
|
+
}
|
106
|
+
return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)];
|
107
|
+
},
|
108
|
+
srcformat: 'Y-m-d',
|
109
|
+
newformat: 'd/m/Y',
|
110
|
+
masks : {
|
111
|
+
ISO8601Long:"Y-m-d H:i:s",
|
112
|
+
ISO8601Short:"Y-m-d",
|
113
|
+
ShortDate: "n/j/Y",
|
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
|
+
}
|
131
|
+
};
|
132
|
+
})(jQuery);
|
@@ -1 +1,132 @@
|
|
1
|
-
(function(
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Bulgarian Translation
|
4
|
+
* Tony Tomov tony@trirand.com
|
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 = {
|
11
|
+
defaults : {
|
12
|
+
recordtext: "{0} - {1} �� {2}",
|
13
|
+
emptyrecords: "���� �����(�)",
|
14
|
+
loadtext: "��������...",
|
15
|
+
pgtext : "���. {0} �� {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "�������...",
|
19
|
+
Find: "������",
|
20
|
+
Reset: "�������",
|
21
|
+
odata : ['�����', '��������', '��-�����', '��-����� ���=','��-������','��-������ ��� =', '������� �','�� ������� �','�� ������ �','�� �� ������ �','�������� �','�� ��������� �','�������', '�� �������' ],
|
22
|
+
groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ],
|
23
|
+
matchText: " ������",
|
24
|
+
rulesText: " ������"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "��� �����",
|
28
|
+
editCaption: "�������� �����",
|
29
|
+
bSubmit: "������",
|
30
|
+
bCancel: "�����",
|
31
|
+
bClose: "�������",
|
32
|
+
saveData: "������� �� ���������! �� ������� �� ���������?",
|
33
|
+
bYes : "��",
|
34
|
+
bNo : "��",
|
35
|
+
bExit : "�����",
|
36
|
+
msg: {
|
37
|
+
required:"������ � ������������",
|
38
|
+
number:"�������� ������� �����!",
|
39
|
+
minValue:"���������� ������ �� � ��-������ ��� ����� ��",
|
40
|
+
maxValue:"���������� ������ �� � ��-����� ��� ����� ��",
|
41
|
+
email: "�� � ������� ��. �����",
|
42
|
+
integer: "�������� ������� ���� �����",
|
43
|
+
date: "�������� ������� ����",
|
44
|
+
url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
|
45
|
+
nodefined : " � ������������!",
|
46
|
+
novalue : " ������� ������� �� ��������!",
|
47
|
+
customarray : "������. ������� ������ �� ����� �����!",
|
48
|
+
customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "������� �����",
|
53
|
+
bClose: "�������"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "���������",
|
57
|
+
msg: "�� ������ �� ��������� �����?",
|
58
|
+
bSubmit: "������",
|
59
|
+
bCancel: "�����"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "�������� ������ �����",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "�������� ��� �����",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "��������� ������ �����",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "������� �����(�)",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "������ �������",
|
72
|
+
alertcap: "��������������",
|
73
|
+
alerttext: "����, �������� �����",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "������� ������ �����"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "����� ������",
|
79
|
+
bSubmit: "��",
|
80
|
+
bCancel: "�����"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "������",
|
84
|
+
nourl : "���� ������� url �����",
|
85
|
+
norecords: "���� ����� �� ���������",
|
86
|
+
model : "������ �� ����������� �� �������!"
|
87
|
+
},
|
88
|
+
formatter : {
|
89
|
+
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
90
|
+
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
91
|
+
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" ��.", defaultValue: '0.00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"���", "���", "��", "��", "���", "���", "���",
|
95
|
+
"������", "����������", "�������", "�����", "���������", "�����", "������"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���",
|
99
|
+
"������", "��������", "����", "�����", "���", "���", "���", "������", "���������", "��������", "�������", "��������"
|
100
|
+
],
|
101
|
+
AmPm : ["","","",""],
|
102
|
+
S: function (j) {
|
103
|
+
if(j==7 || j==8 || j== 27 || j== 28) {
|
104
|
+
return '��';
|
105
|
+
}
|
106
|
+
return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
|
107
|
+
},
|
108
|
+
srcformat: 'Y-m-d',
|
109
|
+
newformat: 'd/m/Y',
|
110
|
+
masks : {
|
111
|
+
ISO8601Long:"Y-m-d H:i:s",
|
112
|
+
ISO8601Short:"Y-m-d",
|
113
|
+
ShortDate: "n/j/Y",
|
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
|
+
}
|
131
|
+
};
|
132
|
+
})(jQuery);
|
@@ -1 +1,128 @@
|
|
1
|
-
(function(
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Catalan Translation
|
4
|
+
* Traducció jqGrid en Catatà per Faserline, S.L.
|
5
|
+
* http://www.faserline.com
|
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 = {
|
11
|
+
defaults : {
|
12
|
+
recordtext: "Mostrant {0} - {1} de {2}",
|
13
|
+
emptyrecords: "Sense registres que mostrar",
|
14
|
+
loadtext: "Carregant...",
|
15
|
+
pgtext : "Pàgina {0} de {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Cerca...",
|
19
|
+
Find: "Cercar",
|
20
|
+
Reset: "Buidar",
|
21
|
+
odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
|
22
|
+
groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
|
23
|
+
matchText: " match",
|
24
|
+
rulesText: " rules"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Afegir registre",
|
28
|
+
editCaption: "Modificar registre",
|
29
|
+
bSubmit: "Guardar",
|
30
|
+
bCancel: "Cancelar",
|
31
|
+
bClose: "Tancar",
|
32
|
+
saveData: "Les dades han canviat. Guardar canvis?",
|
33
|
+
bYes : "Yes",
|
34
|
+
bNo : "No",
|
35
|
+
bExit : "Cancel",
|
36
|
+
msg: {
|
37
|
+
required:"Camp obligatori",
|
38
|
+
number:"Introdueixi un nombre",
|
39
|
+
minValue:"El valor ha de ser major o igual que ",
|
40
|
+
maxValue:"El valor ha de ser menor o igual a ",
|
41
|
+
email: "no és una direcció de correu vàlida",
|
42
|
+
integer: "Introdueixi un valor enter",
|
43
|
+
date: "Introdueixi una data correcta ",
|
44
|
+
url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')",
|
45
|
+
nodefined : " is not defined!",
|
46
|
+
novalue : " return value is required!",
|
47
|
+
customarray : "Custom function should return array!",
|
48
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Veure registre",
|
53
|
+
bClose: "Tancar"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Eliminar",
|
57
|
+
msg: "¿Desitja eliminar els registres seleccionats?",
|
58
|
+
bSubmit: "Eliminar",
|
59
|
+
bCancel: "Cancelar"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Modificar fila seleccionada",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Agregar nova fila",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Eliminar fila seleccionada",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Cercar informació",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Refrescar taula",
|
72
|
+
alertcap: "Avís",
|
73
|
+
alerttext: "Seleccioni una fila",
|
74
|
+
viewtext: " ",
|
75
|
+
viewtitle: "Veure fila seleccionada"
|
76
|
+
},
|
77
|
+
// setcolumns module
|
78
|
+
col : {
|
79
|
+
caption: "Mostrar/ocultar columnes",
|
80
|
+
bSubmit: "Enviar",
|
81
|
+
bCancel: "Cancelar"
|
82
|
+
},
|
83
|
+
errors : {
|
84
|
+
errcap : "Error",
|
85
|
+
nourl : "No s'ha especificat una URL",
|
86
|
+
norecords: "No hi ha dades per processar",
|
87
|
+
model : "Les columnes de noms són diferents de les columnes del model"
|
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
|
+
"Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
|
96
|
+
"Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
|
97
|
+
],
|
98
|
+
monthNames: [
|
99
|
+
"Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
|
100
|
+
"Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
|
101
|
+
],
|
102
|
+
AmPm : ["am","pm","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: 'd-m-Y',
|
106
|
+
masks : {
|
107
|
+
ISO8601Long:"Y-m-d H:i:s",
|
108
|
+
ISO8601Short:"Y-m-d",
|
109
|
+
ShortDate: "n/j/Y",
|
110
|
+
LongDate: "l, F d, Y",
|
111
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
112
|
+
MonthDay: "F d",
|
113
|
+
ShortTime: "g:i A",
|
114
|
+
LongTime: "g:i:s A",
|
115
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
116
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
117
|
+
YearMonth: "F, Y"
|
118
|
+
},
|
119
|
+
reformatAfterEdit : false
|
120
|
+
},
|
121
|
+
baseLinkUrl: '',
|
122
|
+
showAction: 'show',
|
123
|
+
target: '',
|
124
|
+
checkbox : {disabled:true},
|
125
|
+
idName : 'id'
|
126
|
+
}
|
127
|
+
};
|
128
|
+
})(jQuery);
|
@@ -1 +1,132 @@
|
|
1
|
-
(function(
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Chinese Translation for v3.6
|
4
|
+
* waiting 2010.01.18
|
5
|
+
* http://waiting.javaeye.com/
|
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
|
+
* update 2010.05.04
|
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
|
+
**/
|
13
|
+
$.jgrid = {
|
14
|
+
defaults : {
|
15
|
+
recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格
|
16
|
+
emptyrecords: "无数据显示",
|
17
|
+
loadtext: "读取中...",
|
18
|
+
pgtext : " {0} 共 {1} 页"
|
19
|
+
},
|
20
|
+
search : {
|
21
|
+
caption: "搜索...",
|
22
|
+
Find: "查找",
|
23
|
+
Reset: "重置",
|
24
|
+
odata : ['等于\u3000\u3000', '不等\u3000\u3000', '小于\u3000\u3000', '小于等于','大于\u3000\u3000','大于等于',
|
25
|
+
'开始于','不开始于','属于\u3000\u3000','不属于','结束于','不结束于','包含\u3000\u3000','不包含'],
|
26
|
+
groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ],
|
27
|
+
matchText: " 匹配",
|
28
|
+
rulesText: " 规则"
|
29
|
+
},
|
30
|
+
edit : {
|
31
|
+
addCaption: "添加记录",
|
32
|
+
editCaption: "编辑记录",
|
33
|
+
bSubmit: "提交",
|
34
|
+
bCancel: "取消",
|
35
|
+
bClose: "关闭",
|
36
|
+
saveData: "数据已改变,是否保存?",
|
37
|
+
bYes : "是",
|
38
|
+
bNo : "否",
|
39
|
+
bExit : "取消",
|
40
|
+
msg: {
|
41
|
+
required:"此字段必需",
|
42
|
+
number:"请输入有效数字",
|
43
|
+
minValue:"输值必须大于等于 ",
|
44
|
+
maxValue:"输值必须小于等于 ",
|
45
|
+
email: "这不是有效的e-mail地址",
|
46
|
+
integer: "请输入有效整数",
|
47
|
+
date: "请输入有效时间",
|
48
|
+
url: "无效网址。前缀必须为 ('http://' 或 'https://')",
|
49
|
+
nodefined : " 未定义!",
|
50
|
+
novalue : " 需要返回值!",
|
51
|
+
customarray : "自定义函数需要返回数组!",
|
52
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
53
|
+
|
54
|
+
}
|
55
|
+
},
|
56
|
+
view : {
|
57
|
+
caption: "查看记录",
|
58
|
+
bClose: "关闭"
|
59
|
+
},
|
60
|
+
del : {
|
61
|
+
caption: "删除",
|
62
|
+
msg: "删除所选记录?",
|
63
|
+
bSubmit: "删除",
|
64
|
+
bCancel: "取消"
|
65
|
+
},
|
66
|
+
nav : {
|
67
|
+
edittext: "",
|
68
|
+
edittitle: "编辑所选记录",
|
69
|
+
addtext:"",
|
70
|
+
addtitle: "添加新记录",
|
71
|
+
deltext: "",
|
72
|
+
deltitle: "删除所选记录",
|
73
|
+
searchtext: "",
|
74
|
+
searchtitle: "查找",
|
75
|
+
refreshtext: "",
|
76
|
+
refreshtitle: "刷新表格",
|
77
|
+
alertcap: "注意",
|
78
|
+
alerttext: "请选择记录",
|
79
|
+
viewtext: "",
|
80
|
+
viewtitle: "查看所选记录"
|
81
|
+
},
|
82
|
+
col : {
|
83
|
+
caption: "选择列",
|
84
|
+
bSubmit: "确定",
|
85
|
+
bCancel: "取消"
|
86
|
+
},
|
87
|
+
errors : {
|
88
|
+
errcap : "错误",
|
89
|
+
nourl : "没有设置url",
|
90
|
+
norecords: "没有要处理的记录",
|
91
|
+
model : "colNames 和 colModel 长度不等!"
|
92
|
+
},
|
93
|
+
formatter : {
|
94
|
+
integer : {thousandsSeparator: " ", defaultValue: '0'},
|
95
|
+
number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
|
96
|
+
currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
|
97
|
+
date : {
|
98
|
+
dayNames: [
|
99
|
+
"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
|
100
|
+
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
|
101
|
+
],
|
102
|
+
monthNames: [
|
103
|
+
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
|
104
|
+
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
|
105
|
+
],
|
106
|
+
AmPm : ["am","pm","AM","PM"],
|
107
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
108
|
+
srcformat: 'Y-m-d',
|
109
|
+
newformat: 'm-d-Y',
|
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
|
+
}
|
131
|
+
};
|
132
|
+
})(jQuery);
|