Browse Source

Merge pull request #4477 from lfelizari/patch-1

Updated bootstrap-table-pt-BR.js
文翼 6 years ago
parent
commit
bbe3196df8
1 changed files with 15 additions and 14 deletions
  1. 15 14
      src/locale/bootstrap-table-pt-BR.js

+ 15 - 14
src/locale/bootstrap-table-pt-BR.js

@@ -2,6 +2,7 @@
  * Bootstrap Table Brazilian Portuguese Translation
  * Bootstrap Table Brazilian Portuguese Translation
  * Author: Eduardo Cerqueira<egcerqueira@gmail.com>
  * Author: Eduardo Cerqueira<egcerqueira@gmail.com>
  * Update: João Mello<jmello@hotmail.com.br>
  * Update: João Mello<jmello@hotmail.com.br>
+ * Update: Leandro Felizari<lfelizari@gmail.com>
  */
  */
 
 
 $.fn.bootstrapTable.locales['pt-BR'] = {
 $.fn.bootstrapTable.locales['pt-BR'] = {
@@ -19,19 +20,19 @@ $.fn.bootstrapTable.locales['pt-BR'] = {
     return `Exibindo ${pageFrom} até ${pageTo} de ${totalRows} linhas`
     return `Exibindo ${pageFrom} até ${pageTo} de ${totalRows} linhas`
   },
   },
   formatSRPaginationPreText () {
   formatSRPaginationPreText () {
-    return 'previous page'
+    return 'página anterior'
   },
   },
   formatSRPaginationPageText (page) {
   formatSRPaginationPageText (page) {
-    return `to page ${page}`
+    return `Para a página ${page}`
   },
   },
   formatSRPaginationNextText () {
   formatSRPaginationNextText () {
-    return 'next page'
+    return 'próxima página'
   },
   },
   formatDetailPagination (totalRows) {
   formatDetailPagination (totalRows) {
-    return `Showing ${totalRows} rows`
+    return `Mostrando ${totalRows} linhas`
   },
   },
   formatClearSearch () {
   formatClearSearch () {
-    return 'Clear Search'
+    return 'Limpar Pasquisa'
   },
   },
   formatSearch () {
   formatSearch () {
     return 'Pesquisar'
     return 'Pesquisar'
@@ -43,10 +44,10 @@ $.fn.bootstrapTable.locales['pt-BR'] = {
     return 'Ocultar/Exibir paginação'
     return 'Ocultar/Exibir paginação'
   },
   },
   formatPaginationSwitchDown () {
   formatPaginationSwitchDown () {
-    return 'Show pagination'
+    return 'Mostrar Paginação'
   },
   },
   formatPaginationSwitchUp () {
   formatPaginationSwitchUp () {
-    return 'Hide pagination'
+    return 'Esconder Paginação'
   },
   },
   formatRefresh () {
   formatRefresh () {
     return 'Recarregar'
     return 'Recarregar'
@@ -67,25 +68,25 @@ $.fn.bootstrapTable.locales['pt-BR'] = {
     return 'Toggle all'
     return 'Toggle all'
   },
   },
   formatFullscreen () {
   formatFullscreen () {
-    return 'Fullscreen'
+    return 'Tela cheia'
   },
   },
   formatAllRows () {
   formatAllRows () {
-    return 'All'
+    return 'Tudo'
   },
   },
   formatAutoRefresh () {
   formatAutoRefresh () {
-    return 'Auto Refresh'
+    return 'Atualização Automática'
   },
   },
   formatExport () {
   formatExport () {
-    return 'Export data'
+    return 'Exportar dados'
   },
   },
   formatJumpTo () {
   formatJumpTo () {
-    return 'GO'
+    return 'IR'
   },
   },
   formatAdvancedSearch () {
   formatAdvancedSearch () {
-    return 'Advanced search'
+    return 'Pesquisa Avançada'
   },
   },
   formatAdvancedCloseButton () {
   formatAdvancedCloseButton () {
-    return 'Close'
+    return 'Fechar'
   }
   }
 }
 }