UNPKG

2.4 kBJavaScriptView Raw
1/**
2 * Bootstrap Table Romanian translation
3 * Author: cristake <cristianiosif@me.com>
4 */
5
6$.fn.bootstrapTable.locales['ro-RO'] = $.fn.bootstrapTable.locales['ro'] = {
7 formatCopyRows () {
8 return 'Copy Rows'
9 },
10 formatPrint () {
11 return 'Print'
12 },
13 formatLoadingMessage () {
14 return 'Se incarca, va rugam asteptati'
15 },
16 formatRecordsPerPage (pageNumber) {
17 return `${pageNumber} inregistrari pe pagina`
18 },
19 formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
20 if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
21 return `Arata de la ${pageFrom} pana la ${pageTo} din ${totalRows} randuri (filtered from ${totalNotFiltered} total rows)`
22 }
23
24 return `Arata de la ${pageFrom} pana la ${pageTo} din ${totalRows} randuri`
25 },
26 formatSRPaginationPreText () {
27 return 'previous page'
28 },
29 formatSRPaginationPageText (page) {
30 return `to page ${page}`
31 },
32 formatSRPaginationNextText () {
33 return 'next page'
34 },
35 formatDetailPagination (totalRows) {
36 return `Showing ${totalRows} rows`
37 },
38 formatClearSearch () {
39 return 'Clear Search'
40 },
41 formatSearch () {
42 return 'Cauta'
43 },
44 formatNoMatches () {
45 return 'Nu au fost gasite inregistrari'
46 },
47 formatPaginationSwitch () {
48 return 'Ascunde/Arata paginatia'
49 },
50 formatPaginationSwitchDown () {
51 return 'Show pagination'
52 },
53 formatPaginationSwitchUp () {
54 return 'Hide pagination'
55 },
56 formatRefresh () {
57 return 'Reincarca'
58 },
59 formatToggleOn () {
60 return 'Show card view'
61 },
62 formatToggleOff () {
63 return 'Hide card view'
64 },
65 formatColumns () {
66 return 'Coloane'
67 },
68 formatColumnsToggleAll () {
69 return 'Toggle all'
70 },
71 formatFullscreen () {
72 return 'Fullscreen'
73 },
74 formatAllRows () {
75 return 'Toate'
76 },
77 formatAutoRefresh () {
78 return 'Auto Refresh'
79 },
80 formatExport () {
81 return 'Export data'
82 },
83 formatJumpTo () {
84 return 'GO'
85 },
86 formatAdvancedSearch () {
87 return 'Advanced search'
88 },
89 formatAdvancedCloseButton () {
90 return 'Close'
91 },
92 formatFilterControlSwitch () {
93 return 'Hide/Show controls'
94 },
95 formatFilterControlSwitchHide () {
96 return 'Hide controls'
97 },
98 formatFilterControlSwitchShow () {
99 return 'Show controls'
100 }
101}
102
103Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['ro-RO'])