source: pro-violet-viettel/docs/template/assets/js/jqGrid/i18n/grid.locale-pt-br.js @ 400

Last change on this file since 400 was 400, checked in by dungnv, 11 years ago
  • Property svn:mime-type set to text/plain
File size: 4.7 KB
Line 
1;(function($){
2/**
3 * jqGrid Brazilian-Portuguese Translation
4 * Sergio Righi sergio.righi@gmail.com
5 * http://curve.com.br
6 *
7 * Updated by Jonnas Fonini
8 * http://fonini.net
9 * Dual licensed under the MIT and GPL licenses:
10 * http://www.opensource.org/licenses/mit-license.php
11 * http://www.gnu.org/licenses/gpl.html
12**/
13$.jgrid = $.jgrid || {};
14$.extend($.jgrid,{
15        defaults : {
16                recordtext: "Ver {0} - {1} de {2}",
17            emptyrecords: "Nenhum registro para visualizar",
18                loadtext: "Carregando...",
19                pgtext : "Página {0} de {1}"
20        },
21        search : {
22            caption: "Procurar...",
23            Find: "Procurar",
24            Reset: "Resetar",
25            odata: [{ oper:'eq', text:"igual"},{ oper:'ne', text:"diferente"},{ oper:'lt', text:"menor"},{ oper:'le', text:"menor ou igual"},{ oper:'gt', text:"maior"},{ oper:'ge', text:"maior ou igual"},{ oper:'bw', text:"inicia com"},{ oper:'bn', text:"não inicia com"},{ oper:'in', text:"está em"},{ oper:'ni', text:"não está em"},{ oper:'ew', text:"termina com"},{ oper:'en', text:"não termina com"},{ oper:'cn', text:"contém"},{ oper:'nc', text:"não contém"},{ oper:'nu', text:"nulo"},{ oper:'nn', text:"não nulo"}],
26            groupOps: [ { op: "AND", text: "all" },     { op: "OR",  text: "any" }      ]
27        },
28        edit : {
29            addCaption: "Incluir",
30            editCaption: "Alterar",
31            bSubmit: "Enviar",
32            bCancel: "Cancelar",
33                bClose: "Fechar",
34                saveData: "Os dados foram alterados! Salvar alterações?",
35                bYes : "Sim",
36                bNo : "Não",
37                bExit : "Cancelar",
38            msg: {
39                required:"Campo obrigatório",
40                number:"Por favor, informe um número válido",
41                minValue:"valor deve ser igual ou maior que ",
42                maxValue:"valor deve ser menor ou igual a",
43                email: "este e-mail não é válido",
44                integer: "Por favor, informe um valor inteiro",
45                        date: "Por favor, informe uma data válida",
46                        url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
47                        nodefined : " não está definido!",
48                        novalue : " um valor de retorno é obrigatório!",
49                        customarray : "Função customizada deve retornar um array!",
50                        customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
51                }
52        },
53        view : {
54            caption: "Ver Registro",
55            bClose: "Fechar"
56        },
57        del : {
58    caption: "Apagar",
59            msg: "Apagar registro(s) selecionado(s)?",
60            bSubmit: "Apagar",
61            bCancel: "Cancelar"
62        },
63        nav : {
64                edittext: " ",
65            edittitle: "Alterar registro selecionado",
66                addtext:" ",
67            addtitle: "Incluir novo registro",
68            deltext: " ",
69            deltitle: "Apagar registro selecionado",
70            searchtext: " ",
71            searchtitle: "Procurar registros",
72            refreshtext: "",
73            refreshtitle: "Recarregando tabela",
74            alertcap: "Aviso",
75            alerttext: "Por favor, selecione um registro",
76                viewtext: "",
77                viewtitle: "Ver linha selecionada"
78        },
79        col : {
80            caption: "Mostrar/Esconder Colunas",
81            bSubmit: "Enviar",
82            bCancel: "Cancelar"
83        },
84        errors : {
85                errcap : "Erro",
86                nourl : "Nenhuma URL definida",
87                norecords: "Sem registros para exibir",
88            model : "Comprimento de colNames <> colModel!"
89        },
90        formatter : {
91                integer : {thousandsSeparator: " ", defaultValue: '0'},
92                number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
93                currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'},
94                date : {
95                        dayNames:   [
96                                "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
97                                "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
98                        ],
99                        monthNames: [
100                                "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
101                                "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
102                        ],
103                        AmPm : ["am","pm","AM","PM"],
104                        S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
105                        srcformat: 'Y-m-d',
106                        newformat: 'd/m/Y',
107                        parseRe : /[Tt\\\/:_;.,\t\s-]/,
108                        masks : {
109                    ISO8601Long:"Y-m-d H:i:s",
110                    ISO8601Short:"Y-m-d",
111                    ShortDate: "n/j/Y",
112                    LongDate: "l, F d, Y",
113                    FullDateTime: "l, F d, Y g:i:s A",
114                    MonthDay: "F d",
115                    ShortTime: "g:i A",
116                    LongTime: "g:i:s A",
117                    SortableDateTime: "Y-m-d\\TH:i:s",
118                    UniversalSortableDateTime: "Y-m-d H:i:sO",
119                    YearMonth: "F, Y"
120                },
121                reformatAfterEdit : false
122                },
123                baseLinkUrl: '',
124                showAction: '',
125            target: '',
126            checkbox : {disabled:true},
127                idName : 'id'
128        }
129});
130})(jQuery);
Note: See TracBrowser for help on using the repository browser.