| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- /**
- * Bootstrap Table Portuguese Portugal Translation
- * Author: Burnspirit<burnspirit@gmail.com>
- */
- ($ => {
- $.fn.bootstrapTable.locales['pt-PT'] = {
- formatLoadingMessage () {
- return 'A carregar, por favor aguarde'
- },
- formatRecordsPerPage (pageNumber) {
- return `${pageNumber} registos por página`
- },
- formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
- if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered < totalRows) {
- return `A mostrar ${pageFrom} até ${pageTo} de ${totalRows} linhas (filtered from ${totalNotFiltered} total entries)`
- }
- return `A mostrar ${pageFrom} até ${pageTo} de ${totalRows} linhas`
- },
- formatDetailPagination (totalRows) {
- return `Showing ${totalRows} rows`
- },
- formatSearch () {
- return 'Pesquisa'
- },
- formatNoMatches () {
- return 'Nenhum registo encontrado'
- },
- formatPaginationSwitch () {
- return 'Esconder/Mostrar paginação'
- },
- formatRefresh () {
- return 'Atualizar'
- },
- formatToggle () {
- return 'Alternar'
- },
- formatColumns () {
- return 'Colunas'
- },
- formatFullscreen () {
- return 'Fullscreen'
- },
- formatAllRows () {
- return 'Tudo'
- },
- formatAutoRefresh () {
- return 'Auto Refresh'
- },
- formatExport () {
- return 'Export data'
- },
- formatClearFilters () {
- return 'Clear filters'
- },
- formatJumpTo () {
- return 'GO'
- },
- formatAdvancedSearch () {
- return 'Advanced search'
- },
- formatAdvancedCloseButton () {
- return 'Close'
- }
- }
- $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-PT'])
- })(jQuery)
|