ultimix
grid.locale-pt-br.js
Go to the documentation of this file.
1 ;(function($){
10 $.jgrid = {
11  defaults : {
12  recordtext: "Ver {0} - {1} of {2}",
13  emptyrecords: "Nenhum registro para visualizar",
14  loadtext: "Carregando...",
15  pgtext : "Página {0} de {1}"
16  },
17  search : {
18  caption: "Procurar...",
19  Find: "Procurar",
20  Reset: "Resetar",
21  odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
22  groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23  matchText: " iguala",
24  rulesText: " regras"
25  },
26  edit : {
27  addCaption: "Incluir",
28  editCaption: "Alterar",
29  bSubmit: "Enviar",
30  bCancel: "Cancelar",
31  bClose: "Fechar",
32  saveData: "Os dados foram alterados! Salvar alterações?",
33  bYes : "Sim",
34  bNo : "Não",
35  bExit : "Cancelar",
36  msg: {
37  required:"Campo obrigatório",
38  number:"Por favor, informe um número válido",
39  minValue:"valor deve ser igual ou maior que ",
40  maxValue:"valor deve ser menor ou igual a",
41  email: "este e-mail não é válido",
42  integer: "Por favor, informe um valor inteiro",
43  date: "Por favor, informe uma data válida",
44  url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
45  nodefined : " não está definido!",
46  novalue : " um valor de retorno é obrigatório!",
47  customarray : "Função customizada deve retornar um array!",
48  customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
49  }
50  },
51  view : {
52  caption: "Ver Registro",
53  bClose: "Fechar"
54  },
55  del : {
56  caption: "Apagar",
57  msg: "Apagar registros selecionado(s)?",
58  bSubmit: "Apagar",
59  bCancel: "Cancelar"
60  },
61  nav : {
62  edittext: " ",
63  edittitle: "Alterar registro selecionado",
64  addtext:" ",
65  addtitle: "Incluir novo registro",
66  deltext: " ",
67  deltitle: "Apagar registro selecionado",
68  searchtext: " ",
69  searchtitle: "Procurar registros",
70  refreshtext: "",
71  refreshtitle: "Recarrgando Tabela",
72  alertcap: "Aviso",
73  alerttext: "Por favor, selecione um registro",
74  viewtext: "",
75  viewtitle: "Ver linha selecionada"
76  },
77  col : {
78  caption: "Mostrar/Esconder Colunas",
79  bSubmit: "Enviar",
80  bCancel: "Cancelar"
81  },
82  errors : {
83  errcap : "Erro",
84  nourl : "Nenhuma URL defenida",
85  norecords: "Sem registros para exibir",
86  model : "Comprimento de colNames <> colModel!"
87  },
88  formatter : {
89  integer : {thousandsSeparator: " ", defaultValue: '0'},
90  number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91  currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'},
92  date : {
93  dayNames: [
94  "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
95  "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
96  ],
97  monthNames: [
98  "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
99  "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
100  ],
101  AmPm : ["am","pm","AM","PM"],
102  S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
103  srcformat: 'Y-m-d',
104  newformat: 'd/m/Y',
105  masks : {
106  ISO8601Long:"Y-m-d H:i:s",
107  ISO8601Short:"Y-m-d",
108  ShortDate: "n/j/Y",
109  LongDate: "l, F d, Y",
110  FullDateTime: "l, F d, Y g:i:s A",
111  MonthDay: "F d",
112  ShortTime: "g:i A",
113  LongTime: "g:i:s A",
114  SortableDateTime: "Y-m-d\\TH:i:s",
115  UniversalSortableDateTime: "Y-m-d H:i:sO",
116  YearMonth: "F, Y"
117  },
118  reformatAfterEdit : false
119  },
120  baseLinkUrl: '',
121  showAction: '',
122  target: '',
123  checkbox : {disabled:true},
124  idName : 'id'
125  }
126 };
127 })(jQuery);