[294] | 1 | ;(function($){
|
---|
| 2 | /**
|
---|
| 3 | * jqGrid Galician Translation
|
---|
| 4 | * Translated by Jorge Barreiro <yortx.barry@gmail.com>
|
---|
| 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: "Amosando {0} - {1} de {2}",
|
---|
| 13 | emptyrecords: "Sen rexistros que amosar",
|
---|
| 14 | loadtext: "Cargando...",
|
---|
| 15 | pgtext : "Páxina {0} de {1}"
|
---|
| 16 | },
|
---|
| 17 | search : {
|
---|
| 18 | caption: "Búsqueda...",
|
---|
| 19 | Find: "Buscar",
|
---|
| 20 | Reset: "Limpar",
|
---|
| 21 | odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"diferente a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor ou igual que"},{ oper:'gt', text:"maior que"},{ oper:'ge', text:"maior ou igual a"},{ oper:'bw', text:"empece por"},{ oper:'bn', text:"non empece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"non está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"non termina por"},{ oper:'cn', text:"contén"},{ oper:'nc', text:"non contén"}],
|
---|
| 22 | groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "calquera" } ]
|
---|
| 23 | },
|
---|
| 24 | edit : {
|
---|
| 25 | addCaption: "Engadir rexistro",
|
---|
| 26 | editCaption: "Modificar rexistro",
|
---|
| 27 | bSubmit: "Gardar",
|
---|
| 28 | bCancel: "Cancelar",
|
---|
| 29 | bClose: "Pechar",
|
---|
| 30 | saveData: "Modificáronse os datos, quere gardar os cambios?",
|
---|
| 31 | bYes : "Si",
|
---|
| 32 | bNo : "Non",
|
---|
| 33 | bExit : "Cancelar",
|
---|
| 34 | msg: {
|
---|
| 35 | required:"Campo obrigatorio",
|
---|
| 36 | number:"Introduza un número",
|
---|
| 37 | minValue:"O valor debe ser maior ou igual a ",
|
---|
| 38 | maxValue:"O valor debe ser menor ou igual a ",
|
---|
| 39 | email: "non é un enderezo de correo válido",
|
---|
| 40 | integer: "Introduza un valor enteiro",
|
---|
| 41 | date: "Introduza unha data correcta ",
|
---|
| 42 | url: "non é unha URL válida. Prefixo requerido ('http://' ou 'https://')",
|
---|
| 43 | nodefined : " non está definido.",
|
---|
| 44 | novalue : " o valor de retorno é obrigatorio.",
|
---|
| 45 | customarray : "A función persoalizada debe devolver un array.",
|
---|
| 46 | customfcheck : "A función persoalizada debe estar presente no caso de ter validación persoalizada."
|
---|
| 47 | }
|
---|
| 48 | },
|
---|
| 49 | view : {
|
---|
| 50 | caption: "Consultar rexistro",
|
---|
| 51 | bClose: "Pechar"
|
---|
| 52 | },
|
---|
| 53 | del : {
|
---|
| 54 | caption: "Eliminar",
|
---|
| 55 | msg: "Desexa eliminar os rexistros seleccionados?",
|
---|
| 56 | bSubmit: "Eliminar",
|
---|
| 57 | bCancel: "Cancelar"
|
---|
| 58 | },
|
---|
| 59 | nav : {
|
---|
| 60 | edittext: " ",
|
---|
| 61 | edittitle: "Modificar a fila seleccionada",
|
---|
| 62 | addtext:" ",
|
---|
| 63 | addtitle: "Engadir unha nova fila",
|
---|
| 64 | deltext: " ",
|
---|
| 65 | deltitle: "Eliminar a fila seleccionada",
|
---|
| 66 | searchtext: " ",
|
---|
| 67 | searchtitle: "Buscar información",
|
---|
| 68 | refreshtext: "",
|
---|
| 69 | refreshtitle: "Recargar datos",
|
---|
| 70 | alertcap: "Aviso",
|
---|
| 71 | alerttext: "Seleccione unha fila",
|
---|
| 72 | viewtext: "",
|
---|
| 73 | viewtitle: "Ver fila seleccionada"
|
---|
| 74 | },
|
---|
| 75 | col : {
|
---|
| 76 | caption: "Mostrar/ocultar columnas",
|
---|
| 77 | bSubmit: "Enviar",
|
---|
| 78 | bCancel: "Cancelar"
|
---|
| 79 | },
|
---|
| 80 | errors : {
|
---|
| 81 | errcap : "Erro",
|
---|
| 82 | nourl : "Non especificou unha URL",
|
---|
| 83 | norecords: "Non hai datos para procesar",
|
---|
| 84 | model : "As columnas de nomes son diferentes das columnas de modelo"
|
---|
| 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 | "Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa",
|
---|
| 93 | "Domingo", "Luns", "Martes", "Mércoles", "Xoves", "Vernes", "Sábado"
|
---|
| 94 | ],
|
---|
| 95 | monthNames: [
|
---|
| 96 | "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", "Xul", "Ago", "Set", "Out", "Nov", "Dec",
|
---|
| 97 | "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"
|
---|
| 98 | ],
|
---|
| 99 | AmPm : ["am","pm","AM","PM"],
|
---|
| 100 | S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
|
---|
| 101 | srcformat: 'Y-m-d',
|
---|
| 102 | newformat: 'd-m-Y',
|
---|
| 103 | parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
---|
| 104 | masks : {
|
---|
| 105 | ISO8601Long:"Y-m-d H:i:s",
|
---|
| 106 | ISO8601Short:"Y-m-d",
|
---|
| 107 | ShortDate: "n/j/Y",
|
---|
| 108 | LongDate: "l, F d, Y",
|
---|
| 109 | FullDateTime: "l, F d, Y g:i:s A",
|
---|
| 110 | MonthDay: "F d",
|
---|
| 111 | ShortTime: "g:i A",
|
---|
| 112 | LongTime: "g:i:s A",
|
---|
| 113 | SortableDateTime: "Y-m-d\\TH:i:s",
|
---|
| 114 | UniversalSortableDateTime: "Y-m-d H:i:sO",
|
---|
| 115 | YearMonth: "F, Y"
|
---|
| 116 | },
|
---|
| 117 | reformatAfterEdit : false
|
---|
| 118 | },
|
---|
| 119 | baseLinkUrl: '',
|
---|
| 120 | showAction: '',
|
---|
| 121 | target: '',
|
---|
| 122 | checkbox : {disabled:true},
|
---|
| 123 | idName : 'id'
|
---|
| 124 | }
|
---|
| 125 | });
|
---|
| 126 | })(jQuery);
|
---|