jqgrid-rails 4.5.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/jqgrid-rails.gemspec +22 -0
- data/lib/jqgrid/rails.rb +8 -0
- data/lib/jqgrid/rails/version.rb +5 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +171 -0
- data/vendor/assets/javascripts/i18n/grid.locale-dk.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +168 -0
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +162 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +162 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-id.js +168 -0
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +155 -0
- data/vendor/assets/javascripts/i18n/grid.locale-kr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +148 -0
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +130 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +125 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +139 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sr-latin.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-tw.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-vi.js +168 -0
- data/vendor/assets/javascripts/jquery.jqGrid.min.js +534 -0
- data/vendor/assets/stylesheets/ui.jqgrid.css +162 -0
- metadata +147 -0
@@ -0,0 +1,171 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid German Translation
|
4
|
+
* Version 1.0.0 (developed for jQuery Grid 3.3.1)
|
5
|
+
* Olaf Klöppel opensource@blue-hit.de
|
6
|
+
* http://blue-hit.de/
|
7
|
+
*
|
8
|
+
* Updated for jqGrid 3.8
|
9
|
+
* Andreas Flack
|
10
|
+
* http://www.contentcontrol-berlin.de
|
11
|
+
*
|
12
|
+
* Updated for jQuery 4.4
|
13
|
+
* Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
|
14
|
+
* the format corresponds now the format from
|
15
|
+
* https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js
|
16
|
+
*
|
17
|
+
* Dual licensed under the MIT and GPL licenses:
|
18
|
+
* http://www.opensource.org/licenses/mit-license.php
|
19
|
+
* http://www.gnu.org/licenses/gpl.html
|
20
|
+
**/
|
21
|
+
$.jgrid = $.jgrid || {};
|
22
|
+
$.extend($.jgrid,{
|
23
|
+
defaults : {
|
24
|
+
recordtext: "Zeige {0} - {1} von {2}",
|
25
|
+
emptyrecords: "Keine Datensätze vorhanden",
|
26
|
+
loadtext: "Lädt...",
|
27
|
+
pgtext : "Seite {0} von {1}"
|
28
|
+
},
|
29
|
+
search : {
|
30
|
+
caption: "Suche...",
|
31
|
+
Find: "Suchen",
|
32
|
+
Reset: "Zurücksetzen",
|
33
|
+
odata: [{ oper:'eq', text:"gleich"},{ oper:'ne', text:"ungleich"},{ oper:'lt', text:"kleiner"},{ oper:'le', text:"kleiner gleich"},{ oper:'gt', text:"größer"},{ oper:'ge', text:"größer gleich"},{ oper:'bw', text:"beginnt mit"},{ oper:'bn', text:"beginnt nicht mit"},{ oper:'in', text:"ist in"},{ oper:'ni', text:"ist nicht in"},{ oper:'ew', text:"endet mit"},{ oper:'en', text:"endet nicht mit"},{ oper:'cn', text:"enthält"},{ oper:'nc', text:"enthält nicht"}],
|
34
|
+
groupOps: [ { op: "AND", text: "alle" }, { op: "OR", text: "mindestens eine" } ]
|
35
|
+
},
|
36
|
+
edit : {
|
37
|
+
addCaption: "Datensatz hinzufügen",
|
38
|
+
editCaption: "Datensatz bearbeiten",
|
39
|
+
bSubmit: "Speichern",
|
40
|
+
bCancel: "Abbrechen",
|
41
|
+
bClose: "Schließen",
|
42
|
+
saveData: "Daten wurden geändert! Änderungen speichern?",
|
43
|
+
bYes : "ja",
|
44
|
+
bNo : "nein",
|
45
|
+
bExit : "abbrechen",
|
46
|
+
msg: {
|
47
|
+
required:"Feld ist erforderlich",
|
48
|
+
number: "Bitte geben Sie eine Zahl ein",
|
49
|
+
minValue:"Wert muss größer oder gleich sein, als ",
|
50
|
+
maxValue:"Wert muss kleiner oder gleich sein, als ",
|
51
|
+
email: "ist keine gültige E-Mail-Adresse",
|
52
|
+
integer: "Bitte geben Sie eine Ganzzahl ein",
|
53
|
+
date: "Bitte geben Sie ein gültiges Datum ein",
|
54
|
+
url: "ist keine gültige URL. Präfix muss eingegeben werden ('http://' oder 'https://')",
|
55
|
+
nodefined : " ist nicht definiert!",
|
56
|
+
novalue : " Rückgabewert ist erforderlich!",
|
57
|
+
customarray : "Benutzerdefinierte Funktion sollte ein Array zurückgeben!",
|
58
|
+
customfcheck : "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten Überprüfung vorhanden sein!"
|
59
|
+
}
|
60
|
+
},
|
61
|
+
view : {
|
62
|
+
caption: "Datensatz anzeigen",
|
63
|
+
bClose: "Schließen"
|
64
|
+
},
|
65
|
+
del : {
|
66
|
+
caption: "Löschen",
|
67
|
+
msg: "Ausgewählte Datensätze löschen?",
|
68
|
+
bSubmit: "Löschen",
|
69
|
+
bCancel: "Abbrechen"
|
70
|
+
},
|
71
|
+
nav : {
|
72
|
+
edittext: " ",
|
73
|
+
edittitle: "Ausgewählte Zeile editieren",
|
74
|
+
addtext:" ",
|
75
|
+
addtitle: "Neue Zeile einfügen",
|
76
|
+
deltext: " ",
|
77
|
+
deltitle: "Ausgewählte Zeile löschen",
|
78
|
+
searchtext: " ",
|
79
|
+
searchtitle: "Datensatz suchen",
|
80
|
+
refreshtext: "",
|
81
|
+
refreshtitle: "Tabelle neu laden",
|
82
|
+
alertcap: "Warnung",
|
83
|
+
alerttext: "Bitte Zeile auswählen",
|
84
|
+
viewtext: "",
|
85
|
+
viewtitle: "Ausgewählte Zeile anzeigen"
|
86
|
+
},
|
87
|
+
col : {
|
88
|
+
caption: "Spalten auswählen",
|
89
|
+
bSubmit: "Speichern",
|
90
|
+
bCancel: "Abbrechen"
|
91
|
+
},
|
92
|
+
errors : {
|
93
|
+
errcap : "Fehler",
|
94
|
+
nourl : "Keine URL angegeben",
|
95
|
+
norecords: "Keine Datensätze zu bearbeiten",
|
96
|
+
model : "colNames und colModel sind unterschiedlich lang!"
|
97
|
+
},
|
98
|
+
formatter : {
|
99
|
+
integer : {thousandsSeparator: ".", defaultValue: '0'},
|
100
|
+
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
|
101
|
+
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" €", defaultValue: '0,00'},
|
102
|
+
date : {
|
103
|
+
dayNames: [
|
104
|
+
"So", "Mo", "Di", "Mi", "Do", "Fr", "Sa",
|
105
|
+
"Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"
|
106
|
+
],
|
107
|
+
monthNames: [
|
108
|
+
"Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez",
|
109
|
+
"Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
|
110
|
+
],
|
111
|
+
AmPm : ["","","",""],
|
112
|
+
S: function (j) {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
|
113
|
+
srcformat: 'Y-m-d',
|
114
|
+
newformat: 'd.m.Y',
|
115
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
116
|
+
masks : {
|
117
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
118
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
119
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
120
|
+
ISO8601Long: "Y-m-d H:i:s",
|
121
|
+
ISO8601Short: "Y-m-d",
|
122
|
+
// short date:
|
123
|
+
// d - Day of the month, 2 digits with leading zeros
|
124
|
+
// m - Numeric representation of a month, with leading zeros
|
125
|
+
// Y - A full numeric representation of a year, 4 digits
|
126
|
+
ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy"
|
127
|
+
// long date:
|
128
|
+
// l - A full textual representation of the day of the week
|
129
|
+
// j - Day of the month without leading zeros
|
130
|
+
// F - A full textual representation of a month
|
131
|
+
// Y - A full numeric representation of a year, 4 digits
|
132
|
+
LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
133
|
+
// long date with long time:
|
134
|
+
// l - A full textual representation of the day of the week
|
135
|
+
// j - Day of the month without leading zeros
|
136
|
+
// F - A full textual representation of a month
|
137
|
+
// Y - A full numeric representation of a year, 4 digits
|
138
|
+
// H - 24-hour format of an hour with leading zeros
|
139
|
+
// i - Minutes with leading zeros
|
140
|
+
// s - Seconds, with leading zeros
|
141
|
+
FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
142
|
+
// month day:
|
143
|
+
// d - Day of the month, 2 digits with leading zeros
|
144
|
+
// F - A full textual representation of a month
|
145
|
+
MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
146
|
+
// short time (without seconds)
|
147
|
+
// H - 24-hour format of an hour with leading zeros
|
148
|
+
// i - Minutes with leading zeros
|
149
|
+
ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
150
|
+
// long time (with seconds)
|
151
|
+
// H - 24-hour format of an hour with leading zeros
|
152
|
+
// i - Minutes with leading zeros
|
153
|
+
// s - Seconds, with leading zeros
|
154
|
+
LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
155
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
156
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
157
|
+
// month with year
|
158
|
+
// F - A full textual representation of a month
|
159
|
+
// Y - A full numeric representation of a year, 4 digits
|
160
|
+
YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
161
|
+
},
|
162
|
+
reformatAfterEdit : false
|
163
|
+
},
|
164
|
+
baseLinkUrl: '',
|
165
|
+
showAction: '',
|
166
|
+
target: '',
|
167
|
+
checkbox : {disabled:true},
|
168
|
+
idName : 'id'
|
169
|
+
}
|
170
|
+
});
|
171
|
+
})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Danish Translation
|
4
|
+
* Kaare Rasmussen kjs@jasonic.dk
|
5
|
+
* http://jasonic.dk/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: "View {0} - {1} of {2}",
|
13
|
+
emptyrecords: "No records to view",
|
14
|
+
loadtext: "Loading...",
|
15
|
+
pgtext : "Page {0} of {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Søg...",
|
19
|
+
Find: "Find",
|
20
|
+
Reset: "Nulstil",
|
21
|
+
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'}],
|
22
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
23
|
+
},
|
24
|
+
edit : {
|
25
|
+
addCaption: "Tilføj",
|
26
|
+
editCaption: "Ret",
|
27
|
+
bSubmit: "Send",
|
28
|
+
bCancel: "Annuller",
|
29
|
+
bClose: "Luk",
|
30
|
+
saveData: "Data has been changed! Save changes?",
|
31
|
+
bYes : "Yes",
|
32
|
+
bNo : "No",
|
33
|
+
bExit : "Cancel",
|
34
|
+
msg: {
|
35
|
+
required:"Felt er nødvendigt",
|
36
|
+
number:"Indtast venligst et validt tal",
|
37
|
+
minValue:"værdi skal være større end eller lig med",
|
38
|
+
maxValue:"værdi skal være mindre end eller lig med",
|
39
|
+
email: "er ikke en valid email",
|
40
|
+
integer: "Indtast venligst et validt heltalt",
|
41
|
+
date: "Indtast venligst en valid datoværdi",
|
42
|
+
url: "is not a valid URL. Prefix required ('http://' or 'https://')",
|
43
|
+
nodefined : " is not defined!",
|
44
|
+
novalue : " return value is required!",
|
45
|
+
customarray : "Custom function should return array!",
|
46
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
47
|
+
}
|
48
|
+
},
|
49
|
+
view : {
|
50
|
+
caption: "View Record",
|
51
|
+
bClose: "Close"
|
52
|
+
},
|
53
|
+
del : {
|
54
|
+
caption: "Slet",
|
55
|
+
msg: "Slet valgte række(r)?",
|
56
|
+
bSubmit: "Slet",
|
57
|
+
bCancel: "Annuller"
|
58
|
+
},
|
59
|
+
nav : {
|
60
|
+
edittext: " ",
|
61
|
+
edittitle: "Rediger valgte række",
|
62
|
+
addtext:" ",
|
63
|
+
addtitle: "Tilføj ny række",
|
64
|
+
deltext: " ",
|
65
|
+
deltitle: "Slet valgte række",
|
66
|
+
searchtext: " ",
|
67
|
+
searchtitle: "Find poster",
|
68
|
+
refreshtext: "",
|
69
|
+
refreshtitle: "Indlæs igen",
|
70
|
+
alertcap: "Advarsel",
|
71
|
+
alerttext: "Vælg venligst række",
|
72
|
+
viewtext: "",
|
73
|
+
viewtitle: "View selected row"
|
74
|
+
},
|
75
|
+
col : {
|
76
|
+
caption: "Vis/skjul kolonner",
|
77
|
+
bSubmit: "Send",
|
78
|
+
bCancel: "Annuller"
|
79
|
+
},
|
80
|
+
errors : {
|
81
|
+
errcap : "Fejl",
|
82
|
+
nourl : "Ingel url valgt",
|
83
|
+
norecords: "Ingen poster at behandle",
|
84
|
+
model : "colNames og colModel har ikke samme længde!"
|
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
|
+
"Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
|
93
|
+
"Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
|
94
|
+
],
|
95
|
+
monthNames: [
|
96
|
+
"Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
|
97
|
+
"Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
|
98
|
+
],
|
99
|
+
AmPm : ["","","",""],
|
100
|
+
S: function (j) {return '.'},
|
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: "j/n/Y",
|
108
|
+
LongDate: "l d. F Y",
|
109
|
+
FullDateTime: "l d F Y G:i:s",
|
110
|
+
MonthDay: "d. F",
|
111
|
+
ShortTime: "G:i",
|
112
|
+
LongTime: "G:i:s",
|
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
|
+
// DK
|
127
|
+
})(jQuery);
|
@@ -0,0 +1,126 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Greek (el) Translation
|
4
|
+
* Alex Cicovic
|
5
|
+
* http://www.alexcicovic.com
|
6
|
+
* Dual licensed under the MIT and GPL licenses:
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
* http://www.gnu.org/licenses/gpl.html
|
9
|
+
**/
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
12
|
+
defaults : {
|
13
|
+
recordtext: "View {0} - {1} of {2}",
|
14
|
+
emptyrecords: "No records to view",
|
15
|
+
loadtext: "Φόρτωση...",
|
16
|
+
pgtext : "Page {0} of {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "Αναζήτηση...",
|
20
|
+
Find: "Εύρεση",
|
21
|
+
Reset: "Επαναφορά",
|
22
|
+
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'}],
|
23
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "Εισαγωγή Εγγραφής",
|
27
|
+
editCaption: "Επεξεργασία Εγγραφής",
|
28
|
+
bSubmit: "Καταχώρηση",
|
29
|
+
bCancel: "Άκυρο",
|
30
|
+
bClose: "Κλείσιμο",
|
31
|
+
saveData: "Data has been changed! Save changes?",
|
32
|
+
bYes : "Yes",
|
33
|
+
bNo : "No",
|
34
|
+
bExit : "Cancel",
|
35
|
+
msg: {
|
36
|
+
required:"Το πεδίο είναι απαραίτητο",
|
37
|
+
number:"Το πεδίο δέχεται μόνο αριθμούς",
|
38
|
+
minValue:"Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",
|
39
|
+
maxValue:"Η τιμή πρέπει να είναι μικρότερη ή ίση του ",
|
40
|
+
email: "Η διεύθυνση e-mail δεν είναι έγκυρη",
|
41
|
+
integer: "Το πεδίο δέχεται μόνο ακέραιους αριθμούς",
|
42
|
+
url: "is not a valid URL. Prefix required ('http://' or 'https://')",
|
43
|
+
nodefined : " is not defined!",
|
44
|
+
novalue : " return value is required!",
|
45
|
+
customarray : "Custom function should return array!",
|
46
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
47
|
+
}
|
48
|
+
},
|
49
|
+
view : {
|
50
|
+
caption: "View Record",
|
51
|
+
bClose: "Close"
|
52
|
+
},
|
53
|
+
del : {
|
54
|
+
caption: "Διαγραφή",
|
55
|
+
msg: "Διαγραφή των επιλεγμένων εγγραφών;",
|
56
|
+
bSubmit: "Ναι",
|
57
|
+
bCancel: "Άκυρο"
|
58
|
+
},
|
59
|
+
nav : {
|
60
|
+
edittext: " ",
|
61
|
+
edittitle: "Επεξεργασία επιλεγμένης εγγραφής",
|
62
|
+
addtext:" ",
|
63
|
+
addtitle: "Εισαγωγή νέας εγγραφής",
|
64
|
+
deltext: " ",
|
65
|
+
deltitle: "Διαγραφή επιλεγμένης εγγραφής",
|
66
|
+
searchtext: " ",
|
67
|
+
searchtitle: "Εύρεση Εγγραφών",
|
68
|
+
refreshtext: "",
|
69
|
+
refreshtitle: "Ανανέωση Πίνακα",
|
70
|
+
alertcap: "Προσοχή",
|
71
|
+
alerttext: "Δεν έχετε επιλέξει εγγραφή",
|
72
|
+
viewtext: "",
|
73
|
+
viewtitle: "View selected row"
|
74
|
+
},
|
75
|
+
col : {
|
76
|
+
caption: "Εμφάνιση / Απόκρυψη Στηλών",
|
77
|
+
bSubmit: "ΟΚ",
|
78
|
+
bCancel: "Άκυρο"
|
79
|
+
},
|
80
|
+
errors : {
|
81
|
+
errcap : "Σφάλμα",
|
82
|
+
nourl : "Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",
|
83
|
+
norecords: "Δεν υπάρχουν εγγραφές προς επεξεργασία",
|
84
|
+
model : "Άνισος αριθμός πεδίων colNames/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
|
+
"Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ",
|
93
|
+
"Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"
|
94
|
+
],
|
95
|
+
monthNames: [
|
96
|
+
"Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ",
|
97
|
+
"Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"
|
98
|
+
],
|
99
|
+
AmPm : ["πμ","μμ","ΠΜ","ΜΜ"],
|
100
|
+
S: function (j) {return j == 1 || j > 1 ? ['η'][Math.min((j - 1) % 10, 3)] : ''},
|
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,168 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid English Translation
|
4
|
+
* Tony Tomov tony@trirand.com
|
5
|
+
* http://trirand.com/blog/
|
6
|
+
* Dual licensed under the MIT and GPL licenses:
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
* http://www.gnu.org/licenses/gpl.html
|
9
|
+
**/
|
10
|
+
$.jgrid = $.jgrid || {};
|
11
|
+
$.extend($.jgrid,{
|
12
|
+
defaults : {
|
13
|
+
recordtext: "View {0} - {1} of {2}",
|
14
|
+
emptyrecords: "No records to view",
|
15
|
+
loadtext: "Loading...",
|
16
|
+
pgtext : "Page {0} of {1}"
|
17
|
+
},
|
18
|
+
search : {
|
19
|
+
caption: "Search...",
|
20
|
+
Find: "Find",
|
21
|
+
Reset: "Reset",
|
22
|
+
odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'}],
|
23
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "Add Record",
|
27
|
+
editCaption: "Edit Record",
|
28
|
+
bSubmit: "Submit",
|
29
|
+
bCancel: "Cancel",
|
30
|
+
bClose: "Close",
|
31
|
+
saveData: "Data has been changed! Save changes?",
|
32
|
+
bYes : "Yes",
|
33
|
+
bNo : "No",
|
34
|
+
bExit : "Cancel",
|
35
|
+
msg: {
|
36
|
+
required:"Field is required",
|
37
|
+
number:"Please, enter valid number",
|
38
|
+
minValue:"value must be greater than or equal to ",
|
39
|
+
maxValue:"value must be less than or equal to",
|
40
|
+
email: "is not a valid e-mail",
|
41
|
+
integer: "Please, enter valid integer value",
|
42
|
+
date: "Please, enter valid date value",
|
43
|
+
url: "is not a valid URL. Prefix required ('http://' or '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
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "View Record",
|
53
|
+
bClose: "Close"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Delete",
|
57
|
+
msg: "Delete selected record(s)?",
|
58
|
+
bSubmit: "Delete",
|
59
|
+
bCancel: "Cancel"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Edit selected row",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "Add new row",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Delete selected row",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Find records",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Reload Grid",
|
72
|
+
alertcap: "Warning",
|
73
|
+
alerttext: "Please, select row",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "View selected row"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Select columns",
|
79
|
+
bSubmit: "Ok",
|
80
|
+
bCancel: "Cancel"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Error",
|
84
|
+
nourl : "No url is set",
|
85
|
+
norecords: "No records to process",
|
86
|
+
model : "Length of colNames <> colModel!"
|
87
|
+
},
|
88
|
+
formatter : {
|
89
|
+
integer : {thousandsSeparator: ",", defaultValue: '0'},
|
90
|
+
number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'},
|
91
|
+
currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
|
95
|
+
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
|
99
|
+
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
|
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: 'n/j/Y',
|
105
|
+
parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
106
|
+
masks : {
|
107
|
+
// see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
108
|
+
// and see http://docs.jquery.com/UI/Datepicker/formatDate
|
109
|
+
// and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
110
|
+
// one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
|
111
|
+
// information about date, time, numbers and currency formats used in different countries
|
112
|
+
// one should just convert the information in PHP format
|
113
|
+
ISO8601Long:"Y-m-d H:i:s",
|
114
|
+
ISO8601Short:"Y-m-d",
|
115
|
+
// short date:
|
116
|
+
// n - Numeric representation of a month, without leading zeros
|
117
|
+
// j - Day of the month without leading zeros
|
118
|
+
// Y - A full numeric representation of a year, 4 digits
|
119
|
+
// example: 3/1/2012 which means 1 March 2012
|
120
|
+
ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
|
121
|
+
// long date:
|
122
|
+
// l - A full textual representation of the day of the week
|
123
|
+
// F - A full textual representation of a month
|
124
|
+
// d - Day of the month, 2 digits with leading zeros
|
125
|
+
// Y - A full numeric representation of a year, 4 digits
|
126
|
+
LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
|
127
|
+
// long date with long time:
|
128
|
+
// l - A full textual representation of the day of the week
|
129
|
+
// F - A full textual representation of a month
|
130
|
+
// d - Day of the month, 2 digits with leading zeros
|
131
|
+
// Y - A full numeric representation of a year, 4 digits
|
132
|
+
// g - 12-hour format of an hour without leading zeros
|
133
|
+
// i - Minutes with leading zeros
|
134
|
+
// s - Seconds, with leading zeros
|
135
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
136
|
+
FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
|
137
|
+
// month day:
|
138
|
+
// F - A full textual representation of a month
|
139
|
+
// d - Day of the month, 2 digits with leading zeros
|
140
|
+
MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
|
141
|
+
// short time (without seconds)
|
142
|
+
// g - 12-hour format of an hour without leading zeros
|
143
|
+
// i - Minutes with leading zeros
|
144
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
145
|
+
ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
|
146
|
+
// long time (with seconds)
|
147
|
+
// g - 12-hour format of an hour without leading zeros
|
148
|
+
// i - Minutes with leading zeros
|
149
|
+
// s - Seconds, with leading zeros
|
150
|
+
// A - Uppercase Ante meridiem and Post meridiem (AM or PM)
|
151
|
+
LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
|
152
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
153
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
154
|
+
// month with year
|
155
|
+
// Y - A full numeric representation of a year, 4 digits
|
156
|
+
// F - A full textual representation of a month
|
157
|
+
YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
|
158
|
+
},
|
159
|
+
reformatAfterEdit : false
|
160
|
+
},
|
161
|
+
baseLinkUrl: '',
|
162
|
+
showAction: '',
|
163
|
+
target: '',
|
164
|
+
checkbox : {disabled:true},
|
165
|
+
idName : 'id'
|
166
|
+
}
|
167
|
+
});
|
168
|
+
})(jQuery);
|