PageRenderTime 38ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/files/free-jqgrid/4.8.0/js/i18n/grid.locale-pt-br.js

https://gitlab.com/Mirros/jsdelivr
JavaScript | 153 lines | 129 code | 1 blank | 23 comment | 2 complexity | 2fc11d9bbc0c19d6dc341b8a64e1562d MD5 | raw file
  1. /**
  2. * jqGrid Brazilian-Portuguese Translation
  3. * Sergio Righi sergio.righi@gmail.com
  4. * http://curve.com.br
  5. *
  6. * Updated by Jonnas Fonini
  7. * http://fonini.net
  8. *
  9. *
  10. * Updated by Fabio Ferreira da Silva fabio_ferreiradasilva@yahoo.com.br
  11. *
  12. *
  13. * Dual licensed under the MIT and GPL licenses:
  14. * http://www.opensource.org/licenses/mit-license.php
  15. * http://www.gnu.org/licenses/gpl.html
  16. **/
  17. /*jslint white: true */
  18. /*global jQuery */
  19. (function($){
  20. "use strict";
  21. var locInfo = {
  22. name: "Português (Brasil)",
  23. nameEnglish: "Portuguese (Brazil)",
  24. isRTL: false,
  25. defaults : {
  26. recordtext: "Ver {0} - {1} de {2}",
  27. emptyrecords: "Nenhum registro para visualizar",
  28. loadtext: "Carregando...",
  29. pgtext : "Página {0} de {1}",
  30. pgfirst : "First Page",
  31. pglast : "Last Page",
  32. pgnext : "Next Page",
  33. pgprev : "Previous Page",
  34. pgrecs : "Records per Page",
  35. showhide: "Toggle Expand Collapse Grid",
  36. savetext: "Salvando..."
  37. },
  38. search : {
  39. caption: "Procurar...",
  40. Find: "Procurar",
  41. Reset: "Resetar",
  42. odata: [{ oper:'eq', text:"igual"},{ oper:'ne', text:"diferente"},{ oper:'lt', text:"menor"},{ oper:'le', text:"menor ou igual"},{ oper:'gt', text:"maior"},{ oper:'ge', text:"maior ou igual"},{ oper:'bw', text:"inicia com"},{ oper:'bn', text:"não inicia com"},{ oper:'in', text:"está em"},{ oper:'ni', text:"não está em"},{ oper:'ew', text:"termina com"},{ oper:'en', text:"não termina com"},{ oper:'cn', text:"contém"},{ oper:'nc', text:"não contém"},{ oper:'nu', text:"nulo"},{ oper:'nn', text:"não nulo"}],
  43. groupOps: [ { op: "AND", text: "todos" },{ op: "OR", text: "qualquer um" } ],
  44. operandTitle : "Click to select search operation.",
  45. resetTitle : "Reset Search Value"
  46. },
  47. edit : {
  48. addCaption: "Incluir",
  49. editCaption: "Alterar",
  50. bSubmit: "Enviar",
  51. bCancel: "Cancelar",
  52. bClose: "Fechar",
  53. saveData: "Os dados foram alterados! Salvar alterações?",
  54. bYes : "Sim",
  55. bNo : "Não",
  56. bExit : "Cancelar",
  57. msg: {
  58. required:"Campo obrigatório",
  59. number:"Por favor, informe um número válido",
  60. minValue:"valor deve ser igual ou maior que ",
  61. maxValue:"valor deve ser menor ou igual a",
  62. email: "este e-mail não é válido",
  63. integer: "Por favor, informe um valor inteiro",
  64. date: "Por favor, informe uma data válida",
  65. url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')",
  66. nodefined : " não está definido!",
  67. novalue : " um valor de retorno é obrigatório!",
  68. customarray : "Função customizada deve retornar um array!",
  69. customfcheck : "Função customizada deve estar presente em caso de validação customizada!"
  70. }
  71. },
  72. view : {
  73. caption: "Ver Registro",
  74. bClose: "Fechar"
  75. },
  76. del : {
  77. caption: "Apagar",
  78. msg: "Apagar registro(s) selecionado(s)?",
  79. bSubmit: "Apagar",
  80. bCancel: "Cancelar"
  81. },
  82. nav : {
  83. edittext: "",
  84. edittitle: "Alterar registro selecionado",
  85. addtext: "",
  86. addtitle: "Incluir novo registro",
  87. deltext: "",
  88. deltitle: "Apagar registro selecionado",
  89. searchtext: "",
  90. searchtitle: "Procurar registros",
  91. refreshtext: "",
  92. refreshtitle: "Recarregando tabela",
  93. alertcap: "Aviso",
  94. alerttext: "Por favor, selecione um registro",
  95. viewtext: "",
  96. viewtitle: "Ver linha selecionada"
  97. },
  98. col : {
  99. caption: "Mostrar/Esconder Colunas",
  100. bSubmit: "Enviar",
  101. bCancel: "Cancelar"
  102. },
  103. errors : {
  104. errcap : "Erro",
  105. nourl : "Nenhuma URL definida",
  106. norecords: "Sem registros para exibir",
  107. model : "Comprimento de colNames <> colModel!"
  108. },
  109. formatter : {
  110. integer : {thousandsSeparator: " ", defaultValue: '0'},
  111. number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
  112. currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'},
  113. date : {
  114. dayNames: [
  115. "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
  116. "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"
  117. ],
  118. monthNames: [
  119. "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
  120. "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
  121. ],
  122. AmPm : ["am","pm","AM","PM"],
  123. S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º';},
  124. srcformat: 'Y-m-d',
  125. newformat: 'd/m/Y',
  126. masks : {
  127. ShortDate: "n/j/Y",
  128. LongDate: "l, F d, Y",
  129. FullDateTime: "l, F d, Y g:i:s A",
  130. MonthDay: "F d",
  131. ShortTime: "g:i A",
  132. LongTime: "g:i:s A",
  133. YearMonth: "F, Y"
  134. }
  135. }
  136. }
  137. };
  138. $.jgrid = $.jgrid || {};
  139. $.extend(true, $.jgrid, {
  140. defaults: {
  141. locale: "pt-BR"
  142. },
  143. locales: {
  144. // In general the property name is free, but it's recommended to use the names based on
  145. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  146. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  147. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  148. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  149. "pt-BR": locInfo
  150. }
  151. });
  152. }(jQuery));