提交 | 用户 | 时间
|
58d006
|
1 |
/** |
A |
2 |
* jqGrid Catalan Translation |
|
3 |
* Traducció jqGrid en Catatà per Faserline, S.L. |
|
4 |
* http://www.faserline.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 |
/*global jQuery, define */ |
|
10 |
(function( factory ) { |
|
11 |
"use strict"; |
|
12 |
if ( typeof define === "function" && define.amd ) { |
|
13 |
// AMD. Register as an anonymous module. |
|
14 |
define([ |
|
15 |
"jquery", |
|
16 |
"../grid.base" |
|
17 |
], factory ); |
|
18 |
} else { |
|
19 |
// Browser globals |
|
20 |
factory( jQuery ); |
|
21 |
} |
|
22 |
}(function( $ ) { |
|
23 |
|
|
24 |
$.jgrid = $.jgrid || {}; |
|
25 |
if(!$.jgrid.hasOwnProperty("regional")) { |
|
26 |
$.jgrid.regional = []; |
|
27 |
} |
|
28 |
$.jgrid.regional["ca"] = { |
|
29 |
defaults : { |
|
30 |
recordtext: "Mostrant {0} - {1} de {2}", |
|
31 |
emptyrecords: "Sense registres que mostrar", |
|
32 |
loadtext: "Carregant...", |
|
33 |
savetext: "Saving...", |
|
34 |
pgtext : "Pàgina {0} de {1}", |
|
35 |
pgfirst : "First Page", |
|
36 |
pglast : "Last Page", |
|
37 |
pgnext : "Next Page", |
|
38 |
pgprev : "Previous Page", |
|
39 |
pgrecs : "Records per Page", |
|
40 |
showhide: "Toggle Expand Collapse Grid", |
|
41 |
// mobile |
|
42 |
pagerCaption : "Grid::Page Settings", |
|
43 |
pageText : "Page:", |
|
44 |
recordPage : "Records per Page", |
|
45 |
nomorerecs : "No more records...", |
|
46 |
scrollPullup: "Pull up to load more...", |
|
47 |
scrollPulldown : "Pull down to refresh...", |
|
48 |
scrollRefresh : "Release to refresh..." |
|
49 |
}, |
|
50 |
search : { |
|
51 |
caption: "Cerca...", |
|
52 |
Find: "Cercar", |
|
53 |
Reset: "Buidar", |
|
54 |
odata: [{ oper:'eq', text:"equal"},{ oper:'ne', text:"not equal"},{ oper:'lt', text:"less"},{ oper:'le', text:"less or equal"},{ oper:'gt', text:"greater"},{ oper:'ge', text:"greater or equal"},{ oper:'bw', text:"begins with"},{ oper:'bn', text:"does not begin with"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is not in"},{ oper:'ew', text:"ends with"},{ oper:'en', text:"does not end with"},{ oper:'cn', text:"contains"},{ oper:'nc', text:"does not contain"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], |
|
55 |
groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ], |
|
56 |
operandTitle : "Click to select search operation.", |
|
57 |
resetTitle : "Reset Search Value" |
|
58 |
}, |
|
59 |
edit : { |
|
60 |
addCaption: "Afegir registre", |
|
61 |
editCaption: "Modificar registre", |
|
62 |
bSubmit: "Guardar", |
|
63 |
bCancel: "Cancelar", |
|
64 |
bClose: "Tancar", |
|
65 |
saveData: "Les dades han canviat. Guardar canvis?", |
|
66 |
bYes : "Yes", |
|
67 |
bNo : "No", |
|
68 |
bExit : "Cancel", |
|
69 |
msg: { |
|
70 |
required:"Camp obligatori", |
|
71 |
number:"Introdueixi un nombre", |
|
72 |
minValue:"El valor ha de ser major o igual que ", |
|
73 |
maxValue:"El valor ha de ser menor o igual a ", |
|
74 |
email: "no és una direcció de correu vàlida", |
|
75 |
integer: "Introdueixi un valor enter", |
|
76 |
date: "Introdueixi una data correcta ", |
|
77 |
url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')", |
|
78 |
nodefined : " is not defined!", |
|
79 |
novalue : " return value is required!", |
|
80 |
customarray : "Custom function should return array!", |
|
81 |
customfcheck : "Custom function should be present in case of custom checking!" |
|
82 |
} |
|
83 |
}, |
|
84 |
view : { |
|
85 |
caption: "Veure registre", |
|
86 |
bClose: "Tancar" |
|
87 |
}, |
|
88 |
del : { |
|
89 |
caption: "Eliminar", |
|
90 |
msg: "¿Desitja eliminar els registres seleccionats?", |
|
91 |
bSubmit: "Eliminar", |
|
92 |
bCancel: "Cancelar" |
|
93 |
}, |
|
94 |
nav : { |
|
95 |
edittext: " ", |
|
96 |
edittitle: "Modificar fila seleccionada", |
|
97 |
addtext:" ", |
|
98 |
addtitle: "Agregar nova fila", |
|
99 |
deltext: " ", |
|
100 |
deltitle: "Eliminar fila seleccionada", |
|
101 |
searchtext: " ", |
|
102 |
searchtitle: "Cercar informació", |
|
103 |
refreshtext: "", |
|
104 |
refreshtitle: "Refrescar taula", |
|
105 |
alertcap: "Avís", |
|
106 |
alerttext: "Seleccioni una fila", |
|
107 |
viewtext: " ", |
|
108 |
viewtitle: "Veure fila seleccionada", |
|
109 |
savetext: "", |
|
110 |
savetitle: "Save row", |
|
111 |
canceltext: "", |
|
112 |
canceltitle : "Cancel row editing", |
|
113 |
selectcaption : "Actions..." |
|
114 |
}, |
|
115 |
// setcolumns module |
|
116 |
col : { |
|
117 |
caption: "Mostrar/ocultar columnes", |
|
118 |
bSubmit: "Enviar", |
|
119 |
bCancel: "Cancelar" |
|
120 |
}, |
|
121 |
errors : { |
|
122 |
errcap : "Error", |
|
123 |
nourl : "No s'ha especificat una URL", |
|
124 |
norecords: "No hi ha dades per processar", |
|
125 |
model : "Les columnes de noms són diferents de les columnes del model" |
|
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 |
"Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds", |
|
134 |
"Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte" |
|
135 |
], |
|
136 |
monthNames: [ |
|
137 |
"Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des", |
|
138 |
"Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre" |
|
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: 'show', |
|
163 |
target: '', |
|
164 |
checkbox : {disabled:true}, |
|
165 |
idName : 'id' |
|
166 |
} |
|
167 |
}; |
|
168 |
})); |