jqgrid-jquery-rails 4.5.400 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/jqgrid-jquery-rails/version.rb +2 -2
- data/spec/features/asset_pipeline_spec.rb +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +41 -39
- data/vendor/assets/javascripts/i18n/grid.locale-dk.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +146 -144
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +131 -129
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +164 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +164 -162
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +170 -168
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +128 -126
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +6 -3
- data/vendor/assets/javascripts/i18n/grid.locale-kr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -1
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +4 -2
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +66 -64
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +130 -128
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-tw.js +6 -4
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +5 -3
- data/vendor/assets/javascripts/i18n/grid.locale-vi.js +5 -3
- data/vendor/assets/javascripts/jquery.jqGrid.js +1109 -536
- data/vendor/assets/stylesheets/ui.jqgrid.css +17 -8
- metadata +2 -2
@@ -1,126 +1,128 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid French 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: "Enregistrements {0} - {1} sur {2}",
|
14
|
-
emptyrecords: "Aucun enregistrement à afficher",
|
15
|
-
loadtext: "Chargement...",
|
16
|
-
pgtext : "Page {0} sur {1}"
|
17
|
-
},
|
18
|
-
search : {
|
19
|
-
caption: "Recherche...",
|
20
|
-
Find: "Chercher",
|
21
|
-
Reset: "Réinitialiser",
|
22
|
-
odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"}],
|
23
|
-
groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ]
|
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
|
-
}
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid French 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: "Enregistrements {0} - {1} sur {2}",
|
14
|
+
emptyrecords: "Aucun enregistrement à afficher",
|
15
|
+
loadtext: "Chargement...",
|
16
|
+
pgtext : "Page {0} sur {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "Recherche...",
|
20
|
+
Find: "Chercher",
|
21
|
+
Reset: "Réinitialiser",
|
22
|
+
odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
23
|
+
groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ],
|
24
|
+
operandTitle : "Click to select search operation.",
|
25
|
+
resetTitle : "Reset Search Value"
|
26
|
+
},
|
27
|
+
edit : {
|
28
|
+
addCaption: "Ajouter",
|
29
|
+
editCaption: "Editer",
|
30
|
+
bSubmit: "Valider",
|
31
|
+
bCancel: "Annuler",
|
32
|
+
bClose: "Fermer",
|
33
|
+
saveData: "Les données ont changé ! Enregistrer les modifications ?",
|
34
|
+
bYes: "Oui",
|
35
|
+
bNo: "Non",
|
36
|
+
bExit: "Annuler",
|
37
|
+
msg: {
|
38
|
+
required: "Champ obligatoire",
|
39
|
+
number: "Saisissez un nombre correct",
|
40
|
+
minValue: "La valeur doit être supérieure ou égale à",
|
41
|
+
maxValue: "La valeur doit être inférieure ou égale à",
|
42
|
+
email: "n'est pas un email correct",
|
43
|
+
integer: "Saisissez un entier correct",
|
44
|
+
url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
|
45
|
+
nodefined : " n'est pas défini!",
|
46
|
+
novalue : " la valeur de retour est requise!",
|
47
|
+
customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
|
48
|
+
customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Voir les enregistrement",
|
53
|
+
bClose: "Fermer"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Supprimer",
|
57
|
+
msg: "Supprimer les enregistrements sélectionnés ?",
|
58
|
+
bSubmit: "Supprimer",
|
59
|
+
bCancel: "Annuler"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Editer la ligne sélectionnée",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Ajouter une ligne",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Supprimer la ligne sélectionnée",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Chercher un enregistrement",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Recharger le tableau",
|
72
|
+
alertcap: "Avertissement",
|
73
|
+
alerttext: "Veuillez sélectionner une ligne",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Afficher la ligne sélectionnée"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Afficher/Masquer les colonnes",
|
79
|
+
bSubmit: "Valider",
|
80
|
+
bCancel: "Annuler"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Erreur",
|
84
|
+
nourl : "Aucune adresse n'est paramétrée",
|
85
|
+
norecords: "Aucun enregistrement à traiter",
|
86
|
+
model : "Nombre de titres (colNames) <> Nombre de données (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
|
+
"Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
|
95
|
+
"Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
|
99
|
+
"Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j == 1 ? 'er' : 'e';},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd/m/Y',
|
105
|
+
parseRe : /[#%\\\/:_;.,\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);
|
@@ -18,8 +18,10 @@ $.extend($.jgrid,{
|
|
18
18
|
caption: "Búsqueda...",
|
19
19
|
Find: "Buscar",
|
20
20
|
Reset: "Limpar",
|
21
|
-
odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"diferente a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor ou igual que"},{ oper:'gt', text:"maior que"},{ oper:'ge', text:"maior ou igual a"},{ oper:'bw', text:"empece por"},{ oper:'bn', text:"non empece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"non está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"non termina por"},{ oper:'cn', text:"contén"},{ oper:'nc', text:"non contén"}],
|
22
|
-
groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "calquera" } ]
|
21
|
+
odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"diferente a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor ou igual que"},{ oper:'gt', text:"maior que"},{ oper:'ge', text:"maior ou igual a"},{ oper:'bw', text:"empece por"},{ oper:'bn', text:"non empece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"non está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"non termina por"},{ oper:'cn', text:"contén"},{ oper:'nc', text:"non contén"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
22
|
+
groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "calquera" } ],
|
23
|
+
operandTitle : "Click to select search operation.",
|
24
|
+
resetTitle : "Reset Search Value"
|
23
25
|
},
|
24
26
|
edit : {
|
25
27
|
addCaption: "Engadir rexistro",
|
@@ -100,7 +102,7 @@ $.extend($.jgrid,{
|
|
100
102
|
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
101
103
|
srcformat: 'Y-m-d',
|
102
104
|
newformat: 'd-m-Y',
|
103
|
-
parseRe : /[
|
105
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
104
106
|
masks : {
|
105
107
|
ISO8601Long:"Y-m-d H:i:s",
|
106
108
|
ISO8601Short:"Y-m-d",
|
@@ -19,8 +19,10 @@ $.extend($.jgrid,{
|
|
19
19
|
caption: "מחפש...",
|
20
20
|
Find: "חפש",
|
21
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: "אחד מ" }
|
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:"לא מכיל"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
23
|
+
groupOps: [ { op: "AND", text: "הכל" }, { op: "OR", text: "אחד מ" }],
|
24
|
+
operandTitle : "Click to select search operation.",
|
25
|
+
resetTitle : "Reset Search Value"
|
24
26
|
},
|
25
27
|
edit : {
|
26
28
|
addCaption: "הוסף רשומה",
|
@@ -101,7 +103,7 @@ $.extend($.jgrid,{
|
|
101
103
|
S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
|
102
104
|
srcformat: 'Y-m-d',
|
103
105
|
newformat: 'd/m/Y',
|
104
|
-
parseRe : /[
|
106
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
105
107
|
masks : {
|
106
108
|
ISO8601Long:"Y-m-d H:i:s",
|
107
109
|
ISO8601Short:"Y-m-d",
|
@@ -1,162 +1,164 @@
|
|
1
|
-
;(function($){
|
2
|
-
/**
|
3
|
-
* jqGrid Croatian Translation
|
4
|
-
* Version 1.0.1 (developed for jQuery Grid 4.4)
|
5
|
-
* msajko@gmail.com
|
6
|
-
*
|
7
|
-
* Dual licensed under the MIT and GPL licenses:
|
8
|
-
* http://www.opensource.org/licenses/mit-license.php
|
9
|
-
* http://www.gnu.org/licenses/gpl.html
|
10
|
-
**/
|
11
|
-
$.jgrid = $.jgrid || {};
|
12
|
-
$.extend($.jgrid,{
|
13
|
-
defaults : {
|
14
|
-
recordtext: "Pregled {0} - {1} od {2}",
|
15
|
-
emptyrecords: "Nema zapisa",
|
16
|
-
loadtext: "Učitavam...",
|
17
|
-
pgtext : "Stranica {0} od {1}"
|
18
|
-
},
|
19
|
-
search : {
|
20
|
-
caption: "Traži...",
|
21
|
-
Find: "Pretraživanje",
|
22
|
-
Reset: "Poništi",
|
23
|
-
odata: [{ oper:'eq', text:"jednak"},{ oper:'ne', text:"nije identičan"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili identično"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"
|
24
|
-
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ]
|
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
|
-
//
|
131
|
-
//
|
132
|
-
|
133
|
-
//
|
134
|
-
//
|
135
|
-
//
|
136
|
-
|
137
|
-
//
|
138
|
-
|
139
|
-
//
|
140
|
-
|
141
|
-
//
|
142
|
-
|
143
|
-
//
|
144
|
-
//
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
//
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
}
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Croatian Translation
|
4
|
+
* Version 1.0.1 (developed for jQuery Grid 4.4)
|
5
|
+
* msajko@gmail.com
|
6
|
+
*
|
7
|
+
* Dual licensed under the MIT and GPL licenses:
|
8
|
+
* http://www.opensource.org/licenses/mit-license.php
|
9
|
+
* http://www.gnu.org/licenses/gpl.html
|
10
|
+
**/
|
11
|
+
$.jgrid = $.jgrid || {};
|
12
|
+
$.extend($.jgrid,{
|
13
|
+
defaults : {
|
14
|
+
recordtext: "Pregled {0} - {1} od {2}",
|
15
|
+
emptyrecords: "Nema zapisa",
|
16
|
+
loadtext: "Učitavam...",
|
17
|
+
pgtext : "Stranica {0} od {1}"
|
18
|
+
},
|
19
|
+
search : {
|
20
|
+
caption: "Traži...",
|
21
|
+
Find: "Pretraživanje",
|
22
|
+
Reset: "Poništi",
|
23
|
+
odata: [{ oper:'eq', text:"jednak"},{ oper:'ne', text:"nije identičan"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili identično"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili identično"},{ 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"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
|
24
|
+
groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
|
25
|
+
operandTitle : "Click to select search operation.",
|
26
|
+
resetTitle : "Reset Search Value"
|
27
|
+
},
|
28
|
+
edit : {
|
29
|
+
addCaption: "Dodaj zapis",
|
30
|
+
editCaption: "Promijeni zapis",
|
31
|
+
bSubmit: "Preuzmi",
|
32
|
+
bCancel: "Odustani",
|
33
|
+
bClose: "Zatvri",
|
34
|
+
saveData: "Podaci su promijenjeni! Preuzmi promijene?",
|
35
|
+
bYes : "Da",
|
36
|
+
bNo : "Ne",
|
37
|
+
bExit : "Odustani",
|
38
|
+
msg: {
|
39
|
+
required:"Polje je obavezno",
|
40
|
+
number:"Molim, unesite ispravan broj",
|
41
|
+
minValue:"Vrijednost mora biti veća ili identična ",
|
42
|
+
maxValue:"Vrijednost mora biti manja ili identična",
|
43
|
+
email: "neispravan e-mail",
|
44
|
+
integer: "Molim, unjeti ispravan cijeli broj (integer)",
|
45
|
+
date: "Molim, unjeti ispravan datum ",
|
46
|
+
url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
|
47
|
+
nodefined : " nije definiran!",
|
48
|
+
novalue : " zahtjevan podatak je obavezan!",
|
49
|
+
customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
|
50
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
51
|
+
|
52
|
+
}
|
53
|
+
},
|
54
|
+
view : {
|
55
|
+
caption: "Otvori zapis",
|
56
|
+
bClose: "Zatvori"
|
57
|
+
},
|
58
|
+
del : {
|
59
|
+
caption: "Obriši",
|
60
|
+
msg: "Obriši označen zapis ili više njih?",
|
61
|
+
bSubmit: "Obriši",
|
62
|
+
bCancel: "Odustani"
|
63
|
+
},
|
64
|
+
nav : {
|
65
|
+
edittext: "",
|
66
|
+
edittitle: "Promijeni obilježeni red",
|
67
|
+
addtext: "",
|
68
|
+
addtitle: "Dodaj novi red",
|
69
|
+
deltext: "",
|
70
|
+
deltitle: "Obriši obilježeni red",
|
71
|
+
searchtext: "",
|
72
|
+
searchtitle: "Potraži zapise",
|
73
|
+
refreshtext: "",
|
74
|
+
refreshtitle: "Ponovo preuzmi podatke",
|
75
|
+
alertcap: "Upozorenje",
|
76
|
+
alerttext: "Molim, odaberi red",
|
77
|
+
viewtext: "",
|
78
|
+
viewtitle: "Pregled obilježenog reda"
|
79
|
+
},
|
80
|
+
col : {
|
81
|
+
caption: "Obilježi kolonu",
|
82
|
+
bSubmit: "Uredu",
|
83
|
+
bCancel: "Odustani"
|
84
|
+
},
|
85
|
+
errors : {
|
86
|
+
errcap : "Greška",
|
87
|
+
nourl : "Nedostaje URL",
|
88
|
+
norecords: "Bez zapisa za obradu",
|
89
|
+
model : "colNames i colModel imaju različitu duljinu!"
|
90
|
+
},
|
91
|
+
formatter : {
|
92
|
+
integer : {thousandsSeparator: ".", defaultValue: '0'},
|
93
|
+
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
|
94
|
+
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
|
95
|
+
date : {
|
96
|
+
dayNames: [
|
97
|
+
"Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
|
98
|
+
"Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
|
99
|
+
],
|
100
|
+
monthNames: [
|
101
|
+
"Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
|
102
|
+
"Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
|
103
|
+
],
|
104
|
+
AmPm : ["am","pm","AM","PM"],
|
105
|
+
S: function (j) {return ''},
|
106
|
+
srcformat: 'Y-m-d',
|
107
|
+
newformat: 'd.m.Y.',
|
108
|
+
parseRe : /[#%\\\/:_;.,\t\s-]/,
|
109
|
+
masks : {
|
110
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
111
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
112
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
113
|
+
ISO8601Long: "Y-m-d H:i:s",
|
114
|
+
ISO8601Short: "Y-m-d",
|
115
|
+
// short date:
|
116
|
+
// d - Day of the month, 2 digits with leading zeros
|
117
|
+
// m - Numeric representation of a month, with leading zeros
|
118
|
+
// Y - A full numeric representation of a year, 4 digits
|
119
|
+
ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
|
120
|
+
// long date:
|
121
|
+
// l - A full textual representation of the day of the week
|
122
|
+
// j - Day of the month without leading zeros
|
123
|
+
// F - A full textual representation of a month
|
124
|
+
// Y - A full numeric representation of a year, 4 digits
|
125
|
+
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
126
|
+
// long date with long time:
|
127
|
+
// l - A full textual representation of the day of the week
|
128
|
+
// j - Day of the month without leading zeros
|
129
|
+
// F - A full textual representation of a month
|
130
|
+
// Y - A full numeric representation of a year, 4 digits
|
131
|
+
// H - 24-hour format of an hour with leading zeros
|
132
|
+
// i - Minutes with leading zeros
|
133
|
+
// s - Seconds, with leading zeros
|
134
|
+
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
135
|
+
// month day:
|
136
|
+
// d - Day of the month, 2 digits with leading zeros
|
137
|
+
// F - A full textual representation of a month
|
138
|
+
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
139
|
+
// short time (without seconds)
|
140
|
+
// H - 24-hour format of an hour with leading zeros
|
141
|
+
// i - Minutes with leading zeros
|
142
|
+
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
143
|
+
// long time (with seconds)
|
144
|
+
// H - 24-hour format of an hour with leading zeros
|
145
|
+
// i - Minutes with leading zeros
|
146
|
+
// s - Seconds, with leading zeros
|
147
|
+
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
148
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
149
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
150
|
+
// month with year
|
151
|
+
// F - A full textual representation of a month
|
152
|
+
// Y - A full numeric representation of a year, 4 digits
|
153
|
+
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
154
|
+
},
|
155
|
+
reformatAfterEdit : false
|
156
|
+
},
|
157
|
+
baseLinkUrl: '',
|
158
|
+
showAction: '',
|
159
|
+
target: '',
|
160
|
+
checkbox : {disabled:true},
|
161
|
+
idName : 'id'
|
162
|
+
}
|
163
|
+
});
|
164
|
+
})(jQuery);
|