grid.locale-pt.js 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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 : "Page {0} of {1}"
  16. },
  17. search : {
  18. caption: "Busca...",
  19. Find: "Procurar",
  20. Reset: "Limpar",
  21. 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'}],
  22. groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ]
  23. },
  24. edit : {
  25. addCaption: "Adicionar Registo",
  26. editCaption: "Modificar Registo",
  27. bSubmit: "Submeter",
  28. bCancel: "Cancelar",
  29. bClose: "Fechar",
  30. saveData: "Data has been changed! Save changes?",
  31. bYes : "Yes",
  32. bNo : "No",
  33. bExit : "Cancel",
  34. msg: {
  35. required:"Campo obrigat�rio",
  36. number:"Por favor, introduza um numero",
  37. minValue:"O valor deve ser maior ou igual que",
  38. maxValue:"O valor deve ser menor ou igual a",
  39. email: "N�o � um endere�o de email v�lido",
  40. integer: "Por favor, introduza um numero inteiro",
  41. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  42. nodefined : " is not defined!",
  43. novalue : " return value is required!",
  44. customarray : "Custom function should return array!",
  45. customfcheck : "Custom function should be present in case of custom checking!"
  46. }
  47. },
  48. view : {
  49. caption: "View Record",
  50. bClose: "Close"
  51. },
  52. del : {
  53. caption: "Eliminar",
  54. msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
  55. bSubmit: "Eliminar",
  56. bCancel: "Cancelar"
  57. },
  58. nav : {
  59. edittext: " ",
  60. edittitle: "Modificar registo seleccionado",
  61. addtext:" ",
  62. addtitle: "Adicionar novo registo",
  63. deltext: " ",
  64. deltitle: "Eliminar registo seleccionado",
  65. searchtext: " ",
  66. searchtitle: "Procurar",
  67. refreshtext: "",
  68. refreshtitle: "Actualizar",
  69. alertcap: "Aviso",
  70. alerttext: "Por favor, seleccione um registo",
  71. viewtext: "",
  72. viewtitle: "View selected row"
  73. },
  74. col : {
  75. caption: "Mostrar/Ocultar Colunas",
  76. bSubmit: "Enviar",
  77. bCancel: "Cancelar"
  78. },
  79. errors : {
  80. errcap : "Erro",
  81. nourl : "N�o especificou um url",
  82. norecords: "N�o existem dados para processar",
  83. model : "Tamanho do colNames <> colModel!"
  84. },
  85. formatter : {
  86. integer : {thousandsSeparator: " ", defaultValue: '0'},
  87. number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
  88. currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
  89. date : {
  90. dayNames: [
  91. "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab",
  92. "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado"
  93. ],
  94. monthNames: [
  95. "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
  96. "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
  97. ],
  98. AmPm : ["am","pm","AM","PM"],
  99. S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'},
  100. srcformat: 'Y-m-d',
  101. newformat: 'd/m/Y',
  102. parseRe : /[Tt\\\/:_;.,\t\s-]/,
  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);