UNPKG

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