PageRenderTime 70ms CodeModel.GetById 18ms RepoModel.GetById 7ms app.codeStats 0ms

/ajax/libs/free-jqgrid/4.11.1/js/i18n/grid.locale-pt.js

https://gitlab.com/Mirros/cdnjs
JavaScript | 164 lines | 149 code | 1 blank | 14 comment | 2 complexity | c695f995a28311acc338b0f3cc3638fa MD5 | raw file
  1. /**
  2. * @license jqGrid Portuguese Translation
  3. * Tradução da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
  4. * Dual licensed under the MIT and GPL licenses:
  5. * http://www.opensource.org/licenses/mit-license.php
  6. * http://www.gnu.org/licenses/gpl.html
  7. **/
  8. /*jslint white: true */
  9. /*global jQuery */
  10. (function ($) {
  11. "use strict";
  12. var locInfo = {
  13. isRTL: false,
  14. defaults: {
  15. recordtext: "View {0} - {1} of {2}",
  16. emptyrecords: "No records to view",
  17. loadtext: "A carregar...",
  18. pgtext: "Página {0} de {1}",
  19. pgfirst: "First Page",
  20. pglast: "Last Page",
  21. pgnext: "Next Page",
  22. pgprev: "Previous Page",
  23. pgrecs: "Records per Page",
  24. showhide: "Toggle Expand Collapse Grid",
  25. savetext: "A guardar..."
  26. },
  27. search: {
  28. caption: "Busca...",
  29. Find: "Procurar",
  30. Reset: "Limpar",
  31. odata: [
  32. { oper: "eq", text: "equal" },
  33. { oper: "ne", text: "not equal" },
  34. { oper: "lt", text: "less" },
  35. { oper: "le", text: "less or equal" },
  36. { oper: "gt", text: "greater" },
  37. { oper: "ge", text: "greater or equal" },
  38. { oper: "bw", text: "begins with" },
  39. { oper: "bn", text: "does not begin with" },
  40. { oper: "in", text: "is in" },
  41. { oper: "ni", text: "is not in" },
  42. { oper: "ew", text: "ends with" },
  43. { oper: "en", text: "does not end with" },
  44. { oper: "cn", text: "contains" },
  45. { oper: "nc", text: "does not contain" },
  46. { oper: "nu", text: "is null" },
  47. { oper: "nn", text: "is not null" }
  48. ],
  49. groupOps: [
  50. { op: "AND", text: "all" },
  51. { op: "OR", text: "any" }
  52. ],
  53. operandTitle: "Click to select search operation.",
  54. resetTitle: "Reset Search Value"
  55. },
  56. edit: {
  57. addCaption: "Adicionar Registo",
  58. editCaption: "Modificar Registo",
  59. bSubmit: "Submeter",
  60. bCancel: "Cancelar",
  61. bClose: "Fechar",
  62. saveData: "Data has been changed! Save changes?",
  63. bYes: "Yes",
  64. bNo: "No",
  65. bExit: "Cancel",
  66. msg: {
  67. required: "Campo obrigatório",
  68. number: "Por favor, introduza um numero",
  69. minValue: "O valor deve ser maior ou igual que",
  70. maxValue: "O valor deve ser menor ou igual a",
  71. email: "Não é um endereço de email válido",
  72. integer: "Por favor, introduza um numero inteiro",
  73. url: "is not a valid URL. Prefix required ('http://' or 'https://')",
  74. nodefined: " is not defined!",
  75. novalue: " return value is required!",
  76. customarray: "Custom function should return array!",
  77. customfcheck: "Custom function should be present in case of custom checking!"
  78. }
  79. },
  80. view: {
  81. caption: "View Record",
  82. bClose: "Close"
  83. },
  84. del: {
  85. caption: "Eliminar",
  86. msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
  87. bSubmit: "Eliminar",
  88. bCancel: "Cancelar"
  89. },
  90. nav: {
  91. edittext: "",
  92. edittitle: "Modificar registo seleccionado",
  93. addtext: "",
  94. addtitle: "Adicionar novo registo",
  95. deltext: "",
  96. deltitle: "Eliminar registo seleccionado",
  97. searchtext: "",
  98. searchtitle: "Procurar",
  99. refreshtext: "",
  100. refreshtitle: "Actualizar",
  101. alertcap: "Aviso",
  102. alerttext: "Por favor, seleccione um registo",
  103. viewtext: "",
  104. viewtitle: "View selected row"
  105. },
  106. col: {
  107. caption: "Mostrar/Ocultar Colunas",
  108. bSubmit: "Enviar",
  109. bCancel: "Cancelar"
  110. },
  111. errors: {
  112. errcap: "Erro",
  113. nourl: "Não especificou um url",
  114. norecords: "Não existem dados para processar",
  115. model: "Tamanho do colNames <> colModel!"
  116. },
  117. formatter: {
  118. integer: { thousandsSeparator: " ", defaultValue: "0" },
  119. number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0.00" },
  120. currency: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
  121. date: {
  122. dayNames: [
  123. "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
  124. "Domingo", "Segunda-Feira", "Terça-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "Sábado"
  125. ],
  126. monthNames: [
  127. "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
  128. "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
  129. ],
  130. AmPm: ["am", "pm", "AM", "PM"],
  131. S: function (j) {
  132. return j < 11 || j > 13 ? ["º", "º", "º", "º"][Math.min((j - 1) % 10, 3)] : "º";
  133. },
  134. srcformat: "Y-m-d",
  135. newformat: "d/m/Y",
  136. masks: {
  137. ShortDate: "n/j/Y",
  138. LongDate: "l, F d, Y",
  139. FullDateTime: "l, F d, Y g:i:s A",
  140. MonthDay: "F d",
  141. ShortTime: "g:i A",
  142. LongTime: "g:i:s A",
  143. YearMonth: "F, Y"
  144. }
  145. }
  146. }
  147. };
  148. $.jgrid = $.jgrid || {};
  149. $.extend(true, $.jgrid, {
  150. defaults: {
  151. locale: "pt"
  152. },
  153. locales: {
  154. // In general the property name is free, but it's recommended to use the names based on
  155. // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
  156. // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
  157. // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
  158. // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
  159. pt: $.extend({}, locInfo, { name: "Português", nameEnglish: "Portuguese" }),
  160. "pt-PT": $.extend({}, locInfo, { name: "português (Portugal)", nameEnglish: "Portuguese (Portugal)" })
  161. }
  162. });
  163. }(jQuery));