ultimix
grid.locale-pt.js
Go to the documentation of this file.
1 ;(function($){
9 $.jgrid = {
10  defaults : {
11  recordtext: "View {0} - {1} of {2}",
12  emptyrecords: "No records to view",
13  loadtext: "A carregar...",
14  pgtext : "Page {0} of {1}"
15  },
16  search : {
17  caption: "Busca...",
18  Find: "Procurar",
19  Reset: "Limpar",
20  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'],
21  groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
22  matchText: " match",
23  rulesText: " rules"
24  },
25  edit : {
26  addCaption: "Adicionar Registo",
27  editCaption: "Modificar Registo",
28  bSubmit: "Submeter",
29  bCancel: "Cancelar",
30  bClose: "Fechar",
31  saveData: "Data has been changed! Save changes?",
32  bYes : "Yes",
33  bNo : "No",
34  bExit : "Cancel",
35  msg: {
36  required:"Campo obrigatório",
37  number:"Por favor, introduza um numero",
38  minValue:"O valor deve ser maior ou igual que",
39  maxValue:"O valor deve ser menor ou igual a",
40  email: "Não é um endereço de email válido",
41  integer: "Por favor, introduza um numero inteiro",
42  url: "is not a valid URL. Prefix required ('http://' or 'https://')",
43  nodefined : " is not defined!",
44  novalue : " return value is required!",
45  customarray : "Custom function should return array!",
46  customfcheck : "Custom function should be present in case of custom checking!"
47  }
48  },
49  view : {
50  caption: "View Record",
51  bClose: "Close"
52  },
53  del : {
54  caption: "Eliminar",
55  msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
56  bSubmit: "Eliminar",
57  bCancel: "Cancelar"
58  },
59  nav : {
60  edittext: " ",
61  edittitle: "Modificar registo seleccionado",
62  addtext:" ",
63  addtitle: "Adicionar novo registo",
64  deltext: " ",
65  deltitle: "Eliminar registo seleccionado",
66  searchtext: " ",
67  searchtitle: "Procurar",
68  refreshtext: "",
69  refreshtitle: "Actualizar",
70  alertcap: "Aviso",
71  alerttext: "Por favor, seleccione um registo",
72  viewtext: "",
73  viewtitle: "View selected row"
74  },
75  col : {
76  caption: "Mostrar/Ocultar Colunas",
77  bSubmit: "Enviar",
78  bCancel: "Cancelar"
79  },
80  errors : {
81  errcap : "Erro",
82  nourl : "Não especificou um url",
83  norecords: "Não existem dados para processar",
84  model : "Tamanho do colNames <> colModel!"
85  },
86  formatter : {
87  integer : {thousandsSeparator: " ", defaultValue: '0'},
88  number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
89  currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
90  date : {
91  dayNames: [
92  "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
93  "Domingo", "Segunda-Feira", "Terça-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "Sábado"
94  ],
95  monthNames: [
96  "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
97  "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
98  ],
99  AmPm : ["am","pm","AM","PM"],
100  S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'},
101  srcformat: 'Y-m-d',
102  newformat: 'd/m/Y',
103  masks : {
104  ISO8601Long:"Y-m-d H:i:s",
105  ISO8601Short:"Y-m-d",
106  ShortDate: "n/j/Y",
107  LongDate: "l, F d, Y",
108  FullDateTime: "l, F d, Y g:i:s A",
109  MonthDay: "F d",
110  ShortTime: "g:i A",
111  LongTime: "g:i:s A",
112  SortableDateTime: "Y-m-d\\TH:i:s",
113  UniversalSortableDateTime: "Y-m-d H:i:sO",
114  YearMonth: "F, Y"
115  },
116  reformatAfterEdit : false
117  },
118  baseLinkUrl: '',
119  showAction: '',
120  target: '',
121  checkbox : {disabled:true},
122  idName : 'id'
123  }
124 };
125 })(jQuery);