UNPKG

2.43 kBJavaScriptView Raw
1/**
2 * Bootstrap Table French (Suisse) translation
3 * Author: Nevets82 <Nevets82@gmail.com>
4 */
5
6$.fn.bootstrapTable.locales['fr-CH'] = {
7 formatCopyRows () {
8 return 'Copy Rows'
9 },
10 formatPrint () {
11 return 'Print'
12 },
13 formatLoadingMessage () {
14 return 'Chargement en cours'
15 },
16 formatRecordsPerPage (pageNumber) {
17 return `${pageNumber} lignes par page`
18 },
19 formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
20 if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
21 return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes (filtrés à partir de ${totalNotFiltered} lignes)`
22 }
23
24 return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes`
25 },
26 formatSRPaginationPreText () {
27 return 'page précédente'
28 },
29 formatSRPaginationPageText (page) {
30 return `vers la page ${page}`
31 },
32 formatSRPaginationNextText () {
33 return 'page suivante'
34 },
35 formatDetailPagination (totalRows) {
36 return `Affiche ${totalRows} lignes`
37 },
38 formatClearSearch () {
39 return 'Effacer la recherche'
40 },
41 formatSearch () {
42 return 'Recherche'
43 },
44 formatNoMatches () {
45 return 'Pas de lignes trouvés'
46 },
47 formatPaginationSwitch () {
48 return 'Cacher/Afficher pagination'
49 },
50 formatPaginationSwitchDown () {
51 return 'Afficher pagination'
52 },
53 formatPaginationSwitchUp () {
54 return 'Cacher pagination'
55 },
56 formatRefresh () {
57 return 'Rafraichir'
58 },
59 formatToggleOn () {
60 return 'Afficher vue carte'
61 },
62 formatToggleOff () {
63 return 'Cacher vue carte'
64 },
65 formatColumns () {
66 return 'Colonnes'
67 },
68 formatColumnsToggleAll () {
69 return 'Tout basculer'
70 },
71 formatFullscreen () {
72 return 'Plein écran'
73 },
74 formatAllRows () {
75 return 'Tout'
76 },
77 formatAutoRefresh () {
78 return 'Rafraîchissement automatique'
79 },
80 formatExport () {
81 return 'Exporter les données'
82 },
83 formatJumpTo () {
84 return 'Aller à'
85 },
86 formatAdvancedSearch () {
87 return 'Recherche avancée'
88 },
89 formatAdvancedCloseButton () {
90 return 'Fermer'
91 },
92 formatFilterControlSwitch () {
93 return 'Cacher/Afficher controls'
94 },
95 formatFilterControlSwitchHide () {
96 return 'Cacher controls'
97 },
98 formatFilterControlSwitchShow () {
99 return 'Afficher controls'
100 }
101}
102
103Object.assign($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['fr-CH'])