|
1
|
|
|
/** |
|
2
|
|
|
* jqGrid Spanish Translation |
|
3
|
|
|
* Traduccion jqGrid en Español por Yamil Bracho |
|
4
|
|
|
* Traduccion corregida y ampliada por Faserline, S.L. |
|
5
|
|
|
* http://www.faserline.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
|
|
|
/*global jQuery, define */ |
|
11
|
|
|
(function( factory ) { |
|
12
|
|
|
"use strict"; |
|
13
|
|
|
if ( typeof define === "function" && define.amd ) { |
|
14
|
|
|
// AMD. Register as an anonymous module. |
|
15
|
|
|
define([ |
|
16
|
|
|
"jquery", |
|
17
|
|
|
"../grid.base" |
|
18
|
|
|
], factory ); |
|
19
|
|
|
} else { |
|
20
|
|
|
// Browser globals |
|
21
|
|
|
factory( jQuery ); |
|
22
|
|
|
} |
|
23
|
|
|
}(function( $ ) { |
|
24
|
|
|
|
|
25
|
|
|
$.jgrid = $.jgrid || {}; |
|
26
|
|
|
if(!$.jgrid.hasOwnProperty("regional")) { |
|
27
|
|
|
$.jgrid.regional = []; |
|
28
|
|
|
} |
|
29
|
|
|
$.jgrid.regional["es"] = { |
|
30
|
|
|
defaults : { |
|
31
|
|
|
recordtext: "Mostrando {0} - {1} de {2}", |
|
32
|
|
|
emptyrecords: "Sin registros que mostrar", |
|
33
|
|
|
loadtext: "Cargando...", |
|
34
|
|
|
savetext: "Saving...", |
|
35
|
|
|
pgtext : "Página {0} de {1}", |
|
36
|
|
|
pgfirst : "First Page", |
|
37
|
|
|
pglast : "Last Page", |
|
38
|
|
|
pgnext : "Next Page", |
|
39
|
|
|
pgprev : "Previous Page", |
|
40
|
|
|
pgrecs : "Records per Page", |
|
41
|
|
|
showhide: "Toggle Expand Collapse Grid", |
|
42
|
|
|
// mobile |
|
43
|
|
|
pagerCaption : "Grid::Page Settings", |
|
44
|
|
|
pageText : "Page:", |
|
45
|
|
|
recordPage : "Records per Page", |
|
46
|
|
|
nomorerecs : "No more records...", |
|
47
|
|
|
scrollPullup: "Pull up to load more...", |
|
48
|
|
|
scrollPulldown : "Pull down to refresh...", |
|
49
|
|
|
scrollRefresh : "Release to refresh..." |
|
50
|
|
|
}, |
|
51
|
|
|
search : { |
|
52
|
|
|
caption: "Búsqueda...", |
|
53
|
|
|
Find: "Buscar", |
|
54
|
|
|
Reset: "Limpiar", |
|
55
|
|
|
odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"no igual a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor o igual que"},{ oper:'gt', text:"mayor que"},{ oper:'ge', text:"mayor o igual a"},{ oper:'bw', text:"empiece por"},{ oper:'bn', text:"no empiece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"no está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"no termina por"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"no contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], |
|
56
|
|
|
groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ], |
|
57
|
|
|
operandTitle : "Click to select search operation.", |
|
58
|
|
|
resetTitle : "Reset Search Value" |
|
59
|
|
|
}, |
|
60
|
|
|
edit : { |
|
61
|
|
|
addCaption: "Agregar registro", |
|
62
|
|
|
editCaption: "Modificar registro", |
|
63
|
|
|
bSubmit: "Guardar", |
|
64
|
|
|
bCancel: "Cancelar", |
|
65
|
|
|
bClose: "Cerrar", |
|
66
|
|
|
saveData: "Se han modificado los datos, ¿guardar cambios?", |
|
67
|
|
|
bYes : "Si", |
|
68
|
|
|
bNo : "No", |
|
69
|
|
|
bExit : "Cancelar", |
|
70
|
|
|
msg: { |
|
71
|
|
|
required:"Campo obligatorio", |
|
72
|
|
|
number:"Introduzca un número", |
|
73
|
|
|
minValue:"El valor debe ser mayor o igual a ", |
|
74
|
|
|
maxValue:"El valor debe ser menor o igual a ", |
|
75
|
|
|
email: "no es una dirección de correo válida", |
|
76
|
|
|
integer: "Introduzca un valor entero", |
|
77
|
|
|
date: "Introduza una fecha correcta ", |
|
78
|
|
|
url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')", |
|
79
|
|
|
nodefined : " no está definido.", |
|
80
|
|
|
novalue : " valor de retorno es requerido.", |
|
81
|
|
|
customarray : "La función personalizada debe devolver un array.", |
|
82
|
|
|
customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada." |
|
83
|
|
|
} |
|
84
|
|
|
}, |
|
85
|
|
|
view : { |
|
86
|
|
|
caption: "Consultar registro", |
|
87
|
|
|
bClose: "Cerrar" |
|
88
|
|
|
}, |
|
89
|
|
|
del : { |
|
90
|
|
|
caption: "Eliminar", |
|
91
|
|
|
msg: "¿Desea eliminar los registros seleccionados?", |
|
92
|
|
|
bSubmit: "Eliminar", |
|
93
|
|
|
bCancel: "Cancelar" |
|
94
|
|
|
}, |
|
95
|
|
|
nav : { |
|
96
|
|
|
edittext: " ", |
|
97
|
|
|
edittitle: "Modificar fila seleccionada", |
|
98
|
|
|
addtext:" ", |
|
99
|
|
|
addtitle: "Agregar nueva fila", |
|
100
|
|
|
deltext: " ", |
|
101
|
|
|
deltitle: "Eliminar fila seleccionada", |
|
102
|
|
|
searchtext: " ", |
|
103
|
|
|
searchtitle: "Buscar información", |
|
104
|
|
|
refreshtext: "", |
|
105
|
|
|
refreshtitle: "Recargar datos", |
|
106
|
|
|
alertcap: "Aviso", |
|
107
|
|
|
alerttext: "Seleccione una fila", |
|
108
|
|
|
viewtext: "", |
|
109
|
|
|
viewtitle: "Ver fila seleccionada", |
|
110
|
|
|
savetext: "", |
|
111
|
|
|
savetitle: "Save row", |
|
112
|
|
|
canceltext: "", |
|
113
|
|
|
canceltitle : "Cancel row editing", |
|
114
|
|
|
selectcaption : "Actions..." |
|
115
|
|
|
}, |
|
116
|
|
|
col : { |
|
117
|
|
|
caption: "Mostrar/ocultar columnas", |
|
118
|
|
|
bSubmit: "Enviar", |
|
119
|
|
|
bCancel: "Cancelar" |
|
120
|
|
|
}, |
|
121
|
|
|
errors : { |
|
122
|
|
|
errcap : "Error", |
|
123
|
|
|
nourl : "No se ha especificado una URL", |
|
124
|
|
|
norecords: "No hay datos para procesar", |
|
125
|
|
|
model : "Las columnas de nombres son diferentes de las columnas de modelo" |
|
126
|
|
|
}, |
|
127
|
|
|
formatter : { |
|
128
|
|
|
integer : {thousandsSeparator: ".", defaultValue: '0'}, |
|
129
|
|
|
number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, |
|
130
|
|
|
currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, |
|
131
|
|
|
date : { |
|
132
|
|
|
dayNames: [ |
|
133
|
|
|
"Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", |
|
134
|
|
|
"Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado" |
|
135
|
|
|
], |
|
136
|
|
|
monthNames: [ |
|
137
|
|
|
"Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic", |
|
138
|
|
|
"Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre" |
|
139
|
|
|
], |
|
140
|
|
|
AmPm : ["am","pm","AM","PM"], |
|
141
|
|
|
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, |
|
142
|
|
|
srcformat: 'Y-m-d', |
|
143
|
|
|
newformat: 'd-m-Y', |
|
144
|
|
|
parseRe : /[#%\\\/:_;.,\t\s-]/, |
|
145
|
|
|
masks : { |
|
146
|
|
|
ISO8601Long:"Y-m-d H:i:s", |
|
147
|
|
|
ISO8601Short:"Y-m-d", |
|
148
|
|
|
ShortDate: "n/j/Y", |
|
149
|
|
|
LongDate: "l, F d, Y", |
|
150
|
|
|
FullDateTime: "l, F d, Y g:i:s A", |
|
151
|
|
|
MonthDay: "F d", |
|
152
|
|
|
ShortTime: "g:i A", |
|
153
|
|
|
LongTime: "g:i:s A", |
|
154
|
|
|
SortableDateTime: "Y-m-d\\TH:i:s", |
|
155
|
|
|
UniversalSortableDateTime: "Y-m-d H:i:sO", |
|
156
|
|
|
YearMonth: "F, Y" |
|
157
|
|
|
}, |
|
158
|
|
|
reformatAfterEdit : false, |
|
159
|
|
|
userLocalTime : false |
|
160
|
|
|
}, |
|
161
|
|
|
baseLinkUrl: '', |
|
162
|
|
|
showAction: '', |
|
163
|
|
|
target: '', |
|
164
|
|
|
checkbox : {disabled:true}, |
|
165
|
|
|
idName : 'id' |
|
166
|
|
|
} |
|
167
|
|
|
}; |
|
168
|
|
|
})); |
|
169
|
|
|
|