Administrator
2023-04-21 195945efc5db921a4c9eb8cf9421c172273293f5
提交 | 用户 | 时间
58d006 1 /**
A 2  * jqGrid Galician Translation
3  * Translated by Jorge Barreiro <yortx.barry@gmail.com>
4  * Dual licensed under the MIT and GPL licenses:
5  * http://www.opensource.org/licenses/mit-license.php
6  * http://www.gnu.org/licenses/gpl.html
7 **/
8 /*global jQuery, define */
9 (function( factory ) {
10     "use strict";
11     if ( typeof define === "function" && define.amd ) {
12         // AMD. Register as an anonymous module.
13         define([
14             "jquery",
15             "../grid.base"
16         ], factory );
17     } else {
18         // Browser globals
19         factory( jQuery );
20     }
21 }(function( $ ) {
22
23 $.jgrid = $.jgrid || {};
24 if(!$.jgrid.hasOwnProperty("regional")) {
25     $.jgrid.regional = [];
26 }
27 $.jgrid.regional["gl"] = {
28     defaults : {
29         recordtext: "Amosando {0} - {1} de {2}",
30         emptyrecords: "Sen rexistros que amosar",
31         loadtext: "Cargando...",
32         pgtext : "Páxina {0} de {1}",
33         savetext: "Saving...",
34         pgfirst : "First Page",
35         pglast : "Last Page",
36         pgnext : "Next Page",
37         pgprev : "Previous Page",
38         pgrecs : "Records per Page",
39         showhide: "Toggle Expand Collapse Grid",
40         // mobile
41         pagerCaption : "Grid::Page Settings",
42         pageText : "Page:",
43         recordPage : "Records per Page",
44         nomorerecs : "No more records...",
45         scrollPullup: "Pull up to load more...",
46         scrollPulldown : "Pull down to refresh...",
47         scrollRefresh : "Release to refresh..."
48     },
49     search : {
50         caption: "Búsqueda...",
51         Find: "Buscar",
52         Reset: "Limpar",
53         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"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
54         groupOps: [    { op: "AND", text: "todo" },    { op: "OR",  text: "calquera" }    ],
55         operandTitle : "Click to select search operation.",
56         resetTitle : "Reset Search Value"
57     },
58     edit : {
59         addCaption: "Engadir rexistro",
60         editCaption: "Modificar rexistro",
61         bSubmit: "Gardar",
62         bCancel: "Cancelar",
63         bClose: "Pechar",
64         saveData: "Modificáronse os datos, quere gardar os cambios?",
65         bYes : "Si",
66         bNo : "Non",
67         bExit : "Cancelar",
68         msg: {
69             required:"Campo obrigatorio",
70             number:"Introduza un número",
71             minValue:"O valor debe ser maior ou igual a ",
72             maxValue:"O valor debe ser menor ou igual a ",
73             email: "non é un enderezo de correo válido",
74             integer: "Introduza un valor enteiro",
75             date: "Introduza unha data correcta ",
76             url: "non é unha URL válida. Prefixo requerido ('http://' ou 'https://')",
77             nodefined : " non está definido.",
78             novalue : " o valor de retorno é obrigatorio.",
79             customarray : "A función persoalizada debe devolver un array.",
80             customfcheck : "A función persoalizada debe estar presente no caso de ter validación persoalizada."
81         }
82     },
83     view : {
84         caption: "Consultar rexistro",
85         bClose: "Pechar"
86     },
87     del : {
88         caption: "Eliminar",
89         msg: "Desexa eliminar os rexistros seleccionados?",
90         bSubmit: "Eliminar",
91         bCancel: "Cancelar"
92     },
93     nav : {
94         edittext: " ",
95         edittitle: "Modificar a fila seleccionada",
96         addtext:" ",
97         addtitle: "Engadir unha nova fila",
98         deltext: " ",
99         deltitle: "Eliminar a fila seleccionada",
100         searchtext: " ",
101         searchtitle: "Buscar información",
102         refreshtext: "",
103         refreshtitle: "Recargar datos",
104         alertcap: "Aviso",
105         alerttext: "Seleccione unha fila",
106         viewtext: "",
107         viewtitle: "Ver fila seleccionada",
108         savetext: "",
109         savetitle: "Save row",
110         canceltext: "",
111         canceltitle : "Cancel row editing",
112         selectcaption : "Actions..."
113     },
114     col : {
115         caption: "Mostrar/ocultar columnas",
116         bSubmit: "Enviar",
117         bCancel: "Cancelar"    
118     },
119     errors : {
120         errcap : "Erro",
121         nourl : "Non especificou unha URL",
122         norecords: "Non hai datos para procesar",
123         model : "As columnas de nomes son diferentes das columnas de modelo"
124     },
125     formatter : {
126         integer : {thousandsSeparator: ".", defaultValue: '0'},
127         number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
128         currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
129         date : {
130             dayNames:   [
131                 "Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa",
132                 "Domingo", "Luns", "Martes", "Mércoles", "Xoves", "Vernes", "Sábado"
133             ],
134             monthNames: [
135                 "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", "Xul", "Ago", "Set", "Out", "Nov", "Dec",
136                 "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"
137             ],
138             AmPm : ["am","pm","AM","PM"],
139             S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
140             srcformat: 'Y-m-d',
141             newformat: 'd-m-Y',
142             parseRe : /[#%\\\/:_;.,\t\s-]/,
143             masks : {
144                 ISO8601Long:"Y-m-d H:i:s",
145                 ISO8601Short:"Y-m-d",
146                 ShortDate: "n/j/Y",
147                 LongDate: "l, F d, Y",
148                 FullDateTime: "l, F d, Y g:i:s A",
149                 MonthDay: "F d",
150                 ShortTime: "g:i A",
151                 LongTime: "g:i:s A",
152                 SortableDateTime: "Y-m-d\\TH:i:s",
153                 UniversalSortableDateTime: "Y-m-d H:i:sO",
154                 YearMonth: "F, Y"
155             },
156             reformatAfterEdit : false,
157             userLocalTime : false
158         },
159         baseLinkUrl: '',
160         showAction: '',
161         target: '',
162         checkbox : {disabled:true},
163         idName : 'id'
164     }
165 };
166 }));