[294] | 1 | ;(function($){
|
---|
| 2 | /**
|
---|
| 3 | * jqGrid Spanish Translation
|
---|
| 4 | * Traduccion jqGrid en Español por Yamil Bracho
|
---|
| 5 | * Traduccion corregida y ampliada por Faserline, S.L.
|
---|
| 6 | * http://www.faserline.com
|
---|
| 7 | * Dual licensed under the MIT and GPL licenses:
|
---|
| 8 | * http://www.opensource.org/licenses/mit-license.php
|
---|
| 9 | * http://www.gnu.org/licenses/gpl.html
|
---|
| 10 | **/
|
---|
| 11 | $.jgrid = $.jgrid || {};
|
---|
| 12 | $.extend($.jgrid,{
|
---|
| 13 | defaults : {
|
---|
| 14 | recordtext: "Mostrando {0} - {1} de {2}",
|
---|
| 15 | emptyrecords: "Sin registros que mostrar",
|
---|
| 16 | loadtext: "Cargando...",
|
---|
| 17 | pgtext : "Página {0} de {1}"
|
---|
| 18 | },
|
---|
| 19 | search : {
|
---|
| 20 | caption: "Búsqueda...",
|
---|
| 21 | Find: "Buscar",
|
---|
| 22 | Reset: "Limpiar",
|
---|
| 23 | 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"}],
|
---|
| 24 | groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ]
|
---|
| 25 | },
|
---|
| 26 | edit : {
|
---|
| 27 | addCaption: "Agregar registro",
|
---|
| 28 | editCaption: "Modificar registro",
|
---|
| 29 | bSubmit: "Guardar",
|
---|
| 30 | bCancel: "Cancelar",
|
---|
| 31 | bClose: "Cerrar",
|
---|
| 32 | saveData: "Se han modificado los datos, ¿guardar cambios?",
|
---|
| 33 | bYes : "Si",
|
---|
| 34 | bNo : "No",
|
---|
| 35 | bExit : "Cancelar",
|
---|
| 36 | msg: {
|
---|
| 37 | required:"Campo obligatorio",
|
---|
| 38 | number:"Introduzca un número",
|
---|
| 39 | minValue:"El valor debe ser mayor o igual a ",
|
---|
| 40 | maxValue:"El valor debe ser menor o igual a ",
|
---|
| 41 | email: "no es una dirección de correo válida",
|
---|
| 42 | integer: "Introduzca un valor entero",
|
---|
| 43 | date: "Introduza una fecha correcta ",
|
---|
| 44 | url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
|
---|
| 45 | nodefined : " no está definido.",
|
---|
| 46 | novalue : " valor de retorno es requerido.",
|
---|
| 47 | customarray : "La función personalizada debe devolver un array.",
|
---|
| 48 | customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada."
|
---|
| 49 | }
|
---|
| 50 | },
|
---|
| 51 | view : {
|
---|
| 52 | caption: "Consultar registro",
|
---|
| 53 | bClose: "Cerrar"
|
---|
| 54 | },
|
---|
| 55 | del : {
|
---|
| 56 | caption: "Eliminar",
|
---|
| 57 | msg: "¿Desea eliminar los registros seleccionados?",
|
---|
| 58 | bSubmit: "Eliminar",
|
---|
| 59 | bCancel: "Cancelar"
|
---|
| 60 | },
|
---|
| 61 | nav : {
|
---|
| 62 | edittext: " ",
|
---|
| 63 | edittitle: "Modificar fila seleccionada",
|
---|
| 64 | addtext:" ",
|
---|
| 65 | addtitle: "Agregar nueva fila",
|
---|
| 66 | deltext: " ",
|
---|
| 67 | deltitle: "Eliminar fila seleccionada",
|
---|
| 68 | searchtext: " ",
|
---|
| 69 | searchtitle: "Buscar información",
|
---|
| 70 | refreshtext: "",
|
---|
| 71 | refreshtitle: "Recargar datos",
|
---|
| 72 | alertcap: "Aviso",
|
---|
| 73 | alerttext: "Seleccione una fila",
|
---|
| 74 | viewtext: "",
|
---|
| 75 | viewtitle: "Ver fila seleccionada"
|
---|
| 76 | },
|
---|
| 77 | col : {
|
---|
| 78 | caption: "Mostrar/ocultar columnas",
|
---|
| 79 | bSubmit: "Enviar",
|
---|
| 80 | bCancel: "Cancelar"
|
---|
| 81 | },
|
---|
| 82 | errors : {
|
---|
| 83 | errcap : "Error",
|
---|
| 84 | nourl : "No se ha especificado una URL",
|
---|
| 85 | norecords: "No hay datos para procesar",
|
---|
| 86 | model : "Las columnas de nombres son diferentes de las columnas de modelo"
|
---|
| 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 | "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
|
---|
| 95 | "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
|
---|
| 96 | ],
|
---|
| 97 | monthNames: [
|
---|
| 98 | "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
|
---|
| 99 | "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
|
---|
| 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 | parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
---|
| 106 | masks : {
|
---|
| 107 | ISO8601Long:"Y-m-d H:i:s",
|
---|
| 108 | ISO8601Short:"Y-m-d",
|
---|
| 109 | ShortDate: "n/j/Y",
|
---|
| 110 | LongDate: "l, F d, Y",
|
---|
| 111 | FullDateTime: "l, F d, Y g:i:s A",
|
---|
| 112 | MonthDay: "F d",
|
---|
| 113 | ShortTime: "g:i A",
|
---|
| 114 | LongTime: "g:i:s A",
|
---|
| 115 | SortableDateTime: "Y-m-d\\TH:i:s",
|
---|
| 116 | UniversalSortableDateTime: "Y-m-d H:i:sO",
|
---|
| 117 | YearMonth: "F, Y"
|
---|
| 118 | },
|
---|
| 119 | reformatAfterEdit : false
|
---|
| 120 | },
|
---|
| 121 | baseLinkUrl: '',
|
---|
| 122 | showAction: '',
|
---|
| 123 | target: '',
|
---|
| 124 | checkbox : {disabled:true},
|
---|
| 125 | idName : 'id'
|
---|
| 126 | }
|
---|
| 127 | });
|
---|
| 128 | })(jQuery);
|
---|