jqgrid-jquery-rails 4.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +52 -0
- data/Rakefile +1 -0
- data/jqgrid-jquery-rails.gemspec +27 -0
- data/lib/jqgrid-jquery-rails.rb +2 -0
- data/lib/jqgrid-jquery-rails/engine.rb +6 -0
- data/lib/jqgrid-jquery-rails/version.rb +12 -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 +133 -0
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +128 -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 +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -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-lt.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +149 -0
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +127 -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.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-ua.js +127 -0
- data/vendor/assets/javascripts/jqgrid-jquery-rails.js +5 -0
- data/vendor/assets/javascripts/jquery.jqGrid.min.js +487 -0
- data/vendor/assets/stylesheets/jqgrid-jquery-rails.css +6 -0
- data/vendor/assets/stylesheets/ui.jqgrid.css +136 -0
- metadata +165 -0
@@ -0,0 +1,139 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Romanian Translation
|
4
|
+
* Alexandru Emil Lupu contact@alecslupu.ro
|
5
|
+
* http://www.alecslupu.ro/
|
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: "Vizualizare {0} - {1} din {2}",
|
13
|
+
emptyrecords: "Nu există înregistrări de vizualizat",
|
14
|
+
loadtext: "Încărcare...",
|
15
|
+
pgtext : "Pagina {0} din {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Caută...",
|
19
|
+
Find: "Caută",
|
20
|
+
Reset: "Resetare",
|
21
|
+
odata : ['egal', 'diferit', 'mai mic', 'mai mic sau egal','mai mare','mai mare sau egal', 'începe cu','nu începe cu','se găsește în','nu se găsește în','se termină cu','nu se termină cu','conține',''],
|
22
|
+
groupOps: [ { op: "AND", text: "toate" }, { op: "OR", text: "oricare" } ],
|
23
|
+
matchText: " găsite",
|
24
|
+
rulesText: " reguli"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Adăugare înregistrare",
|
28
|
+
editCaption: "Modificare înregistrare",
|
29
|
+
bSubmit: "Salvează",
|
30
|
+
bCancel: "Anulare",
|
31
|
+
bClose: "Închide",
|
32
|
+
saveData: "Informațiile au fost modificate! Salvați modificările?",
|
33
|
+
bYes : "Da",
|
34
|
+
bNo : "Nu",
|
35
|
+
bExit : "Anulare",
|
36
|
+
msg: {
|
37
|
+
required:"Câmpul este obligatoriu",
|
38
|
+
number:"Vă rugăm introduceți un număr valid",
|
39
|
+
minValue:"valoarea trebuie sa fie mai mare sau egală cu",
|
40
|
+
maxValue:"valoarea trebuie sa fie mai mică sau egală cu",
|
41
|
+
email: "nu este o adresă de e-mail validă",
|
42
|
+
integer: "Vă rugăm introduceți un număr valid",
|
43
|
+
date: "Vă rugăm să introduceți o dată validă",
|
44
|
+
url: "Nu este un URL valid. Prefixul este necesar('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: "Vizualizare înregistrare",
|
53
|
+
bClose: "Închidere"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Ștegere",
|
57
|
+
msg: "Ștergeți înregistrarea (înregistrările) selectate?",
|
58
|
+
bSubmit: "Șterge",
|
59
|
+
bCancel: "Anulare"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Modifică rândul selectat",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "Adaugă rând nou",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Șterge rândul selectat",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Căutare înregistrări",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Reîncarcare Grid",
|
72
|
+
alertcap: "Avertisment",
|
73
|
+
alerttext: "Vă rugăm să selectați un rând",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Vizualizează rândul selectat"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Arată/Ascunde coloanele",
|
79
|
+
bSubmit: "Salvează",
|
80
|
+
bCancel: "Anulare"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Eroare",
|
84
|
+
nourl : "Niciun url nu este setat",
|
85
|
+
norecords: "Nu sunt înregistrări de procesat",
|
86
|
+
model : "Lungimea 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
|
+
"Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
|
95
|
+
"Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
|
99
|
+
"Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
/*
|
103
|
+
Here is a problem in romanian:
|
104
|
+
M / F
|
105
|
+
1st = primul / prima
|
106
|
+
2nd = Al doilea / A doua
|
107
|
+
3rd = Al treilea / A treia
|
108
|
+
4th = Al patrulea/ A patra
|
109
|
+
5th = Al cincilea / A cincea
|
110
|
+
6th = Al șaselea / A șasea
|
111
|
+
7th = Al șaptelea / A șaptea
|
112
|
+
....
|
113
|
+
*/
|
114
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
115
|
+
srcformat: 'Y-m-d',
|
116
|
+
newformat: 'd/m/Y',
|
117
|
+
masks : {
|
118
|
+
ISO8601Long:"Y-m-d H:i:s",
|
119
|
+
ISO8601Short:"Y-m-d",
|
120
|
+
ShortDate: "n/j/Y",
|
121
|
+
LongDate: "l, F d, Y",
|
122
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
123
|
+
MonthDay: "F d",
|
124
|
+
ShortTime: "g:i A",
|
125
|
+
LongTime: "g:i:s A",
|
126
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
127
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
128
|
+
YearMonth: "F, Y"
|
129
|
+
},
|
130
|
+
reformatAfterEdit : false
|
131
|
+
},
|
132
|
+
baseLinkUrl: '',
|
133
|
+
showAction: '',
|
134
|
+
target: '',
|
135
|
+
checkbox : {disabled:true},
|
136
|
+
idName : 'id'
|
137
|
+
}
|
138
|
+
};
|
139
|
+
})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru)
|
4
|
+
* Sergey Dyagovchenko
|
5
|
+
* http://d.sumy.ua
|
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: "некорректное значение e-mail",
|
42
|
+
integer: "Пожалуйста, введите целое число",
|
43
|
+
date: "Пожалуйста, введите правильную дату",
|
44
|
+
url: "неверная ссылка. Необходимо ввести префикс ('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: "Просмотр записи",
|
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 : ["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
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "n.j.Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y G:i:s",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "G:i",
|
113
|
+
LongTime: "G:i:s",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Slovak Translation
|
4
|
+
* Milan Cibulka
|
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: "Zobrazených {0} - {1} z {2} záznamov",
|
13
|
+
emptyrecords: "Neboli nájdené žiadne záznamy",
|
14
|
+
loadtext: "Načítám...",
|
15
|
+
pgtext : "Strana {0} z {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Vyhľadávam...",
|
19
|
+
Find: "Hľadať",
|
20
|
+
Reset: "Reset",
|
21
|
+
odata : ['rovná sa', 'nerovná sa', 'menšie', 'menšie alebo rovnajúce sa','väčšie', 'väčšie alebo rovnajúce sa', 'začína s', 'nezačína s', 'je v', 'nie je v', 'končí s', 'nekončí s', 'obahuje', 'neobsahuje'],
|
22
|
+
groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ],
|
23
|
+
matchText: " hľadať podla",
|
24
|
+
rulesText: " pravidiel"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Pridať záznam",
|
28
|
+
editCaption: "Editácia záznamov",
|
29
|
+
bSubmit: "Uložiť",
|
30
|
+
bCancel: "Storno",
|
31
|
+
bClose: "Zavrieť",
|
32
|
+
saveData: "Údaje boli zmenené! Uložiť zmeny?",
|
33
|
+
bYes : "Ano",
|
34
|
+
bNo : "Nie",
|
35
|
+
bExit : "Zrušiť",
|
36
|
+
msg: {
|
37
|
+
required:"Pole je požadované",
|
38
|
+
number:"Prosím, vložte valídne číslo",
|
39
|
+
minValue:"hodnota musí býť väčšia ako alebo rovná ",
|
40
|
+
maxValue:"hodnota musí býť menšia ako alebo rovná ",
|
41
|
+
email: "nie je valídny e-mail",
|
42
|
+
integer: "Prosím, vložte celé číslo",
|
43
|
+
date: "Prosím, vložte valídny dátum",
|
44
|
+
url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')",
|
45
|
+
nodefined : " nie je definovaný!",
|
46
|
+
novalue : " je vyžadovaná návratová hodnota!",
|
47
|
+
customarray : "Custom function mala vrátiť pole!",
|
48
|
+
customfcheck : "Custom function by mala byť prítomná v prípade custom checking!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Zobraziť záznam",
|
53
|
+
bClose: "Zavrieť"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Zmazať",
|
57
|
+
msg: "Zmazať vybraný(é) záznam(y)?",
|
58
|
+
bSubmit: "Zmazať",
|
59
|
+
bCancel: "Storno"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Editovať vybraný riadok",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Pridať nový riadek",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Zmazať vybraný záznam ",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Nájsť záznamy",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Obnoviť tabuľku",
|
72
|
+
alertcap: "Varovanie",
|
73
|
+
alerttext: "Prosím, vyberte riadok",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Zobraziť vybraný riadok"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Zobrazit/Skrýť stĺpce",
|
79
|
+
bSubmit: "Uložiť",
|
80
|
+
bCancel: "Storno"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Chyba",
|
84
|
+
nourl : "Nie je nastavená url",
|
85
|
+
norecords: "Žiadne záznamy k spracovaniu",
|
86
|
+
model : "Dĺžka 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
|
+
"Ne", "Po", "Ut", "St", "Št", "Pi", "So",
|
95
|
+
"Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec",
|
99
|
+
"Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
|
100
|
+
],
|
101
|
+
AmPm : ["do","od","DO","OD"],
|
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
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "n/j/Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "g:i A",
|
113
|
+
LongTime: "g:i:s A",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
})(jQuery);
|
@@ -0,0 +1,128 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Serbian Translation
|
4
|
+
* Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.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: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ],
|
23
|
+
matchText: " match",
|
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: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
|
45
|
+
nodefined : " није дефинисан!",
|
46
|
+
novalue : " захтевана је повратна вредност!",
|
47
|
+
customarray : "Custom function should return array!",
|
48
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
49
|
+
|
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","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: '',
|
123
|
+
target: '',
|
124
|
+
checkbox : {disabled:true},
|
125
|
+
idName : 'id'
|
126
|
+
}
|
127
|
+
};
|
128
|
+
})(jQuery);
|