jqgrid-jquery-rails 4.4.5.0 → 4.5.0.0

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