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