Administrator
2023-04-21 195945efc5db921a4c9eb8cf9421c172273293f5
提交 | 用户 | 时间
58d006 1 /**
A 2  * jqGrid Portuguese Translation
3 * Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
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["pt"] = {
28     defaults : {
29         recordtext: "View {0} - {1} of {2}",
30         emptyrecords: "No records to view",
31         loadtext: "A carregar...",
32         pgtext : "Página {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: "Busca...",
51         Find: "Procurar",
52         Reset: "Limpar",
53         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'}],
54         groupOps: [    { op: "AND", text: "all" },    { op: "OR",  text: "any" }    ],
55         operandTitle : "Click to select search operation.",
56         resetTitle : "Reset Search Value"
57     },
58     edit : {
59         addCaption: "Adicionar Registo",
60         editCaption: "Modificar Registo",
61         bSubmit: "Submeter",
62         bCancel: "Cancelar",
63         bClose: "Fechar",
64         saveData: "Data has been changed! Save changes?",
65         bYes : "Yes",
66         bNo : "No",
67         bExit : "Cancel",
68         msg: {
69             required:"Campo obrigat�rio",
70             number:"Por favor, introduza um numero",
71             minValue:"O valor deve ser maior ou igual que",
72             maxValue:"O valor deve ser menor ou igual a",
73             email: "N�o � um endere�o de email v�lido",
74             integer: "Por favor, introduza um numero inteiro",
75             url: "is not a valid URL. Prefix required ('http://' or 'https://')",
76             nodefined : " is not defined!",
77             novalue : " return value is required!",
78             customarray : "Custom function should return array!",
79             customfcheck : "Custom function should be present in case of custom checking!"
80         }
81     },
82     view : {
83         caption: "View Record",
84         bClose: "Close"
85     },
86     del : {
87         caption: "Eliminar",
88         msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
89         bSubmit: "Eliminar",
90         bCancel: "Cancelar"
91     },
92     nav : {
93         edittext: " ",
94         edittitle: "Modificar registo seleccionado",
95         addtext:" ",
96         addtitle: "Adicionar novo registo",
97         deltext: " ",
98         deltitle: "Eliminar registo seleccionado",
99         searchtext: " ",
100         searchtitle: "Procurar",
101         refreshtext: "",
102         refreshtitle: "Actualizar",
103         alertcap: "Aviso",
104         alerttext: "Por favor, seleccione um registo",
105         viewtext: "",
106         viewtitle: "View selected row",
107         savetext: "",
108         savetitle: "Save row",
109         canceltext: "",
110         canceltitle : "Cancel row editing",
111         selectcaption : "Actions..."
112     },
113     col : {
114         caption: "Mostrar/Ocultar Colunas",
115         bSubmit: "Enviar",
116         bCancel: "Cancelar"    
117     },
118     errors : {
119         errcap : "Erro",
120         nourl : "N�o especificou um url",
121         norecords: "N�o existem dados para processar",
122         model : "Tamanho do colNames <> colModel!"
123     },
124     formatter : {
125         integer : {thousandsSeparator: " ", defaultValue: '0'},
126         number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
127         currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
128         date : {
129             dayNames:   [
130                 "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
131                 "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
132             ],
133             monthNames: [
134                 "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
135                 "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
136             ],
137             AmPm : ["am","pm","AM","PM"],
138             S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
139             srcformat: 'Y-m-d',
140             newformat: 'd/m/Y',
141             parseRe : /[#%\\\/:_;.,\t\s-]/,
142             masks : {
143                 ISO8601Long:"Y-m-d H:i:s",
144                 ISO8601Short:"Y-m-d",
145                 ShortDate: "n/j/Y",
146                 LongDate: "l, F d, Y",
147                 FullDateTime: "l, F d, Y g:i:s A",
148                 MonthDay: "F d",
149                 ShortTime: "g:i A",
150                 LongTime: "g:i:s A",
151                 SortableDateTime: "Y-m-d\\TH:i:s",
152                 UniversalSortableDateTime: "Y-m-d H:i:sO",
153                 YearMonth: "F, Y"
154             },
155             reformatAfterEdit : false,
156             userLocalTime : false
157         },
158         baseLinkUrl: '',
159         showAction: '',
160         target: '',
161         checkbox : {disabled:true},
162         idName : 'id'
163     }
164 };
165 }));