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 @@
1
+ (function(a){a.jgrid= 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:[{oper:'eq', text:"lik"},{oper:'ne', text:"forskjellig fra"},{oper:'lt', text:"mindre enn"},{oper:'le', text:"mindre eller lik"},{oper:'gt', text:"st�rre enn"},{oper:'ge', text:" st�rre eller lik"},{oper:'bw', text:"starter med"},{oper:'ew', text:"slutter med"},{oper:'cn', text:"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:" ",defaultValue: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",parseRe : /[Tt\\\/:_;.,\t\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,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Polish Translation
4
+ * Łukasz Schab lukasz@freetree.pl
5
+ * http://FreeTree.pl
6
+ *
7
+ * Updated names, abbreviations, currency and date/time formats for Polish norms (also corresponding with CLDR v21.0.1 --> http://cldr.unicode.org/index)
8
+ * Tomasz Pęczek tpeczek@gmail.com
9
+ * http://tpeczek.blogspot.com; http://tpeczek.codeplex.com
10
+ *
11
+ * Dual licensed under the MIT and GPL licenses:
12
+ * http://www.opensource.org/licenses/mit-license.php
13
+ * http://www.gnu.org/licenses/gpl.html
14
+ **/
15
+ $.jgrid = $.jgrid || {};
16
+ $.extend($.jgrid,{
17
+ defaults : {
18
+ recordtext: "Pokaż {0} - {1} z {2}",
19
+ emptyrecords: "Brak rekordów do pokazania",
20
+ loadtext: "Ładowanie...",
21
+ pgtext : "Strona {0} z {1}"
22
+ },
23
+ search : {
24
+ caption: "Wyszukiwanie...",
25
+ Find: "Szukaj",
26
+ Reset: "Czyść",
27
+ odata: [{ oper:'eq', text:"dokładnie"},{ oper:'ne', text:"różne od"},{ oper:'lt', text:"mniejsze od"},{ oper:'le', text:"mniejsze lub równe"},{ oper:'gt', text:"większe od"},{ oper:'ge', text:"większe lub równe"},{ oper:'bw', text:"zaczyna się od"},{ oper:'bn', text:"nie zaczyna się od"},{ oper:'in', text:"jest w"},{ oper:'ni', text:"nie jest w"},{ oper:'ew', text:"kończy się na"},{ oper:'en', text:"nie kończy się na"},{ oper:'cn', text:"zawiera"},{ oper:'nc', text:"nie zawiera"}],
28
+ groupOps: [ { op: "AND", text: "oraz" }, { op: "OR", text: "lub" } ]
29
+ },
30
+ edit : {
31
+ addCaption: "Dodaj rekord",
32
+ editCaption: "Edytuj rekord",
33
+ bSubmit: "Zapisz",
34
+ bCancel: "Anuluj",
35
+ bClose: "Zamknij",
36
+ saveData: "Dane zostały zmienione! Zapisać zmiany?",
37
+ bYes: "Tak",
38
+ bNo: "Nie",
39
+ bExit: "Anuluj",
40
+ msg: {
41
+ required: "Pole jest wymagane",
42
+ number: "Proszę wpisać poprawną liczbę",
43
+ minValue: "wartość musi być większa lub równa od",
44
+ maxValue: "wartość musi być mniejsza lub równa od",
45
+ email: "nie jest poprawnym adresem e-mail",
46
+ integer: "Proszę wpisać poprawną liczbę",
47
+ date: "Proszę podaj poprawną datę",
48
+ url: "jest niewłaściwym adresem URL. Pamiętaj o prefiksie ('http://' lub 'https://')",
49
+ nodefined: " niezdefiniowane!",
50
+ novalue: " wymagana jest wartość zwracana!",
51
+ customarray: "Funkcja niestandardowa powinna zwracać tablicę!",
52
+ customfcheck: "Funkcja niestandardowa powinna być obecna w przypadku niestandardowego sprawdzania!"
53
+ }
54
+ },
55
+ view : {
56
+ caption: "Pokaż rekord",
57
+ bClose: "Zamknij"
58
+ },
59
+ del : {
60
+ caption: "Usuń",
61
+ msg: "Czy usunąć wybrany rekord(y)?",
62
+ bSubmit: "Usuń",
63
+ bCancel: "Anuluj"
64
+ },
65
+ nav : {
66
+ edittext: "",
67
+ edittitle: "Edytuj wybrany wiersz",
68
+ addtext: "",
69
+ addtitle: "Dodaj nowy wiersz",
70
+ deltext: "",
71
+ deltitle: "Usuń wybrany wiersz",
72
+ searchtext: "",
73
+ searchtitle: "Wyszukaj rekord",
74
+ refreshtext: "",
75
+ refreshtitle: "Przeładuj",
76
+ alertcap: "Uwaga",
77
+ alerttext: "Proszę wybrać wiersz",
78
+ viewtext: "",
79
+ viewtitle: "Pokaż wybrany wiersz"
80
+ },
81
+ col : {
82
+ caption: "Pokaż/Ukryj kolumny",
83
+ bSubmit: "Zatwierdź",
84
+ bCancel: "Anuluj"
85
+ },
86
+ errors : {
87
+ errcap: "Błąd",
88
+ nourl: "Brak adresu url",
89
+ norecords: "Brak danych",
90
+ model : "Długość colNames <> colModel!"
91
+ },
92
+ formatter : {
93
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
94
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
95
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" zł", defaultValue: '0,00'},
96
+ date : {
97
+ dayNames: [
98
+ "niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob.",
99
+ "niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"
100
+ ],
101
+ monthNames: [
102
+ "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru",
103
+ "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"
104
+ ],
105
+ AmPm : ["","","",""],
106
+ S: function (j) {return '';},
107
+ srcformat: 'Y-m-d',
108
+ newformat: 'd.m.Y',
109
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
110
+ masks : {
111
+ ISO8601Long: "Y-m-d H:i:s",
112
+ ISO8601Short: "Y-m-d",
113
+ ShortDate: "d.m.y",
114
+ LongDate: "l, j F Y",
115
+ FullDateTime: "l, j F Y H:i:s",
116
+ MonthDay: "j F",
117
+ ShortTime: "H:i",
118
+ LongTime: "H:i:s",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ });
132
+ })(jQuery);
@@ -0,0 +1,130 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Brazilian-Portuguese Translation
4
+ * Sergio Righi sergio.righi@gmail.com
5
+ * http://curve.com.br
6
+ *
7
+ * Updated by Jonnas Fonini
8
+ * http://fonini.net
9
+ * Dual licensed under the MIT and GPL licenses:
10
+ * http://www.opensource.org/licenses/mit-license.php
11
+ * http://www.gnu.org/licenses/gpl.html
12
+ **/
13
+ $.jgrid = $.jgrid || {};
14
+ $.extend($.jgrid,{
15
+ defaults : {
16
+ recordtext: "Ver {0} - {1} de {2}",
17
+ emptyrecords: "Nenhum registro para visualizar",
18
+ loadtext: "Carregando...",
19
+ pgtext : "Página {0} de {1}"
20
+ },
21
+ search : {
22
+ caption: "Procurar...",
23
+ Find: "Procurar",
24
+ Reset: "Resetar",
25
+ odata: [{ oper:'eq', text:"igual"},{ oper:'ne', text:"diferente"},{ oper:'lt', text:"menor"},{ oper:'le', text:"menor ou igual"},{ oper:'gt', text:"maior"},{ oper:'ge', text:"maior ou igual"},{ oper:'bw', text:"inicia com"},{ oper:'bn', text:"não inicia com"},{ oper:'in', text:"está em"},{ oper:'ni', text:"não está em"},{ oper:'ew', text:"termina com"},{ oper:'en', text:"não termina com"},{ oper:'cn', text:"contém"},{ oper:'nc', text:"não contém"},{ oper:'nu', text:"nulo"},{ oper:'nn', text:"não nulo"}],
26
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
27
+ },
28
+ edit : {
29
+ addCaption: "Incluir",
30
+ editCaption: "Alterar",
31
+ bSubmit: "Enviar",
32
+ bCancel: "Cancelar",
33
+ bClose: "Fechar",
34
+ saveData: "Os dados foram alterados! Salvar alterações?",
35
+ bYes : "Sim",
36
+ bNo : "Não",
37
+ bExit : "Cancelar",
38
+ msg: {
39
+ required:"Campo obrigatório",
40
+ number:"Por favor, informe um número válido",
41
+ minValue:"valor deve ser igual ou maior que ",
42
+ maxValue:"valor deve ser menor ou igual a",
43
+ email: "este e-mail não é válido",
44
+ integer: "Por favor, informe um valor inteiro",
45
+ date: "Por favor, informe uma data válida",
46
+ url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
47
+ nodefined : " não está definido!",
48
+ novalue : " um valor de retorno é obrigatório!",
49
+ customarray : "Função customizada deve retornar um array!",
50
+ customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
51
+ }
52
+ },
53
+ view : {
54
+ caption: "Ver Registro",
55
+ bClose: "Fechar"
56
+ },
57
+ del : {
58
+ caption: "Apagar",
59
+ msg: "Apagar registro(s) selecionado(s)?",
60
+ bSubmit: "Apagar",
61
+ bCancel: "Cancelar"
62
+ },
63
+ nav : {
64
+ edittext: " ",
65
+ edittitle: "Alterar registro selecionado",
66
+ addtext:" ",
67
+ addtitle: "Incluir novo registro",
68
+ deltext: " ",
69
+ deltitle: "Apagar registro selecionado",
70
+ searchtext: " ",
71
+ searchtitle: "Procurar registros",
72
+ refreshtext: "",
73
+ refreshtitle: "Recarregando tabela",
74
+ alertcap: "Aviso",
75
+ alerttext: "Por favor, selecione um registro",
76
+ viewtext: "",
77
+ viewtitle: "Ver linha selecionada"
78
+ },
79
+ col : {
80
+ caption: "Mostrar/Esconder Colunas",
81
+ bSubmit: "Enviar",
82
+ bCancel: "Cancelar"
83
+ },
84
+ errors : {
85
+ errcap : "Erro",
86
+ nourl : "Nenhuma URL definida",
87
+ norecords: "Sem registros para exibir",
88
+ model : "Comprimento de colNames <> colModel!"
89
+ },
90
+ formatter : {
91
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
92
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
93
+ currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'},
94
+ date : {
95
+ dayNames: [
96
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
97
+ "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
98
+ ],
99
+ monthNames: [
100
+ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
101
+ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
102
+ ],
103
+ AmPm : ["am","pm","AM","PM"],
104
+ S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
105
+ srcformat: 'Y-m-d',
106
+ newformat: 'd/m/Y',
107
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
108
+ masks : {
109
+ ISO8601Long:"Y-m-d H:i:s",
110
+ ISO8601Short:"Y-m-d",
111
+ ShortDate: "n/j/Y",
112
+ LongDate: "l, F d, Y",
113
+ FullDateTime: "l, F d, Y g:i:s A",
114
+ MonthDay: "F d",
115
+ ShortTime: "g:i A",
116
+ LongTime: "g:i:s A",
117
+ SortableDateTime: "Y-m-d\\TH:i:s",
118
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
119
+ YearMonth: "F, Y"
120
+ },
121
+ reformatAfterEdit : false
122
+ },
123
+ baseLinkUrl: '',
124
+ showAction: '',
125
+ target: '',
126
+ checkbox : {disabled:true},
127
+ idName : 'id'
128
+ }
129
+ });
130
+ })(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 = $.jgrid || {};
10
+ $.extend($.jgrid,{
11
+ defaults : {
12
+ recordtext: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "A carregar...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Busca...",
19
+ Find: "Procurar",
20
+ Reset: "Limpar",
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: "Adicionar Registo",
26
+ editCaption: "Modificar Registo",
27
+ bSubmit: "Submeter",
28
+ bCancel: "Cancelar",
29
+ bClose: "Fechar",
30
+ saveData: "Data has been changed! Save changes?",
31
+ bYes : "Yes",
32
+ bNo : "No",
33
+ bExit : "Cancel",
34
+ msg: {
35
+ required:"Campo obrigat�rio",
36
+ number:"Por favor, introduza um numero",
37
+ minValue:"O valor deve ser maior ou igual que",
38
+ maxValue:"O valor deve ser menor ou igual a",
39
+ email: "N�o � um endere�o de email v�lido",
40
+ integer: "Por favor, introduza um numero inteiro",
41
+ url: "is not a valid URL. Prefix required ('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
+ caption: "View Record",
50
+ bClose: "Close"
51
+ },
52
+ del : {
53
+ caption: "Eliminar",
54
+ msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
55
+ bSubmit: "Eliminar",
56
+ bCancel: "Cancelar"
57
+ },
58
+ nav : {
59
+ edittext: " ",
60
+ edittitle: "Modificar registo seleccionado",
61
+ addtext:" ",
62
+ addtitle: "Adicionar novo registo",
63
+ deltext: " ",
64
+ deltitle: "Eliminar registo seleccionado",
65
+ searchtext: " ",
66
+ searchtitle: "Procurar",
67
+ refreshtext: "",
68
+ refreshtitle: "Actualizar",
69
+ alertcap: "Aviso",
70
+ alerttext: "Por favor, seleccione um registo",
71
+ viewtext: "",
72
+ viewtitle: "View selected row"
73
+ },
74
+ col : {
75
+ caption: "Mostrar/Ocultar Colunas",
76
+ bSubmit: "Enviar",
77
+ bCancel: "Cancelar"
78
+ },
79
+ errors : {
80
+ errcap : "Erro",
81
+ nourl : "N�o especificou um url",
82
+ norecords: "N�o existem dados para processar",
83
+ model : "Tamanho do colNames <> colModel!"
84
+ },
85
+ formatter : {
86
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
87
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
88
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
89
+ date : {
90
+ dayNames: [
91
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
92
+ "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
93
+ ],
94
+ monthNames: [
95
+ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
96
+ "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
97
+ ],
98
+ AmPm : ["am","pm","AM","PM"],
99
+ S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
100
+ srcformat: 'Y-m-d',
101
+ newformat: 'd/m/Y',
102
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
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);
@@ -0,0 +1,139 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Romanian Translation
4
+ * Alexandru Emil Lupu contact@alecslupu.ro
5
+ * http://www.alecslupu.ro/
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: "Vizualizare {0} - {1} din {2}",
14
+ emptyrecords: "Nu există înregistrări de vizualizat",
15
+ loadtext: "Încărcare...",
16
+ pgtext : "Pagina {0} din {1}"
17
+ },
18
+ search : {
19
+ caption: "Caută...",
20
+ Find: "Caută",
21
+ Reset: "Resetare",
22
+ odata: [{ oper:'eq', text:"egal"},{ oper:'ne', text:"diferit"},{ oper:'lt', text:"mai mic"},{ oper:'le', text:"mai mic sau egal"},{ oper:'gt', text:"mai mare"},{ oper:'ge', text:"mai mare sau egal"},{ oper:'bw', text:"începe cu"},{ oper:'bn', text:"nu începe cu"},{ oper:'in', text:"se găsește în"},{ oper:'ni', text:"nu se găsește în"},{ oper:'ew', text:"se termină cu"},{ oper:'en', text:"nu se termină cu"},{ oper:'cn', text:"conține"},{ oper:'nc', text:""}],
23
+ groupOps: [ { op: "AND", text: "toate" }, { op: "OR", text: "oricare" } ]
24
+ },
25
+ edit : {
26
+ addCaption: "Adăugare înregistrare",
27
+ editCaption: "Modificare înregistrare",
28
+ bSubmit: "Salvează",
29
+ bCancel: "Anulare",
30
+ bClose: "Închide",
31
+ saveData: "Informațiile au fost modificate! Salvați modificările?",
32
+ bYes : "Da",
33
+ bNo : "Nu",
34
+ bExit : "Anulare",
35
+ msg: {
36
+ required:"Câmpul este obligatoriu",
37
+ number:"Vă rugăm introduceți un număr valid",
38
+ minValue:"valoarea trebuie sa fie mai mare sau egală cu",
39
+ maxValue:"valoarea trebuie sa fie mai mică sau egală cu",
40
+ email: "nu este o adresă de e-mail validă",
41
+ integer: "Vă rugăm introduceți un număr valid",
42
+ date: "Vă rugăm să introduceți o dată validă",
43
+ url: "Nu este un URL valid. Prefixul este necesar('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
+ view : {
51
+ caption: "Vizualizare înregistrare",
52
+ bClose: "Închidere"
53
+ },
54
+ del : {
55
+ caption: "Ștegere",
56
+ msg: "Ștergeți înregistrarea (înregistrările) selectate?",
57
+ bSubmit: "Șterge",
58
+ bCancel: "Anulare"
59
+ },
60
+ nav : {
61
+ edittext: "",
62
+ edittitle: "Modifică rândul selectat",
63
+ addtext:"",
64
+ addtitle: "Adaugă rând nou",
65
+ deltext: "",
66
+ deltitle: "Șterge rândul selectat",
67
+ searchtext: "",
68
+ searchtitle: "Căutare înregistrări",
69
+ refreshtext: "",
70
+ refreshtitle: "Reîncarcare Grid",
71
+ alertcap: "Avertisment",
72
+ alerttext: "Vă rugăm să selectați un rând",
73
+ viewtext: "",
74
+ viewtitle: "Vizualizează rândul selectat"
75
+ },
76
+ col : {
77
+ caption: "Arată/Ascunde coloanele",
78
+ bSubmit: "Salvează",
79
+ bCancel: "Anulare"
80
+ },
81
+ errors : {
82
+ errcap : "Eroare",
83
+ nourl : "Niciun url nu este setat",
84
+ norecords: "Nu sunt înregistrări de procesat",
85
+ model : "Lungimea 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
+ "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
94
+ "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
95
+ ],
96
+ monthNames: [
97
+ "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
98
+ "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
99
+ ],
100
+ AmPm : ["am","pm","AM","PM"],
101
+ /*
102
+ Here is a problem in romanian:
103
+ M / F
104
+ 1st = primul / prima
105
+ 2nd = Al doilea / A doua
106
+ 3rd = Al treilea / A treia
107
+ 4th = Al patrulea/ A patra
108
+ 5th = Al cincilea / A cincea
109
+ 6th = Al șaselea / A șasea
110
+ 7th = Al șaptelea / A șaptea
111
+ ....
112
+ */
113
+ S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
114
+ srcformat: 'Y-m-d',
115
+ newformat: 'd/m/Y',
116
+ parseRe : /[Tt\\\/:_;.,\t\s-]/,
117
+ masks : {
118
+ ISO8601Long:"Y-m-d H:i:s",
119
+ ISO8601Short:"Y-m-d",
120
+ ShortDate: "n/j/Y",
121
+ LongDate: "l, F d, Y",
122
+ FullDateTime: "l, F d, Y g:i:s A",
123
+ MonthDay: "F d",
124
+ ShortTime: "g:i A",
125
+ LongTime: "g:i:s A",
126
+ SortableDateTime: "Y-m-d\\TH:i:s",
127
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
128
+ YearMonth: "F, Y"
129
+ },
130
+ reformatAfterEdit : false
131
+ },
132
+ baseLinkUrl: '',
133
+ showAction: '',
134
+ target: '',
135
+ checkbox : {disabled:true},
136
+ idName : 'id'
137
+ }
138
+ });
139
+ })(jQuery);