bootstrap-table-pt-PT.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /**
  2. * Bootstrap Table Portuguese Portugal Translation
  3. * Author: Burnspirit<burnspirit@gmail.com>
  4. */
  5. $.fn.bootstrapTable.locales['pt-PT'] = $.fn.bootstrapTable.locales['pt'] = {
  6. formatCopyRows () {
  7. return 'Copiar Linhas'
  8. },
  9. formatPrint () {
  10. return 'Print'
  11. },
  12. formatLoadingMessage () {
  13. return 'A carregar, por favor aguarde'
  14. },
  15. formatRecordsPerPage (pageNumber) {
  16. return `${pageNumber} registos por p&aacute;gina`
  17. },
  18. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  19. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  20. return `A mostrar ${pageFrom} at&eacute; ${pageTo} de ${totalRows} linhas (filtered from ${totalNotFiltered} total rows)`
  21. }
  22. return `A mostrar ${pageFrom} at&eacute; ${pageTo} de ${totalRows} linhas`
  23. },
  24. formatSRPaginationPreText () {
  25. return 'p&aacute;gina anterior'
  26. },
  27. formatSRPaginationPageText (page) {
  28. return `ir para agina&ccedil&atilde;o ${page}`
  29. },
  30. formatSRPaginationNextText () {
  31. return 'pr&oacute;xima p&aacute;gina'
  32. },
  33. formatDetailPagination (totalRows) {
  34. return `Mostrando ${totalRows} linhas`
  35. },
  36. formatClearSearch () {
  37. return 'Limpar Pesquisa'
  38. },
  39. formatSearch () {
  40. return 'Pesquisa'
  41. },
  42. formatNoMatches () {
  43. return 'Nenhum registo encontrado'
  44. },
  45. formatPaginationSwitch () {
  46. return 'Esconder/Mostrar pagina&ccedil&atilde;o'
  47. },
  48. formatPaginationSwitchDown () {
  49. return 'Mostra pagina&ccedil&atilde;o'
  50. },
  51. formatPaginationSwitchUp () {
  52. return 'Esconder pagina&ccedil&atilde;o'
  53. },
  54. formatRefresh () {
  55. return 'Actualizar'
  56. },
  57. formatToggle () {
  58. return 'Alternar'
  59. },
  60. formatToggleOn () {
  61. return 'Show card view'
  62. },
  63. formatToggleOff () {
  64. return 'Hide card view'
  65. },
  66. formatColumns () {
  67. return 'Colunas'
  68. },
  69. formatColumnsToggleAll () {
  70. return 'Activar tudo'
  71. },
  72. formatFullscreen () {
  73. return 'Ecr&atilde; completo'
  74. },
  75. formatAllRows () {
  76. return 'Tudo'
  77. },
  78. formatAutoRefresh () {
  79. return 'Actualiza&ccedil;&atilde;o autm&aacute;tica'
  80. },
  81. formatExport () {
  82. return 'Exportar dados'
  83. },
  84. formatJumpTo () {
  85. return 'Avan&ccedil;ar'
  86. },
  87. formatAdvancedSearch () {
  88. return 'Pesquisa avan&ccedil;ada'
  89. },
  90. formatAdvancedCloseButton () {
  91. return 'Fechar'
  92. },
  93. formatFilterControlSwitch () {
  94. return 'Esconder/Exibir controlos'
  95. },
  96. formatFilterControlSwitchHide () {
  97. return 'Esconder controlos'
  98. },
  99. formatFilterControlSwitchShow () {
  100. return 'Exibir controlos'
  101. }
  102. }
  103. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-PT'])