1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | $.fn.bootstrapTable.locales['pt-BR'] = {
|
10 | formatCopyRows () {
|
11 | return 'Copy Rows'
|
12 | },
|
13 | formatPrint () {
|
14 | return 'Print'
|
15 | },
|
16 | formatLoadingMessage () {
|
17 | return 'Carregando, aguarde'
|
18 | },
|
19 | formatRecordsPerPage (pageNumber) {
|
20 | return `${pageNumber} registros por página`
|
21 | },
|
22 | formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
|
23 | if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
|
24 | return `Exibindo ${pageFrom} até ${pageTo} de ${totalRows} linhas (filtradas de um total de ${totalNotFiltered} linhas)`
|
25 | }
|
26 |
|
27 | return `Exibindo ${pageFrom} até ${pageTo} de ${totalRows} linhas`
|
28 | },
|
29 | formatSRPaginationPreText () {
|
30 | return 'página anterior'
|
31 | },
|
32 | formatSRPaginationPageText (page) {
|
33 | return `Para a página ${page}`
|
34 | },
|
35 | formatSRPaginationNextText () {
|
36 | return 'próxima página'
|
37 | },
|
38 | formatDetailPagination (totalRows) {
|
39 | return `Mostrando ${totalRows} linhas`
|
40 | },
|
41 | formatClearSearch () {
|
42 | return 'Limpar Pesquisa'
|
43 | },
|
44 | formatSearch () {
|
45 | return 'Pesquisar'
|
46 | },
|
47 | formatNoMatches () {
|
48 | return 'Nenhum registro encontrado'
|
49 | },
|
50 | formatPaginationSwitch () {
|
51 | return 'Ocultar/Exibir paginação'
|
52 | },
|
53 | formatPaginationSwitchDown () {
|
54 | return 'Mostrar Paginação'
|
55 | },
|
56 | formatPaginationSwitchUp () {
|
57 | return 'Esconder Paginação'
|
58 | },
|
59 | formatRefresh () {
|
60 | return 'Recarregar'
|
61 | },
|
62 | formatToggleOn () {
|
63 | return 'Show card view'
|
64 | },
|
65 | formatToggleOff () {
|
66 | return 'Hide card view'
|
67 | },
|
68 | formatColumns () {
|
69 | return 'Colunas'
|
70 | },
|
71 | formatColumnsToggleAll () {
|
72 | return 'Alternar tudo'
|
73 | },
|
74 | formatFullscreen () {
|
75 | return 'Tela cheia'
|
76 | },
|
77 | formatAllRows () {
|
78 | return 'Tudo'
|
79 | },
|
80 | formatAutoRefresh () {
|
81 | return 'Atualização Automática'
|
82 | },
|
83 | formatExport () {
|
84 | return 'Exportar dados'
|
85 | },
|
86 | formatJumpTo () {
|
87 | return 'IR'
|
88 | },
|
89 | formatAdvancedSearch () {
|
90 | return 'Pesquisa Avançada'
|
91 | },
|
92 | formatAdvancedCloseButton () {
|
93 | return 'Fechar'
|
94 | },
|
95 | formatFilterControlSwitch () {
|
96 | return 'Ocultar/Exibir controles'
|
97 | },
|
98 | formatFilterControlSwitchHide () {
|
99 | return 'Ocultar controles'
|
100 | },
|
101 | formatFilterControlSwitchShow () {
|
102 | return 'Exibir controles'
|
103 | }
|
104 | }
|
105 |
|
106 | $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['pt-BR'])
|