1 | ;(function($){
|
---|
2 | /**
|
---|
3 | * jqGrid Catalan Translation
|
---|
4 | * Traducció jqGrid en Catatà per 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 | $.jgrid = $.jgrid || {};
|
---|
11 | $.extend($.jgrid,{
|
---|
12 | defaults : {
|
---|
13 | recordtext: "Mostrant {0} - {1} de {2}",
|
---|
14 | emptyrecords: "Sense registres que mostrar",
|
---|
15 | loadtext: "Carregant...",
|
---|
16 | pgtext : "PÃ gina {0} de {1}"
|
---|
17 | },
|
---|
18 | search : {
|
---|
19 | caption: "Cerca...",
|
---|
20 | Find: "Cercar",
|
---|
21 | Reset: "Buidar",
|
---|
22 | 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"}],
|
---|
23 | groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ]
|
---|
24 | },
|
---|
25 | edit : {
|
---|
26 | addCaption: "Afegir registre",
|
---|
27 | editCaption: "Modificar registre",
|
---|
28 | bSubmit: "Guardar",
|
---|
29 | bCancel: "Cancelar",
|
---|
30 | bClose: "Tancar",
|
---|
31 | saveData: "Les dades han canviat. Guardar canvis?",
|
---|
32 | bYes : "Yes",
|
---|
33 | bNo : "No",
|
---|
34 | bExit : "Cancel",
|
---|
35 | msg: {
|
---|
36 | required:"Camp obligatori",
|
---|
37 | number:"Introdueixi un nombre",
|
---|
38 | minValue:"El valor ha de ser major o igual que ",
|
---|
39 | maxValue:"El valor ha de ser menor o igual a ",
|
---|
40 | email: "no és una direcció de correu và lida",
|
---|
41 | integer: "Introdueixi un valor enter",
|
---|
42 | date: "Introdueixi una data correcta ",
|
---|
43 | url: "no és una URL và lida. Prefix requerit ('http://' or 'https://')",
|
---|
44 | nodefined : " is not defined!",
|
---|
45 | novalue : " return value is required!",
|
---|
46 | customarray : "Custom function should return array!",
|
---|
47 | customfcheck : "Custom function should be present in case of custom checking!"
|
---|
48 | }
|
---|
49 | },
|
---|
50 | view : {
|
---|
51 | caption: "Veure registre",
|
---|
52 | bClose: "Tancar"
|
---|
53 | },
|
---|
54 | del : {
|
---|
55 | caption: "Eliminar",
|
---|
56 | msg: "¿Desitja eliminar els registres seleccionats?",
|
---|
57 | bSubmit: "Eliminar",
|
---|
58 | bCancel: "Cancelar"
|
---|
59 | },
|
---|
60 | nav : {
|
---|
61 | edittext: " ",
|
---|
62 | edittitle: "Modificar fila seleccionada",
|
---|
63 | addtext:" ",
|
---|
64 | addtitle: "Agregar nova fila",
|
---|
65 | deltext: " ",
|
---|
66 | deltitle: "Eliminar fila seleccionada",
|
---|
67 | searchtext: " ",
|
---|
68 | searchtitle: "Cercar informació",
|
---|
69 | refreshtext: "",
|
---|
70 | refreshtitle: "Refrescar taula",
|
---|
71 | alertcap: "AvÃs",
|
---|
72 | alerttext: "Seleccioni una fila",
|
---|
73 | viewtext: " ",
|
---|
74 | viewtitle: "Veure fila seleccionada"
|
---|
75 | },
|
---|
76 | // setcolumns module
|
---|
77 | col : {
|
---|
78 | caption: "Mostrar/ocultar columnes",
|
---|
79 | bSubmit: "Enviar",
|
---|
80 | bCancel: "Cancelar"
|
---|
81 | },
|
---|
82 | errors : {
|
---|
83 | errcap : "Error",
|
---|
84 | nourl : "No s'ha especificat una URL",
|
---|
85 | norecords: "No hi ha dades per processar",
|
---|
86 | model : "Les columnes de noms són diferents de les columnes del model"
|
---|
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 | "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
|
---|
95 | "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
|
---|
96 | ],
|
---|
97 | monthNames: [
|
---|
98 | "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
|
---|
99 | "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
|
---|
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: 'show',
|
---|
123 | target: '',
|
---|
124 | checkbox : {disabled:true},
|
---|
125 | idName : 'id'
|
---|
126 | }
|
---|
127 | });
|
---|
128 | })(jQuery);
|
---|