jqgrid-rails 4.5.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/jqgrid-rails.gemspec +22 -0
- data/lib/jqgrid/rails.rb +8 -0
- data/lib/jqgrid/rails/version.rb +5 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +171 -0
- data/vendor/assets/javascripts/i18n/grid.locale-dk.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +168 -0
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +162 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +162 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -0
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +155 -0
- data/vendor/assets/javascripts/i18n/grid.locale-kr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +148 -0
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +130 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +125 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +139 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-tw.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-vi.js +168 -0
- data/vendor/assets/javascripts/jquery.jqGrid.min.js +534 -0
- data/vendor/assets/stylesheets/ui.jqgrid.css +162 -0
- metadata +147 -0
@@ -0,0 +1,128 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid English 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 = $.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:"내에 있다"},{ oper:'ni', text:"내에 있지 않다"},{ oper:'ew', text:"로 끝난다"},{ oper:'en', text:"로 끝나지 않는다"},{ oper:'cn', text:"내에 존재한다"},{ 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: "유효하지 않은 이메일주소입니다",
|
41
|
+
integer: "유효한 숫자를 입력하세요",
|
42
|
+
date: "유효한 날짜를 입력하세요",
|
43
|
+
url: "은 유효하지 않은 URL입니다. 문장앞에 다음단어가 필요합니다('http://' or 'https://')",
|
44
|
+
nodefined : " 은 정의도지 않았습니다!",
|
45
|
+
novalue : " 반환값이 필요합니다!",
|
46
|
+
customarray : "사용자정의 함수는 배열을 반환해야 합니다!",
|
47
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
48
|
+
|
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 : "colNames의 길이가 colModel과 일치하지 않습니다!"
|
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
|
+
"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
|
95
|
+
"일", "월", "화", "수", "목", "금", "토"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
|
99
|
+
"1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'm-d-Y',
|
105
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
106
|
+
masks : {
|
107
|
+
ISO8601Long:"Y-m-d H:i:s",
|
108
|
+
ISO8601Short:"Y-m-d",
|
109
|
+
ShortDate: "Y/j/n",
|
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: '',
|
123
|
+
target: '',
|
124
|
+
checkbox : {disabled:true},
|
125
|
+
idName : 'id'
|
126
|
+
}
|
127
|
+
});
|
128
|
+
})(jQuery);
|
@@ -0,0 +1,128 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Lithuanian Translation
|
4
|
+
* aur1mas aur1mas@devnet.lt
|
5
|
+
* http://aur1mas.devnet.lt
|
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: "Peržiūrima {0} - {1} iš {2}",
|
14
|
+
emptyrecords: "Įrašų nėra",
|
15
|
+
loadtext: "Kraunama...",
|
16
|
+
pgtext : "Puslapis {0} iš {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "Paieška...",
|
20
|
+
Find: "Ieškoti",
|
21
|
+
Reset: "Atstatyti",
|
22
|
+
odata: [{ oper:'eq', text:"lygu"},{ oper:'ne', text:"nelygu"},{ oper:'lt', text:"mažiau"},{ oper:'le', text:"mažiau arba lygu"},{ oper:'gt', text:"daugiau"},{ oper:'ge', text:"daugiau arba lygu"},{ oper:'bw', text:"prasideda"},{ oper:'bn', text:"neprasideda"},{ oper:'in', text:"reikšmė yra"},{ oper:'ni', text:"reikšmės nėra"},{ oper:'ew', text:"baigiasi"},{ oper:'en', text:"nesibaigia"},{ oper:'cn', text:"yra sudarytas"},{ oper:'nc', text:"nėra sudarytas"}],
|
23
|
+
groupOps: [ { op: "AND", text: "visi" }, { op: "OR", text: "bet kuris" } ]
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "Sukurti įrašą",
|
27
|
+
editCaption: "Redaguoti įrašą",
|
28
|
+
bSubmit: "Išsaugoti",
|
29
|
+
bCancel: "Atšaukti",
|
30
|
+
bClose: "Uždaryti",
|
31
|
+
saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?",
|
32
|
+
bYes : "Taip",
|
33
|
+
bNo : "Ne",
|
34
|
+
bExit : "Atšaukti",
|
35
|
+
msg: {
|
36
|
+
required:"Privalomas laukas",
|
37
|
+
number:"Įveskite tinkamą numerį",
|
38
|
+
minValue:"reikšmė turi būti didesnė arba lygi ",
|
39
|
+
maxValue:"reikšmė turi būti mažesnė arba lygi",
|
40
|
+
email: "neteisingas el. pašto adresas",
|
41
|
+
integer: "Įveskite teisingą sveikąjį skaičių",
|
42
|
+
date: "Įveskite teisingą datą",
|
43
|
+
url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')",
|
44
|
+
nodefined : " nėra apibrėžta!",
|
45
|
+
novalue : " turi būti gražinama kokia nors reikšmė!",
|
46
|
+
customarray : "Custom f-ja turi grąžinti masyvą!",
|
47
|
+
customfcheck : "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!"
|
48
|
+
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Peržiūrėti įrašus",
|
53
|
+
bClose: "Uždaryti"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Ištrinti",
|
57
|
+
msg: "Ištrinti pažymėtus įrašus(-ą)?",
|
58
|
+
bSubmit: "Ištrinti",
|
59
|
+
bCancel: "Atšaukti"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Redaguoti pažymėtą eilutę",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "Pridėti naują eilutę",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Ištrinti pažymėtą eilutę",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Rasti įrašus",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Perkrauti lentelę",
|
72
|
+
alertcap: "Įspėjimas",
|
73
|
+
alerttext: "Pasirinkite eilutę",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Peržiūrėti pasirinktą eilutę"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Pasirinkti stulpelius",
|
79
|
+
bSubmit: "Gerai",
|
80
|
+
bCancel: "Atšaukti"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Klaida",
|
84
|
+
nourl : "Url reikšmė turi būti perduota",
|
85
|
+
norecords: "Nėra įrašų, kuriuos būtų galima apdoroti",
|
86
|
+
model : "colNames skaičius <> colModel skaičiui!"
|
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
|
+
"Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš",
|
95
|
+
"Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru",
|
99
|
+
"Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd/m/Y',
|
105
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
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: '',
|
123
|
+
target: '',
|
124
|
+
checkbox : {disabled:true},
|
125
|
+
idName : 'id'
|
126
|
+
}
|
127
|
+
});
|
128
|
+
})(jQuery);
|
@@ -0,0 +1,128 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Montenegrian Translation
|
4
|
+
* Bild Studio info@bild-studio.net
|
5
|
+
* http://www.bild-studio.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 = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
12
|
+
defaults : {
|
13
|
+
recordtext: "Pregled {0} - {1} od {2}",
|
14
|
+
emptyrecords: "Ne postoji nijedan zapis",
|
15
|
+
loadtext: "Učitivanje...",
|
16
|
+
pgtext : "Strana {0} od {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "Traženje...",
|
20
|
+
Find: "Traži",
|
21
|
+
Reset: "Resetuj",
|
22
|
+
odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"}],
|
23
|
+
groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ]
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "Dodaj zapis",
|
27
|
+
editCaption: "Izmjeni zapis",
|
28
|
+
bSubmit: "Pošalji",
|
29
|
+
bCancel: "Odustani",
|
30
|
+
bClose: "Zatvori",
|
31
|
+
saveData: "Podatak je izmjenjen! Sačuvaj izmjene?",
|
32
|
+
bYes : "Da",
|
33
|
+
bNo : "Ne",
|
34
|
+
bExit : "Odustani",
|
35
|
+
msg: {
|
36
|
+
required:"Polje je obavezno",
|
37
|
+
number:"Unesite ispravan broj",
|
38
|
+
minValue:"vrijednost mora biti veća od ili jednaka sa ",
|
39
|
+
maxValue:"vrijednost mora biti manja ili jednaka sa",
|
40
|
+
email: "nije ispravna email adresa, nije valjda da ne umiješ ukucati mail!?",
|
41
|
+
integer: "Ne zajebaji se unesi cjelobrojnu vrijednost ",
|
42
|
+
date: "Unesite ispravan datum",
|
43
|
+
url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
|
44
|
+
nodefined : " nije definisan!",
|
45
|
+
novalue : " zahtjevana je povratna vrijednost!",
|
46
|
+
customarray : "Prilagođena funkcija treba da vrati niz!",
|
47
|
+
customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provjere!"
|
48
|
+
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Pogledaj zapis",
|
53
|
+
bClose: "Zatvori"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Izbrisi",
|
57
|
+
msg: "Izbrisi izabran(e) zapise(e)?",
|
58
|
+
bSubmit: "Izbriši",
|
59
|
+
bCancel: "Odbaci"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Izmjeni izabrani red",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "Dodaj novi red",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Izbriši izabran red",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Nađi zapise",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Ponovo učitaj podatke",
|
72
|
+
alertcap: "Upozorenje",
|
73
|
+
alerttext: "Izaberite red",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Pogledaj izabrani red"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Izaberi kolone",
|
79
|
+
bSubmit: "OK",
|
80
|
+
bCancel: "Odbaci"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Greška",
|
84
|
+
nourl : "Nije postavljen URL",
|
85
|
+
norecords: "Nema zapisa za obradu",
|
86
|
+
model : "Dužina modela colNames <> colModel!"
|
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
|
+
"Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
|
95
|
+
"Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
|
99
|
+
"Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd/m/Y',
|
105
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
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: '',
|
123
|
+
target: '',
|
124
|
+
checkbox : {disabled:true},
|
125
|
+
idName : 'id'
|
126
|
+
}
|
127
|
+
});
|
128
|
+
})(jQuery);
|
@@ -0,0 +1,148 @@
|
|
1
|
+
(function(a) {
|
2
|
+
a.jgrid = a.jgrid || {};
|
3
|
+
a.extend(a.jgrid,{
|
4
|
+
defaults:
|
5
|
+
{
|
6
|
+
recordtext: "regels {0} - {1} van {2}",
|
7
|
+
emptyrecords: "Geen data gevonden.",
|
8
|
+
loadtext: "laden...",
|
9
|
+
pgtext: "pagina {0} van {1}"
|
10
|
+
},
|
11
|
+
search:
|
12
|
+
{
|
13
|
+
caption: "Zoeken...",
|
14
|
+
Find: "Zoek",
|
15
|
+
Reset: "Herstellen",
|
16
|
+
odata: [{ oper:'eq', text:"gelijk aan"},{ oper:'ne', text:"niet gelijk aan"},{ oper:'lt', text:"kleiner dan"},{ oper:'le', text:"kleiner dan of gelijk aan"},{ oper:'gt', text:"groter dan"},{ oper:'ge', text:"groter dan of gelijk aan"},{ oper:'bw', text:"begint met"},{ oper:'bn', text:"begint niet met"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is niet in"},{ oper:'ew', text:"eindigd met"},{ oper:'en', text:"eindigd niet met"},{ oper:'cn', text:"bevat"},{ oper:'nc', text:"bevat niet"}],
|
17
|
+
groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}]
|
18
|
+
},
|
19
|
+
edit:
|
20
|
+
{
|
21
|
+
addCaption: "Nieuw",
|
22
|
+
editCaption: "Bewerken",
|
23
|
+
bSubmit: "Opslaan",
|
24
|
+
bCancel: "Annuleren",
|
25
|
+
bClose: "Sluiten",
|
26
|
+
saveData: "Er is data aangepast! Wijzigingen opslaan?",
|
27
|
+
bYes: "Ja",
|
28
|
+
bNo: "Nee",
|
29
|
+
bExit: "Sluiten",
|
30
|
+
msg:
|
31
|
+
{
|
32
|
+
required: "Veld is verplicht",
|
33
|
+
number: "Voer a.u.b. geldig nummer in",
|
34
|
+
minValue: "Waarde moet groter of gelijk zijn aan ",
|
35
|
+
maxValue: "Waarde moet kleiner of gelijks zijn aan",
|
36
|
+
email: "is geen geldig e-mailadres",
|
37
|
+
integer: "Voer a.u.b. een geldig getal in",
|
38
|
+
date: "Voer a.u.b. een geldige waarde in",
|
39
|
+
url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')",
|
40
|
+
nodefined : " is not defined!",
|
41
|
+
novalue : " return value is required!",
|
42
|
+
customarray : "Custom function should return array!",
|
43
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
view:
|
47
|
+
{
|
48
|
+
caption: "Tonen",
|
49
|
+
bClose: "Sluiten"
|
50
|
+
},
|
51
|
+
del:
|
52
|
+
{
|
53
|
+
caption: "Verwijderen",
|
54
|
+
msg: "Verwijder geselecteerde regel(s)?",
|
55
|
+
bSubmit: "Verwijderen",
|
56
|
+
bCancel: "Annuleren"
|
57
|
+
},
|
58
|
+
nav:
|
59
|
+
{
|
60
|
+
edittext: "",
|
61
|
+
edittitle: "Bewerken",
|
62
|
+
addtext: "",
|
63
|
+
addtitle: "Nieuw",
|
64
|
+
deltext: "",
|
65
|
+
deltitle: "Verwijderen",
|
66
|
+
searchtext: "",
|
67
|
+
searchtitle: "Zoeken",
|
68
|
+
refreshtext: "",
|
69
|
+
refreshtitle: "Vernieuwen",
|
70
|
+
alertcap: "Waarschuwing",
|
71
|
+
alerttext: "Selecteer a.u.b. een regel",
|
72
|
+
viewtext: "",
|
73
|
+
viewtitle: "Openen"
|
74
|
+
},
|
75
|
+
col:
|
76
|
+
{
|
77
|
+
caption: "Tonen/verbergen kolommen",
|
78
|
+
bSubmit: "OK",
|
79
|
+
bCancel: "Annuleren"
|
80
|
+
},
|
81
|
+
errors:
|
82
|
+
{
|
83
|
+
errcap: "Fout",
|
84
|
+
nourl: "Er is geen URL gedefinieerd",
|
85
|
+
norecords: "Geen data om te verwerken",
|
86
|
+
model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!"
|
87
|
+
},
|
88
|
+
formatter:
|
89
|
+
{
|
90
|
+
integer:
|
91
|
+
{
|
92
|
+
thousandsSeparator: ".",
|
93
|
+
defaultValue: "0"
|
94
|
+
},
|
95
|
+
number:
|
96
|
+
{
|
97
|
+
decimalSeparator: ",",
|
98
|
+
thousandsSeparator: ".",
|
99
|
+
decimalPlaces: 2,
|
100
|
+
defaultValue: "0.00"
|
101
|
+
},
|
102
|
+
currency:
|
103
|
+
{
|
104
|
+
decimalSeparator: ",",
|
105
|
+
thousandsSeparator: ".",
|
106
|
+
decimalPlaces: 2,
|
107
|
+
prefix: "EUR ",
|
108
|
+
suffix: "",
|
109
|
+
defaultValue: "0.00"
|
110
|
+
},
|
111
|
+
date:
|
112
|
+
{
|
113
|
+
dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
|
114
|
+
monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"],
|
115
|
+
AmPm: ["am", "pm", "AM", "PM"],
|
116
|
+
S: function(b) {
|
117
|
+
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
118
|
+
},
|
119
|
+
srcformat: "Y-m-d",
|
120
|
+
newformat: "d/m/Y",
|
121
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
122
|
+
masks:
|
123
|
+
{
|
124
|
+
ISO8601Long: "Y-m-d H:i:s",
|
125
|
+
ISO8601Short: "Y-m-d",
|
126
|
+
ShortDate: "n/j/Y",
|
127
|
+
LongDate: "l, F d, Y",
|
128
|
+
FullDateTime: "l d F Y G:i:s",
|
129
|
+
MonthDay: "d F",
|
130
|
+
ShortTime: "G:i",
|
131
|
+
LongTime: "G:i:s",
|
132
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
133
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
134
|
+
YearMonth: "F, Y"
|
135
|
+
},
|
136
|
+
reformatAfterEdit: false
|
137
|
+
},
|
138
|
+
baseLinkUrl: "",
|
139
|
+
showAction: "",
|
140
|
+
target: "",
|
141
|
+
checkbox:
|
142
|
+
{
|
143
|
+
disabled: true
|
144
|
+
},
|
145
|
+
idName: "id"
|
146
|
+
}
|
147
|
+
});
|
148
|
+
})(jQuery);
|