UNPKG

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