UNPKG

2.45 kBJavaScriptView Raw
1/**
2 * Bootstrap Table Catalan translation
3 * Authors: Marc Pina<iwalkalone69@gmail.com>
4 * Claudi Martinez<claudix.kernel@gmail.com>
5 */
6
7$.fn.bootstrapTable.locales['ca-ES'] = $.fn.bootstrapTable.locales['ca'] = {
8 formatCopyRows () {
9 return 'Copy Rows'
10 },
11 formatPrint () {
12 return 'Print'
13 },
14 formatLoadingMessage () {
15 return 'Espereu, si us plau'
16 },
17 formatRecordsPerPage (pageNumber) {
18 return `${pageNumber} resultats per pàgina`
19 },
20 formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
21 if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
22 return `Mostrant de ${pageFrom} fins ${pageTo} - total ${totalRows} resultats (filtered from ${totalNotFiltered} total rows)`
23 }
24
25 return `Mostrant de ${pageFrom} fins ${pageTo} - total ${totalRows} resultats`
26 },
27 formatSRPaginationPreText () {
28 return 'previous page'
29 },
30 formatSRPaginationPageText (page) {
31 return `to page ${page}`
32 },
33 formatSRPaginationNextText () {
34 return 'next page'
35 },
36 formatDetailPagination (totalRows) {
37 return `Showing ${totalRows} rows`
38 },
39 formatClearSearch () {
40 return 'Clear Search'
41 },
42 formatSearch () {
43 return 'Cerca'
44 },
45 formatNoMatches () {
46 return 'No s\'han trobat resultats'
47 },
48 formatPaginationSwitch () {
49 return 'Amaga/Mostra paginació'
50 },
51 formatPaginationSwitchDown () {
52 return 'Show pagination'
53 },
54 formatPaginationSwitchUp () {
55 return 'Hide pagination'
56 },
57 formatRefresh () {
58 return 'Refresca'
59 },
60 formatToggleOn () {
61 return 'Show card view'
62 },
63 formatToggleOff () {
64 return 'Hide card view'
65 },
66 formatColumns () {
67 return 'Columnes'
68 },
69 formatColumnsToggleAll () {
70 return 'Toggle all'
71 },
72 formatFullscreen () {
73 return 'Fullscreen'
74 },
75 formatAllRows () {
76 return 'Tots'
77 },
78 formatAutoRefresh () {
79 return 'Auto Refresh'
80 },
81 formatExport () {
82 return 'Export data'
83 },
84 formatJumpTo () {
85 return 'GO'
86 },
87 formatAdvancedSearch () {
88 return 'Advanced search'
89 },
90 formatAdvancedCloseButton () {
91 return 'Close'
92 },
93 formatFilterControlSwitch () {
94 return 'Hide/Show controls'
95 },
96 formatFilterControlSwitchHide () {
97 return 'Hide controls'
98 },
99 formatFilterControlSwitchShow () {
100 return 'Show controls'
101 }
102}
103
104Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ca-ES'])