jqgrid-rails 4.5.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +29 -0
  5. data/Rakefile +1 -0
  6. data/jqgrid-rails.gemspec +22 -0
  7. data/lib/jqgrid/rails.rb +8 -0
  8. data/lib/jqgrid/rails/version.rb +5 -0
  9. data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -0
  10. data/vendor/assets/javascripts/i18n/grid.locale-bg.js +132 -0
  11. data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +132 -0
  12. data/vendor/assets/javascripts/i18n/grid.locale-cat.js +128 -0
  13. data/vendor/assets/javascripts/i18n/grid.locale-cn.js +132 -0
  14. data/vendor/assets/javascripts/i18n/grid.locale-cs.js +128 -0
  15. data/vendor/assets/javascripts/i18n/grid.locale-da.js +128 -0
  16. data/vendor/assets/javascripts/i18n/grid.locale-de.js +171 -0
  17. data/vendor/assets/javascripts/i18n/grid.locale-dk.js +127 -0
  18. data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
  19. data/vendor/assets/javascripts/i18n/grid.locale-en.js +168 -0
  20. data/vendor/assets/javascripts/i18n/grid.locale-es.js +128 -0
  21. data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -0
  22. data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -0
  23. data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -0
  24. data/vendor/assets/javascripts/i18n/grid.locale-gl.js +126 -0
  25. data/vendor/assets/javascripts/i18n/grid.locale-he.js +127 -0
  26. data/vendor/assets/javascripts/i18n/grid.locale-hr.js +162 -0
  27. data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +162 -0
  28. data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -0
  29. data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -0
  30. data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -0
  31. data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -0
  32. data/vendor/assets/javascripts/i18n/grid.locale-ja.js +155 -0
  33. data/vendor/assets/javascripts/i18n/grid.locale-kr.js +128 -0
  34. data/vendor/assets/javascripts/i18n/grid.locale-lt.js +128 -0
  35. data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
  36. data/vendor/assets/javascripts/i18n/grid.locale-nl.js +148 -0
  37. data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
  38. data/vendor/assets/javascripts/i18n/grid.locale-pl.js +132 -0
  39. data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +130 -0
  40. data/vendor/assets/javascripts/i18n/grid.locale-pt.js +125 -0
  41. data/vendor/assets/javascripts/i18n/grid.locale-ro.js +139 -0
  42. data/vendor/assets/javascripts/i18n/grid.locale-ru.js +127 -0
  43. data/vendor/assets/javascripts/i18n/grid.locale-sk.js +127 -0
  44. data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +128 -0
  45. data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -0
  46. data/vendor/assets/javascripts/i18n/grid.locale-sv.js +127 -0
  47. data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -0
  48. data/vendor/assets/javascripts/i18n/grid.locale-tr.js +126 -0
  49. data/vendor/assets/javascripts/i18n/grid.locale-tw.js +129 -0
  50. data/vendor/assets/javascripts/i18n/grid.locale-ua.js +127 -0
  51. data/vendor/assets/javascripts/i18n/grid.locale-vi.js +168 -0
  52. data/vendor/assets/javascripts/jquery.jqGrid.min.js +534 -0
  53. data/vendor/assets/stylesheets/ui.jqgrid.css +162 -0
  54. metadata +147 -0
@@ -0,0 +1,126 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Galician Translation
4
+ * Translated by Jorge Barreiro <yortx.barry@gmail.com>
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ **/
9
+ $.jgrid = $.jgrid || {};
10
+ $.extend($.jgrid,{
11
+ defaults : {
12
+ recordtext: "Amosando {0} - {1} de {2}",
13
+ emptyrecords: "Sen rexistros que amosar",
14
+ loadtext: "Cargando...",
15
+ pgtext : "Páxina {0} de {1}"
16
+ },
17
+ search : {
18
+ caption: "Búsqueda...",
19
+ Find: "Buscar",
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" } ]
23
+ },
24
+ edit : {
25
+ addCaption: "Engadir rexistro",
26
+ editCaption: "Modificar rexistro",
27
+ bSubmit: "Gardar",
28
+ bCancel: "Cancelar",
29
+ bClose: "Pechar",
30
+ saveData: "Modificáronse os datos, quere gardar os cambios?",
31
+ bYes : "Si",
32
+ bNo : "Non",
33
+ bExit : "Cancelar",
34
+ msg: {
35
+ required:"Campo obrigatorio",
36
+ number:"Introduza un número",
37
+ minValue:"O valor debe ser maior ou igual a ",
38
+ maxValue:"O valor debe ser menor ou igual a ",
39
+ email: "non é un enderezo de correo válido",
40
+ integer: "Introduza un valor enteiro",
41
+ date: "Introduza unha data correcta ",
42
+ url: "non é unha URL válida. Prefixo requerido ('http://' ou 'https://')",
43
+ nodefined : " non está definido.",
44
+ novalue : " o valor de retorno é obrigatorio.",
45
+ customarray : "A función persoalizada debe devolver un array.",
46
+ customfcheck : "A función persoalizada debe estar presente no caso de ter validación persoalizada."
47
+ }
48
+ },
49
+ view : {
50
+ caption: "Consultar rexistro",
51
+ bClose: "Pechar"
52
+ },
53
+ del : {
54
+ caption: "Eliminar",
55
+ msg: "Desexa eliminar os rexistros seleccionados?",
56
+ bSubmit: "Eliminar",
57
+ bCancel: "Cancelar"
58
+ },
59
+ nav : {
60
+ edittext: " ",
61
+ edittitle: "Modificar a fila seleccionada",
62
+ addtext:" ",
63
+ addtitle: "Engadir unha nova fila",
64
+ deltext: " ",
65
+ deltitle: "Eliminar a fila seleccionada",
66
+ searchtext: " ",
67
+ searchtitle: "Buscar información",
68
+ refreshtext: "",
69
+ refreshtitle: "Recargar datos",
70
+ alertcap: "Aviso",
71
+ alerttext: "Seleccione unha fila",
72
+ viewtext: "",
73
+ viewtitle: "Ver fila seleccionada"
74
+ },
75
+ col : {
76
+ caption: "Mostrar/ocultar columnas",
77
+ bSubmit: "Enviar",
78
+ bCancel: "Cancelar"
79
+ },
80
+ errors : {
81
+ errcap : "Erro",
82
+ nourl : "Non especificou unha URL",
83
+ norecords: "Non hai datos para procesar",
84
+ model : "As columnas de nomes son diferentes das columnas de modelo"
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
+ "Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa",
93
+ "Domingo", "Luns", "Martes", "Mércoles", "Xoves", "Vernes", "Sábado"
94
+ ],
95
+ monthNames: [
96
+ "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", "Xul", "Ago", "Set", "Out", "Nov", "Dec",
97
+ "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"
98
+ ],
99
+ AmPm : ["am","pm","AM","PM"],
100
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
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);
@@ -0,0 +1,127 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Hebrew Translation
4
+ * Shuki Shukrun shukrun.shuki@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 = $.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: "הכתובת אינה תקינה. דרושה תחילית ('http://' או 'https://')",
44
+ nodefined : " is not defined!",
45
+ novalue : " return value is required!",
46
+ customarray : "Custom function should return array!",
47
+ customfcheck : "Custom function should be present in case of custom checking!"
48
+ }
49
+ },
50
+ view : {
51
+ caption: "הצג רשומה",
52
+ bClose: "סגור"
53
+ },
54
+ del : {
55
+ caption: "מחק",
56
+ msg: "האם למחוק את הרשומה/ות המסומנות?",
57
+ bSubmit: "מחק",
58
+ bCancel: "בטל"
59
+ },
60
+ nav : {
61
+ edittext: "",
62
+ edittitle: "ערוך שורה מסומנת",
63
+ addtext:"",
64
+ addtitle: "הוסף שורה חדשה",
65
+ deltext: "",
66
+ deltitle: "מחק שורה מסומנת",
67
+ searchtext: "",
68
+ searchtitle: "חפש רשומות",
69
+ refreshtext: "",
70
+ refreshtitle: "טען גריד מחדש",
71
+ alertcap: "אזהרה",
72
+ alerttext: "אנא, בחר שורה",
73
+ viewtext: "",
74
+ viewtitle: "הצג שורה מסומנת"
75
+ },
76
+ col : {
77
+ caption: "הצג/הסתר עמודות",
78
+ bSubmit: "שלח",
79
+ bCancel: "בטל"
80
+ },
81
+ errors : {
82
+ errcap : "שגיאה",
83
+ nourl : "לא הוגדרה כתובת url",
84
+ norecords: "אין רשומות לעבד",
85
+ model : "אורך של colNames <> colModel!"
86
+ },
87
+ formatter : {
88
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
89
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
90
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
91
+ date : {
92
+ dayNames: [
93
+ "א", "ב", "ג", "ד", "ה", "ו", "ש",
94
+ "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"
95
+ ],
96
+ monthNames: [
97
+ "ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ",
98
+ "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"
99
+ ],
100
+ AmPm : ["לפני הצהרים","אחר הצהרים","לפני הצהרים","אחר הצהרים"],
101
+ S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
102
+ srcformat: 'Y-m-d',
103
+ newformat: 'd/m/Y',
104
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
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,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
+ });
162
+ })(jQuery);
@@ -0,0 +1,162 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Croatian Translation (charset windows-1250)
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
+ });
162
+ })(jQuery);