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