bootstrap-table-pt-BR.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /**
  2. * Bootstrap Table Brazilian Portuguese Translation
  3. * Author: Eduardo Cerqueira<egcerqueira@gmail.com>
  4. * Update: João Mello<jmello@hotmail.com.br>
  5. */
  6. ($ => {
  7. $.fn.bootstrapTable.locales['pt-BR'] = {
  8. formatLoadingMessage () {
  9. return 'Carregando, aguarde...'
  10. },
  11. formatRecordsPerPage (pageNumber) {
  12. return `${pageNumber} registros por página`
  13. },
  14. formatShowingRows (pageFrom, pageTo, totalRows) {
  15. return `Exibindo ${pageFrom} até ${pageTo} de ${totalRows} linhas`
  16. },
  17. formatDetailPagination (totalRows) {
  18. return `Showing ${totalRows} rows`
  19. },
  20. formatSearch () {
  21. return 'Pesquisar'
  22. },
  23. formatNoMatches () {
  24. return 'Nenhum registro encontrado'
  25. },
  26. formatPaginationSwitch () {
  27. return 'Ocultar/Exibir paginação'
  28. },
  29. formatRefresh () {
  30. return 'Recarregar'
  31. },
  32. formatToggle () {
  33. return 'Alternar'
  34. },
  35. formatColumns () {
  36. return 'Colunas'
  37. },
  38. formatFullscreen () {
  39. return 'Fullscreen'
  40. },
  41. formatAllRows () {
  42. return 'All'
  43. },
  44. formatAutoRefresh () {
  45. return 'Auto Refresh'
  46. },
  47. formatExport () {
  48. return 'Export data'
  49. },
  50. formatClearFilters () {
  51. return 'Clear filters'
  52. },
  53. formatJumpto () {
  54. return 'GO'
  55. },
  56. formatAdvancedSearch () {
  57. return 'Advanced search'
  58. },
  59. formatAdvancedCloseButton () {
  60. return 'Close'
  61. }
  62. }
  63. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-BR'])
  64. })(jQuery)