UNPKG

1.01 kBJavaScriptView Raw
1/**
2 * Bootstrap Table Portuguese Portugal Translation
3 * Author: Burnspirit<burnspirit@gmail.com>
4 */
5($ => {
6 $.fn.bootstrapTable.locales['pt-PT'] = {
7 formatLoadingMessage () {
8 return 'A carregar, por favor aguarde...'
9 },
10 formatRecordsPerPage (pageNumber) {
11 return `${pageNumber} registos por p&aacute;gina`
12 },
13 formatShowingRows (pageFrom, pageTo, totalRows) {
14 return `A mostrar ${pageFrom} at&eacute; ${pageTo} de ${totalRows} linhas`
15 },
16 formatSearch () {
17 return 'Pesquisa'
18 },
19 formatNoMatches () {
20 return 'Nenhum registo encontrado'
21 },
22 formatPaginationSwitch () {
23 return 'Esconder/Mostrar pagina&ccedil&atilde;o'
24 },
25 formatRefresh () {
26 return 'Atualizar'
27 },
28 formatToggle () {
29 return 'Alternar'
30 },
31 formatColumns () {
32 return 'Colunas'
33 },
34 formatAllRows () {
35 return 'Tudo'
36 }
37 }
38
39 $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-PT'])
40})(jQuery)