bootstrap-table-pt-PT.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. /**
  2. * Bootstrap Table Portuguese Portugal Translation
  3. * Author: Burnspirit<burnspirit@gmail.com>
  4. * Update: @misteregis <misteregis@gmail.com>
  5. */
  6. $.fn.bootstrapTable.locales['pt-PT'] = $.fn.bootstrapTable.locales['pt'] = {
  7. formatCopyRows () {
  8. return 'Copiar Linhas'
  9. },
  10. formatPrint () {
  11. return 'Imprimir'
  12. },
  13. formatLoadingMessage () {
  14. return 'A carregar, por favor aguarde'
  15. },
  16. formatRecordsPerPage (pageNumber) {
  17. return `${pageNumber} registos por página`
  18. },
  19. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  20. const plural = totalRows > 1 ? 's' : ''
  21. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  22. return `A mostrar ${pageFrom} at&eacute; ${pageTo} de ${totalRows} linha${plural} (filtrado de um total de ${totalNotFiltered} linha${plural})`
  23. }
  24. return `A mostrar ${pageFrom} até ${pageTo} de ${totalRows} linha${plural}`
  25. },
  26. formatSRPaginationPreText () {
  27. return 'página anterior'
  28. },
  29. formatSRPaginationPageText (page) {
  30. return `ir para página ${page}`
  31. },
  32. formatSRPaginationNextText () {
  33. return 'próxima página'
  34. },
  35. formatDetailPagination (totalRows) {
  36. return `Mostrando ${totalRows} linha${totalRows > 1 ? 's' : ''}`
  37. },
  38. formatClearSearch () {
  39. return 'Limpar Pesquisa'
  40. },
  41. formatSearch () {
  42. return 'Pesquisa'
  43. },
  44. formatNoMatches () {
  45. return 'Nenhum registo encontrado'
  46. },
  47. formatPaginationSwitch () {
  48. return 'Esconder/Mostrar paginação'
  49. },
  50. formatPaginationSwitchDown () {
  51. return 'Mostrar página'
  52. },
  53. formatPaginationSwitchUp () {
  54. return 'Esconder página'
  55. },
  56. formatRefresh () {
  57. return 'Actualizar'
  58. },
  59. formatToggleOn () {
  60. return 'Mostrar vista em forma de cartão'
  61. },
  62. formatToggleOff () {
  63. return 'Esconder vista em forma de cartão'
  64. },
  65. formatColumns () {
  66. return 'Colunas'
  67. },
  68. formatColumnsToggleAll () {
  69. return 'Activar tudo'
  70. },
  71. formatFullscreen () {
  72. return 'Ecrã completo'
  73. },
  74. formatAllRows () {
  75. return 'Tudo'
  76. },
  77. formatAutoRefresh () {
  78. return 'Actualização autmática'
  79. },
  80. formatExport () {
  81. return 'Exportar dados'
  82. },
  83. formatJumpTo () {
  84. return 'Avançar'
  85. },
  86. formatAdvancedSearch () {
  87. return 'Pesquisa avançada'
  88. },
  89. formatAdvancedCloseButton () {
  90. return 'Fechar'
  91. },
  92. formatFilterControlSwitch () {
  93. return 'Ocultar/Exibir controles'
  94. },
  95. formatFilterControlSwitchHide () {
  96. return 'Esconder controlos'
  97. },
  98. formatFilterControlSwitchShow () {
  99. return 'Exibir controlos'
  100. },
  101. formatAddLevel () {
  102. return 'Adicionar nível'
  103. },
  104. formatCancel () {
  105. return 'Cancelar'
  106. },
  107. formatColumn () {
  108. return 'Coluna'
  109. },
  110. formatDeleteLevel () {
  111. return 'Remover nível'
  112. },
  113. formatDuplicateAlertTitle () {
  114. return 'Foram encontradas entradas duplicadas!'
  115. },
  116. formatDuplicateAlertDescription () {
  117. return 'Por favor, remova ou altere as colunas duplicadas'
  118. },
  119. formatMultipleSort () {
  120. return 'Ordenação múltipla'
  121. },
  122. formatOrder () {
  123. return 'Ordem'
  124. },
  125. formatSort () {
  126. return 'Ordenar'
  127. },
  128. formatSortBy () {
  129. return 'Ordenar por'
  130. },
  131. formatThenBy () {
  132. return 'em seguida'
  133. },
  134. formatSortOrders () {
  135. return {
  136. asc: 'Ascendente',
  137. desc: 'Descendente'
  138. }
  139. }
  140. }
  141. Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-PT'])