jqgrid-jquery-rails 4.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +52 -0
- data/Rakefile +1 -0
- data/jqgrid-jquery-rails.gemspec +27 -0
- data/lib/jqgrid-jquery-rails.rb +2 -0
- data/lib/jqgrid-jquery-rails/engine.rb +6 -0
- data/lib/jqgrid-jquery-rails/version.rb +12 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ar.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-bg1251.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cat.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cn.js +132 -0
- data/vendor/assets/javascripts/i18n/grid.locale-cs.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-da.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-de.js +133 -0
- data/vendor/assets/javascripts/i18n/grid.locale-el.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-en.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-es.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fa.js +145 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fi.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-fr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-gl.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-he.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hr1250.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-hu.js +129 -0
- data/vendor/assets/javascripts/i18n/grid.locale-is.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-it.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ja.js +155 -0
- data/vendor/assets/javascripts/i18n/grid.locale-lt.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-mne.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-nl.js +149 -0
- data/vendor/assets/javascripts/i18n/grid.locale-no.js +1 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pl.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt-br.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-pt.js +125 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ro.js +139 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ru.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sk.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sr.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-sv.js +127 -0
- data/vendor/assets/javascripts/i18n/grid.locale-th.js +128 -0
- data/vendor/assets/javascripts/i18n/grid.locale-tr.js +126 -0
- data/vendor/assets/javascripts/i18n/grid.locale-ua.js +127 -0
- data/vendor/assets/javascripts/jqgrid-jquery-rails.js +5 -0
- data/vendor/assets/javascripts/jquery.jqGrid.min.js +487 -0
- data/vendor/assets/stylesheets/jqgrid-jquery-rails.css +6 -0
- data/vendor/assets/stylesheets/ui.jqgrid.css +136 -0
- metadata +165 -0
@@ -0,0 +1,149 @@
|
|
1
|
+
(function(a) {
|
2
|
+
a.jgrid =
|
3
|
+
{
|
4
|
+
defaults:
|
5
|
+
{
|
6
|
+
recordtext: "regels {0} - {1} van {2}",
|
7
|
+
emptyrecords: "Geen data gevonden.",
|
8
|
+
loadtext: "laden...",
|
9
|
+
pgtext: "pagina {0} van {1}"
|
10
|
+
},
|
11
|
+
search:
|
12
|
+
{
|
13
|
+
caption: "Zoeken...",
|
14
|
+
Find: "Zoek",
|
15
|
+
Reset: "Herstellen",
|
16
|
+
odata: ["gelijk aan", "niet gelijk aan", "kleiner dan", "kleiner dan of gelijk aan", "groter dan", "groter dan of gelijk aan", "begint met", "begint niet met", "is in", "is niet in", "eindigd met", "eindigd niet met", "bevat", "bevat niet"],
|
17
|
+
groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}],
|
18
|
+
matchText: " match",
|
19
|
+
rulesText: " regels"
|
20
|
+
},
|
21
|
+
edit:
|
22
|
+
{
|
23
|
+
addCaption: "Nieuw",
|
24
|
+
editCaption: "Bewerken",
|
25
|
+
bSubmit: "Opslaan",
|
26
|
+
bCancel: "Annuleren",
|
27
|
+
bClose: "Sluiten",
|
28
|
+
saveData: "Er is data aangepast! Wijzigingen opslaan?",
|
29
|
+
bYes: "Ja",
|
30
|
+
bNo: "Nee",
|
31
|
+
bExit: "Sluiten",
|
32
|
+
msg:
|
33
|
+
{
|
34
|
+
required: "Veld is verplicht",
|
35
|
+
number: "Voer a.u.b. geldig nummer in",
|
36
|
+
minValue: "Waarde moet groter of gelijk zijn aan ",
|
37
|
+
maxValue: "Waarde moet kleiner of gelijks zijn aan",
|
38
|
+
email: "is geen geldig e-mailadres",
|
39
|
+
integer: "Voer a.u.b. een geldig getal in",
|
40
|
+
date: "Voer a.u.b. een geldige waarde in",
|
41
|
+
url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')",
|
42
|
+
nodefined : " is not defined!",
|
43
|
+
novalue : " return value is required!",
|
44
|
+
customarray : "Custom function should return array!",
|
45
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
view:
|
49
|
+
{
|
50
|
+
caption: "Tonen",
|
51
|
+
bClose: "Sluiten"
|
52
|
+
},
|
53
|
+
del:
|
54
|
+
{
|
55
|
+
caption: "Verwijderen",
|
56
|
+
msg: "Verwijder geselecteerde regel(s)?",
|
57
|
+
bSubmit: "Verwijderen",
|
58
|
+
bCancel: "Annuleren"
|
59
|
+
},
|
60
|
+
nav:
|
61
|
+
{
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Bewerken",
|
64
|
+
addtext: "",
|
65
|
+
addtitle: "Nieuw",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Verwijderen",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Zoeken",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Vernieuwen",
|
72
|
+
alertcap: "Waarschuwing",
|
73
|
+
alerttext: "Selecteer a.u.b. een regel",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Openen"
|
76
|
+
},
|
77
|
+
col:
|
78
|
+
{
|
79
|
+
caption: "Tonen/verbergen kolommen",
|
80
|
+
bSubmit: "OK",
|
81
|
+
bCancel: "Annuleren"
|
82
|
+
},
|
83
|
+
errors:
|
84
|
+
{
|
85
|
+
errcap: "Fout",
|
86
|
+
nourl: "Er is geen URL gedefinieerd",
|
87
|
+
norecords: "Geen data om te verwerken",
|
88
|
+
model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!"
|
89
|
+
},
|
90
|
+
formatter:
|
91
|
+
{
|
92
|
+
integer:
|
93
|
+
{
|
94
|
+
thousandsSeparator: ".",
|
95
|
+
defaultValue: "0"
|
96
|
+
},
|
97
|
+
number:
|
98
|
+
{
|
99
|
+
decimalSeparator: ",",
|
100
|
+
thousandsSeparator: ".",
|
101
|
+
decimalPlaces: 2,
|
102
|
+
defaultValue: "0.00"
|
103
|
+
},
|
104
|
+
currency:
|
105
|
+
{
|
106
|
+
decimalSeparator: ",",
|
107
|
+
thousandsSeparator: ".",
|
108
|
+
decimalPlaces: 2,
|
109
|
+
prefix: "EUR ",
|
110
|
+
suffix: "",
|
111
|
+
defaultValue: "0.00"
|
112
|
+
},
|
113
|
+
date:
|
114
|
+
{
|
115
|
+
dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
|
116
|
+
monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"],
|
117
|
+
AmPm: ["am", "pm", "AM", "PM"],
|
118
|
+
S: function(b) {
|
119
|
+
return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
|
120
|
+
},
|
121
|
+
srcformat: "Y-m-d",
|
122
|
+
newformat: "d/m/Y",
|
123
|
+
masks:
|
124
|
+
{
|
125
|
+
ISO8601Long: "Y-m-d H:i:s",
|
126
|
+
ISO8601Short: "Y-m-d",
|
127
|
+
ShortDate: "n/j/Y",
|
128
|
+
LongDate: "l, F d, Y",
|
129
|
+
FullDateTime: "l d F Y G:i:s",
|
130
|
+
MonthDay: "d F",
|
131
|
+
ShortTime: "G:i",
|
132
|
+
LongTime: "G:i:s",
|
133
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
134
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
135
|
+
YearMonth: "F, Y"
|
136
|
+
},
|
137
|
+
reformatAfterEdit: false
|
138
|
+
},
|
139
|
+
baseLinkUrl: "",
|
140
|
+
showAction: "",
|
141
|
+
target: "",
|
142
|
+
checkbox:
|
143
|
+
{
|
144
|
+
disabled: true
|
145
|
+
},
|
146
|
+
idName: "id"
|
147
|
+
}
|
148
|
+
}
|
149
|
+
})(jQuery);
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(a){a.jgrid={};a.jgrid.defaults={recordtext:"Rad {0} - {1}, totalt {2}",loadtext:"Laster...",pgtext:"Side {0} av {1}"};a.jgrid.search={caption:"S�k...",Find:"Finn",Reset:"Nullstill",odata:["lik","forskjellig fra","mindre enn","mindre eller lik","st�rre enn"," st�rre eller lik","starter med","slutter med","inneholder"]};a.jgrid.edit={addCaption:"Ny rad",editCaption:"Rediger",bSubmit:"Send",bCancel:"Avbryt",bClose:"Lukk",processData:"Laster...",msg:{required:"Felt er obligatorisk",number:"Legg inn et gyldig tall",minValue:"verdi m� v�re st�rre enn eller lik",maxValue:"verdi m� v�re mindre enn eller lik",email:"er ikke en gyldig e-post adresse",integer:"Legg inn et gyldig heltall",date:"Legg inn en gyldig dato",url:"er ikke en gyldig URL. Prefiks p�krevd ('http://' eller 'https://')",nodefined:" er ikke definert!",novalue:" returverdi er p�krevd!",customarray:"Tilpasset funksjon m� returnere en tabell!",customfcheck:"Tilpasset funksjon m� eksistere!"}};a.jgrid.view={caption:"�pne post",bClose:"Lukk"};a.jgrid.del={caption:"Slett",msg:"Slett valgte rad(er)?",bSubmit:"Slett",bCancel:"Avbryt",processData:"Behandler..."};a.jgrid.nav={edittext:" ",edittitle:"Rediger valgte rad(er)",addtext:" ",addtitle:"Legg til ny rad",deltext:" ",deltitle:"Slett valgte rad(er)",searchtext:" ",searchtitle:"S�k",refreshtext:"",refreshtitle:"Oppdater tabell",alertcap:"Advarsel",alerttext:"Velg rad",viewtext:" ",viewtitle:"�pne valgt rad"};a.jgrid.col={caption:"Vis/skjul kolonner",bSubmit:"Utf�r",bCancel:"Avbryt"};a.jgrid.errors={errcap:"Feil",nourl:"Ingen url er satt",norecords:"Ingen poster � behandle",model:"colNames og colModel har forskjellig lengde!"};a.jgrid.formatter={integer:{thousandsSeparator:" ",defaulValue:0},number:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,defaulValue:0},currency:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaulValue:0},date:{dayNames:["s�.","ma.","ti.","on.","to.","fr.","l�.","S�ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L�rdag"],monthNames:["jan.","feb.","mars","april","mai","juni","juli","aug.","sep.","okt.","nov.","des.","januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],AmPm:["","","",""],S:function(b){return"."},srcformat:"Y-m-d H:i:s",newformat:"Y-m-d H:i:s",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"j.n.Y",LongDate:"l j. F Y",FullDateTime:"l j. F Y kl. G.i.s",MonthDay:"j. F",ShortTime:"H:i",LongTime:"H:i:s",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"show",addParam:"",checkbox:{disabled:true}}})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Polish Translation
|
4
|
+
* Łukasz Schab
|
5
|
+
* http://FreeTree.pl
|
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: "Pokaż {0} - {1} z {2}",
|
13
|
+
emptyrecords: "Brak rekordów do pokazania",
|
14
|
+
loadtext: "\u0142adowanie...",
|
15
|
+
pgtext : "Strona {0} z {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Wyszukiwanie...",
|
19
|
+
Find: "Szukaj",
|
20
|
+
Reset: "Czyść",
|
21
|
+
odata : ['dok\u0142adnie', 'różne od', 'mniejsze od', 'mniejsze lub równe','większe od','większe lub równe', 'zaczyna się od','nie zaczyna się od','zawiera','nie zawiera','kończy się na','nie kończy się na','zawiera','nie zawiera'],
|
22
|
+
groupOps: [ { op: "ORAZ", text: "wszystkie" }, { op: "LUB", text: "każdy" } ],
|
23
|
+
matchText: " pasuje",
|
24
|
+
rulesText: " regu\u0142y"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Dodaj rekord",
|
28
|
+
editCaption: "Edytuj rekord",
|
29
|
+
bSubmit: "Zapisz",
|
30
|
+
bCancel: "Anuluj",
|
31
|
+
bClose: "Zamknij",
|
32
|
+
saveData: "Dane zosta\u0142y zmienione! Zapisać zmiany?",
|
33
|
+
bYes : "Tak",
|
34
|
+
bNo : "Nie",
|
35
|
+
bExit : "Anuluj",
|
36
|
+
msg: {
|
37
|
+
required:"Pole jest wymagane",
|
38
|
+
number:"Proszę wpisać poprawną liczbę",
|
39
|
+
minValue:"wartość musi być większa lub równa",
|
40
|
+
maxValue:"wartość musi być mniejsza od",
|
41
|
+
email: "nie jest adresem e-mail",
|
42
|
+
integer: "Proszę wpisać poprawną liczbę",
|
43
|
+
date: "Proszę podaj poprawną datę",
|
44
|
+
url: "jest niew\u0142aściwym adresem URL. Pamiętaj o prefiksie ('http://' lub 'https://')",
|
45
|
+
nodefined : " is not defined!",
|
46
|
+
novalue : " return value is required!",
|
47
|
+
customarray : "Custom function should return array!",
|
48
|
+
customfcheck : "Custom function should be present in case of custom checking!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Pokaż rekord",
|
53
|
+
bClose: "Zamknij"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Usuwanie",
|
57
|
+
msg: "Czy usunąć wybrany rekord(y)?",
|
58
|
+
bSubmit: "Usuń",
|
59
|
+
bCancel: "Anuluj"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Edytuj wybrany wiersz",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Dodaj nowy wiersz",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Usuń wybrany wiersz",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Wyszukaj rekord",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Prze\u0142aduj",
|
72
|
+
alertcap: "Uwaga",
|
73
|
+
alerttext: "Proszę wybrać wiersz",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "View selected row"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Pokaż/Ukryj kolumny",
|
79
|
+
bSubmit: "Zatwierdź",
|
80
|
+
bCancel: "Anuluj"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "B\u0142ąd",
|
84
|
+
nourl : "Brak adresu url",
|
85
|
+
norecords: "Brak danych",
|
86
|
+
model : "D\u0142ugość 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
|
+
"Nie", "Pon", "Wt", "Śr", "Cz", "Pi", "So",
|
95
|
+
"Niedziela", "Poniedzia\u0142ek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Sty", "Lu", "Mar", "Kwie", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru",
|
99
|
+
"Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd/m/Y',
|
105
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "n/j/Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "g:i A",
|
113
|
+
LongTime: "g:i:s A",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
})(jQuery);
|
@@ -0,0 +1,127 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Brazilian-Portuguese Translation
|
4
|
+
* Sergio Righi sergio.righi@gmail.com
|
5
|
+
* http://curve.com.br
|
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: "Ver {0} - {1} of {2}",
|
13
|
+
emptyrecords: "Nenhum registro para visualizar",
|
14
|
+
loadtext: "Carregando...",
|
15
|
+
pgtext : "Página {0} de {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Procurar...",
|
19
|
+
Find: "Procurar",
|
20
|
+
Reset: "Resetar",
|
21
|
+
odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
|
22
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
23
|
+
matchText: " iguala",
|
24
|
+
rulesText: " regras"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Incluir",
|
28
|
+
editCaption: "Alterar",
|
29
|
+
bSubmit: "Enviar",
|
30
|
+
bCancel: "Cancelar",
|
31
|
+
bClose: "Fechar",
|
32
|
+
saveData: "Os dados foram alterados! Salvar alterações?",
|
33
|
+
bYes : "Sim",
|
34
|
+
bNo : "Não",
|
35
|
+
bExit : "Cancelar",
|
36
|
+
msg: {
|
37
|
+
required:"Campo obrigatório",
|
38
|
+
number:"Por favor, informe um número válido",
|
39
|
+
minValue:"valor deve ser igual ou maior que ",
|
40
|
+
maxValue:"valor deve ser menor ou igual a",
|
41
|
+
email: "este e-mail não é válido",
|
42
|
+
integer: "Por favor, informe um valor inteiro",
|
43
|
+
date: "Por favor, informe uma data válida",
|
44
|
+
url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
|
45
|
+
nodefined : " não está definido!",
|
46
|
+
novalue : " um valor de retorno é obrigatório!",
|
47
|
+
customarray : "Função customizada deve retornar um array!",
|
48
|
+
customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
view : {
|
52
|
+
caption: "Ver Registro",
|
53
|
+
bClose: "Fechar"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Apagar",
|
57
|
+
msg: "Apagar registros selecionado(s)?",
|
58
|
+
bSubmit: "Apagar",
|
59
|
+
bCancel: "Cancelar"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Alterar registro selecionado",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Incluir novo registro",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Apagar registro selecionado",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Procurar registros",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Recarrgando Tabela",
|
72
|
+
alertcap: "Aviso",
|
73
|
+
alerttext: "Por favor, selecione um registro",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Ver linha selecionada"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Mostrar/Esconder Colunas",
|
79
|
+
bSubmit: "Enviar",
|
80
|
+
bCancel: "Cancelar"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Erro",
|
84
|
+
nourl : "Nenhuma URL defenida",
|
85
|
+
norecords: "Sem registros para exibir",
|
86
|
+
model : "Comprimento de 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: "R$ ", suffix:"", defaultValue: '0,00'},
|
92
|
+
date : {
|
93
|
+
dayNames: [
|
94
|
+
"Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
|
95
|
+
"Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
|
99
|
+
"Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
|
103
|
+
srcformat: 'Y-m-d',
|
104
|
+
newformat: 'd/m/Y',
|
105
|
+
masks : {
|
106
|
+
ISO8601Long:"Y-m-d H:i:s",
|
107
|
+
ISO8601Short:"Y-m-d",
|
108
|
+
ShortDate: "n/j/Y",
|
109
|
+
LongDate: "l, F d, Y",
|
110
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "g:i A",
|
113
|
+
LongTime: "g:i:s A",
|
114
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
115
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
116
|
+
YearMonth: "F, Y"
|
117
|
+
},
|
118
|
+
reformatAfterEdit : false
|
119
|
+
},
|
120
|
+
baseLinkUrl: '',
|
121
|
+
showAction: '',
|
122
|
+
target: '',
|
123
|
+
checkbox : {disabled:true},
|
124
|
+
idName : 'id'
|
125
|
+
}
|
126
|
+
};
|
127
|
+
})(jQuery);
|
@@ -0,0 +1,125 @@
|
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Portuguese Translation
|
4
|
+
* Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
|
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 = {
|
10
|
+
defaults : {
|
11
|
+
recordtext: "View {0} - {1} of {2}",
|
12
|
+
emptyrecords: "No records to view",
|
13
|
+
loadtext: "A carregar...",
|
14
|
+
pgtext : "Page {0} of {1}"
|
15
|
+
},
|
16
|
+
search : {
|
17
|
+
caption: "Busca...",
|
18
|
+
Find: "Procurar",
|
19
|
+
Reset: "Limpar",
|
20
|
+
odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
|
21
|
+
groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
|
22
|
+
matchText: " match",
|
23
|
+
rulesText: " rules"
|
24
|
+
},
|
25
|
+
edit : {
|
26
|
+
addCaption: "Adicionar Registo",
|
27
|
+
editCaption: "Modificar Registo",
|
28
|
+
bSubmit: "Submeter",
|
29
|
+
bCancel: "Cancelar",
|
30
|
+
bClose: "Fechar",
|
31
|
+
saveData: "Data has been changed! Save changes?",
|
32
|
+
bYes : "Yes",
|
33
|
+
bNo : "No",
|
34
|
+
bExit : "Cancel",
|
35
|
+
msg: {
|
36
|
+
required:"Campo obrigat�rio",
|
37
|
+
number:"Por favor, introduza um numero",
|
38
|
+
minValue:"O valor deve ser maior ou igual que",
|
39
|
+
maxValue:"O valor deve ser menor ou igual a",
|
40
|
+
email: "N�o � um endere�o de email v�lido",
|
41
|
+
integer: "Por favor, introduza um numero inteiro",
|
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: "Eliminar",
|
55
|
+
msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
|
56
|
+
bSubmit: "Eliminar",
|
57
|
+
bCancel: "Cancelar"
|
58
|
+
},
|
59
|
+
nav : {
|
60
|
+
edittext: " ",
|
61
|
+
edittitle: "Modificar registo seleccionado",
|
62
|
+
addtext:" ",
|
63
|
+
addtitle: "Adicionar novo registo",
|
64
|
+
deltext: " ",
|
65
|
+
deltitle: "Eliminar registo seleccionado",
|
66
|
+
searchtext: " ",
|
67
|
+
searchtitle: "Procurar",
|
68
|
+
refreshtext: "",
|
69
|
+
refreshtitle: "Actualizar",
|
70
|
+
alertcap: "Aviso",
|
71
|
+
alerttext: "Por favor, seleccione um registo",
|
72
|
+
viewtext: "",
|
73
|
+
viewtitle: "View selected row"
|
74
|
+
},
|
75
|
+
col : {
|
76
|
+
caption: "Mostrar/Ocultar Colunas",
|
77
|
+
bSubmit: "Enviar",
|
78
|
+
bCancel: "Cancelar"
|
79
|
+
},
|
80
|
+
errors : {
|
81
|
+
errcap : "Erro",
|
82
|
+
nourl : "N�o especificou um url",
|
83
|
+
norecords: "N�o existem dados para processar",
|
84
|
+
model : "Tamanho do 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
|
+
"Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
|
93
|
+
"Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
|
94
|
+
],
|
95
|
+
monthNames: [
|
96
|
+
"Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
|
97
|
+
"Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
|
98
|
+
],
|
99
|
+
AmPm : ["am","pm","AM","PM"],
|
100
|
+
S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
|
101
|
+
srcformat: 'Y-m-d',
|
102
|
+
newformat: 'd/m/Y',
|
103
|
+
masks : {
|
104
|
+
ISO8601Long:"Y-m-d H:i:s",
|
105
|
+
ISO8601Short:"Y-m-d",
|
106
|
+
ShortDate: "n/j/Y",
|
107
|
+
LongDate: "l, F d, Y",
|
108
|
+
FullDateTime: "l, F d, Y g:i:s A",
|
109
|
+
MonthDay: "F d",
|
110
|
+
ShortTime: "g:i A",
|
111
|
+
LongTime: "g:i:s A",
|
112
|
+
SortableDateTime: "Y-m-d\\TH:i:s",
|
113
|
+
UniversalSortableDateTime: "Y-m-d H:i:sO",
|
114
|
+
YearMonth: "F, Y"
|
115
|
+
},
|
116
|
+
reformatAfterEdit : false
|
117
|
+
},
|
118
|
+
baseLinkUrl: '',
|
119
|
+
showAction: '',
|
120
|
+
target: '',
|
121
|
+
checkbox : {disabled:true},
|
122
|
+
idName : 'id'
|
123
|
+
}
|
124
|
+
};
|
125
|
+
})(jQuery);
|