grid.locale-pt.js 4.8 KB

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