rails_jq_grid 0.0.3.pre2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/public/javascripts/rails-jqgrid/Changes.txt +0 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg.js +132 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-bg1251.js +132 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cat.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cn.js +132 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-cs.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-da.js +128 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-de.js +133 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-el.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-en.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-es.js +128 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fa.js +145 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fi.js +130 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-fr.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-gl.js +126 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-he.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-hu.js +129 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-is.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-it.js +1 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ja.js +155 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-nl.js +149 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-no.js +1 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pl.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt-br.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-pt.js +125 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ro.js +139 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ru.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sk.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sr.js +128 -0
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-sv.js +127 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-tr.js +126 -1
- data/public/javascripts/rails-jqgrid/i18n/grid.locale-ua.js +127 -1
- data/public/javascripts/rails-jqgrid/install.txt +0 -0
- data/public/javascripts/rails-jqgrid/jquery.jqGrid.min.js +445 -432
- data/public/javascripts/rails-jqgrid/src/JsonXml.js +329 -329
- data/public/javascripts/rails-jqgrid/src/css/ellipsis-xbl.xml +0 -0
- data/public/javascripts/rails-jqgrid/src/css/ui.jqgrid.css +139 -129
- data/public/javascripts/rails-jqgrid/src/css/ui.multiselect.css +0 -0
- data/public/javascripts/rails-jqgrid/src/grid.base.js +3078 -3003
- data/public/javascripts/rails-jqgrid/src/grid.celledit.js +486 -486
- data/public/javascripts/rails-jqgrid/src/grid.common.js +646 -636
- data/public/javascripts/rails-jqgrid/src/grid.custom.js +820 -817
- data/public/javascripts/rails-jqgrid/src/grid.formedit.js +1954 -1872
- data/public/javascripts/rails-jqgrid/src/grid.grouping.js +250 -0
- data/public/javascripts/rails-jqgrid/src/grid.import.js +200 -200
- data/public/javascripts/rails-jqgrid/src/grid.inlinedit.js +255 -250
- data/public/javascripts/rails-jqgrid/src/grid.jqueryui.js +504 -503
- data/public/javascripts/rails-jqgrid/src/grid.loader.js +1 -0
- data/public/javascripts/rails-jqgrid/src/grid.postext.js +63 -63
- data/public/javascripts/rails-jqgrid/src/grid.setcolumns.js +125 -125
- data/public/javascripts/rails-jqgrid/src/grid.subgrid.js +260 -260
- data/public/javascripts/rails-jqgrid/src/grid.tbltogrid.js +106 -106
- data/public/javascripts/rails-jqgrid/src/grid.treegrid.js +489 -482
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg.js +132 -132
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-bg1251.js +132 -132
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cat.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cn.js +132 -132
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-cs.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-da.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-de.js +132 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-dk.js +0 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-el.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-en.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-es.js +128 -128
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fa.js +145 -125
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fi.js +130 -130
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-fr.js +2 -2
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-gl.js +126 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-he.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-hu.js +129 -129
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-is.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-it.js +0 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ja.js +155 -155
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-nl.js +148 -148
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-no.js +0 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pl.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt-br.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-pt.js +125 -125
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ro.js +139 -139
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ru.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sk.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sr.js +128 -0
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-sv.js +127 -127
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-tr.js +126 -126
- data/public/javascripts/rails-jqgrid/src/i18n/grid.locale-ua.js +127 -127
- data/public/javascripts/rails-jqgrid/src/jqDnR.js +68 -67
- data/public/javascripts/rails-jqgrid/src/jqModal.js +68 -68
- data/public/javascripts/rails-jqgrid/src/jquery.fmatter.js +563 -541
- data/public/javascripts/rails-jqgrid/src/jquery.searchFilter.js +1 -1
- data/public/javascripts/rails-jqgrid/src/ui.multiselect.js +0 -0
- data/public/stylesheets/rails-jqgrid/ellipsis-xbl.xml +0 -0
- data/public/stylesheets/rails-jqgrid/ui.jqgrid.css +139 -2
- data/rails_jq_grid.gemspec +10 -3
- metadata +15 -11
@@ -1 +1,127 @@
|
|
1
|
-
(function(
|
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);
|
@@ -1 +1,125 @@
|
|
1
|
-
(function(
|
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);
|
@@ -1 +1,139 @@
|
|
1
|
-
(function(
|
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 = {
|
11
|
+
defaults : {
|
12
|
+
recordtext: "Vizualizare {0} - {1} din {2}",
|
13
|
+
emptyrecords: "Nu există înregistrări de vizualizat",
|
14
|
+
loadtext: "Încărcare...",
|
15
|
+
pgtext : "Pagina {0} din {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Caută...",
|
19
|
+
Find: "Caută",
|
20
|
+
Reset: "Resetare",
|
21
|
+
odata : ['egal', 'diferit', 'mai mic', 'mai mic sau egal','mai mare','mai mare sau egal', 'începe cu','nu începe cu','se găsește în','nu se găsește în','se termină cu','nu se termină cu','conține',''],
|
22
|
+
groupOps: [ { op: "AND", text: "toate" }, { op: "OR", text: "oricare" } ],
|
23
|
+
matchText: " găsite",
|
24
|
+
rulesText: " reguli"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Adăugare înregistrare",
|
28
|
+
editCaption: "Modificare înregistrare",
|
29
|
+
bSubmit: "Salvează",
|
30
|
+
bCancel: "Anulare",
|
31
|
+
bClose: "Închide",
|
32
|
+
saveData: "Informațiile au fost modificate! Salvați modificările?",
|
33
|
+
bYes : "Da",
|
34
|
+
bNo : "Nu",
|
35
|
+
bExit : "Anulare",
|
36
|
+
msg: {
|
37
|
+
required:"Câmpul este obligatoriu",
|
38
|
+
number:"Vă rugăm introduceți un număr valid",
|
39
|
+
minValue:"valoarea trebuie sa fie mai mare sau egală cu",
|
40
|
+
maxValue:"valoarea trebuie sa fie mai mică sau egală cu",
|
41
|
+
email: "nu este o adresă de e-mail validă",
|
42
|
+
integer: "Vă rugăm introduceți un număr valid",
|
43
|
+
date: "Vă rugăm să introduceți o dată validă",
|
44
|
+
url: "Nu este un URL valid. Prefixul este necesar('http://' or '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: "Vizualizare înregistrare",
|
53
|
+
bClose: "Închidere"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Ștegere",
|
57
|
+
msg: "Ștergeți înregistrarea (înregistrările) selectate?",
|
58
|
+
bSubmit: "Șterge",
|
59
|
+
bCancel: "Anulare"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: "",
|
63
|
+
edittitle: "Modifică rândul selectat",
|
64
|
+
addtext:"",
|
65
|
+
addtitle: "Adaugă rând nou",
|
66
|
+
deltext: "",
|
67
|
+
deltitle: "Șterge rândul selectat",
|
68
|
+
searchtext: "",
|
69
|
+
searchtitle: "Căutare înregistrări",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Reîncarcare Grid",
|
72
|
+
alertcap: "Avertisment",
|
73
|
+
alerttext: "Vă rugăm să selectați un rând",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Vizualizează rândul selectat"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Arată/Ascunde coloanele",
|
79
|
+
bSubmit: "Salvează",
|
80
|
+
bCancel: "Anulare"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Eroare",
|
84
|
+
nourl : "Niciun url nu este setat",
|
85
|
+
norecords: "Nu sunt înregistrări de procesat",
|
86
|
+
model : "Lungimea 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
|
+
"Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
|
95
|
+
"Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
|
99
|
+
"Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
|
100
|
+
],
|
101
|
+
AmPm : ["am","pm","AM","PM"],
|
102
|
+
/*
|
103
|
+
Here is a problem in romanian:
|
104
|
+
M / F
|
105
|
+
1st = primul / prima
|
106
|
+
2nd = Al doilea / A doua
|
107
|
+
3rd = Al treilea / A treia
|
108
|
+
4th = Al patrulea/ A patra
|
109
|
+
5th = Al cincilea / A cincea
|
110
|
+
6th = Al șaselea / A șasea
|
111
|
+
7th = Al șaptelea / A șaptea
|
112
|
+
....
|
113
|
+
*/
|
114
|
+
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
115
|
+
srcformat: 'Y-m-d',
|
116
|
+
newformat: 'd/m/Y',
|
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);
|
@@ -1 +1,127 @@
|
|
1
|
-
(function(
|
1
|
+
;(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru)
|
4
|
+
* Sergey Dyagovchenko
|
5
|
+
* http://d.sumy.ua
|
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: "Просмотр {0} - {1} из {2}",
|
13
|
+
emptyrecords: "Нет записей для просмотра",
|
14
|
+
loadtext: "Загрузка...",
|
15
|
+
pgtext : "Стр. {0} из {1}"
|
16
|
+
},
|
17
|
+
search : {
|
18
|
+
caption: "Поиск...",
|
19
|
+
Find: "Найти",
|
20
|
+
Reset: "Сброс",
|
21
|
+
odata : ['равно', 'не равно', 'меньше', 'меньше или равно','больше','больше или равно', 'начинается с','не начинается с','находится в','не находится в','заканчивается на','не заканчивается на','содержит','не содержит'],
|
22
|
+
groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "любой" } ],
|
23
|
+
matchText: " совпадает",
|
24
|
+
rulesText: " правила"
|
25
|
+
},
|
26
|
+
edit : {
|
27
|
+
addCaption: "Добавить запись",
|
28
|
+
editCaption: "Редактировать запись",
|
29
|
+
bSubmit: "Сохранить",
|
30
|
+
bCancel: "Отмена",
|
31
|
+
bClose: "Закрыть",
|
32
|
+
saveData: "Данные были измененны! Сохранить изменения?",
|
33
|
+
bYes : "Да",
|
34
|
+
bNo : "Нет",
|
35
|
+
bExit : "Отмена",
|
36
|
+
msg: {
|
37
|
+
required:"Поле является обязательным",
|
38
|
+
number:"Пожалуйста, введите правильное число",
|
39
|
+
minValue:"значение должно быть больше либо равно",
|
40
|
+
maxValue:"значение должно быть меньше либо равно",
|
41
|
+
email: "некорректное значение e-mail",
|
42
|
+
integer: "Пожалуйста, введите целое число",
|
43
|
+
date: "Пожалуйста, введите правильную дату",
|
44
|
+
url: "неверная ссылка. Необходимо ввести префикс ('http://' or '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: "Просмотр записи",
|
53
|
+
bClose: "Закрыть"
|
54
|
+
},
|
55
|
+
del : {
|
56
|
+
caption: "Удалить",
|
57
|
+
msg: "Удалить выбранную запись(и)?",
|
58
|
+
bSubmit: "Удалить",
|
59
|
+
bCancel: "Отмена"
|
60
|
+
},
|
61
|
+
nav : {
|
62
|
+
edittext: " ",
|
63
|
+
edittitle: "Редактировать выбранную запись",
|
64
|
+
addtext:" ",
|
65
|
+
addtitle: "Добавить новую запись",
|
66
|
+
deltext: " ",
|
67
|
+
deltitle: "Удалить выбранную запись",
|
68
|
+
searchtext: " ",
|
69
|
+
searchtitle: "Найти записи",
|
70
|
+
refreshtext: "",
|
71
|
+
refreshtitle: "Обновить таблицу",
|
72
|
+
alertcap: "Внимание",
|
73
|
+
alerttext: "Пожалуйста, выберите запись",
|
74
|
+
viewtext: "",
|
75
|
+
viewtitle: "Просмотреть выбранную запись"
|
76
|
+
},
|
77
|
+
col : {
|
78
|
+
caption: "Показать/скрыть столбцы",
|
79
|
+
bSubmit: "Сохранить",
|
80
|
+
bCancel: "Отмена"
|
81
|
+
},
|
82
|
+
errors : {
|
83
|
+
errcap : "Ошибка",
|
84
|
+
nourl : "URL не установлен",
|
85
|
+
norecords: "Нет записей для обработки",
|
86
|
+
model : "Число полей не соответствует числу столбцов таблицы!"
|
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
|
+
"Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
|
95
|
+
"Воскресение", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"
|
96
|
+
],
|
97
|
+
monthNames: [
|
98
|
+
"Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек",
|
99
|
+
"Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"
|
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: '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",
|
111
|
+
MonthDay: "F d",
|
112
|
+
ShortTime: "G:i",
|
113
|
+
LongTime: "G:i:s",
|
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);
|