grid.locale-pt-br.js 4.3 KB

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