bootstrap-table-fr-FR.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /**
  2. * Bootstrap Table French (France) translation
  3. * Author: Dennis Hernández (http://djhvscf.github.io/Blog/)
  4. * Tidalf (https://github.com/TidalfFR)
  5. * Nevets82 <Nevets82@gmail.com>
  6. */
  7. $.fn.bootstrapTable.locales['fr-FR'] = {
  8. formatLoadingMessage () {
  9. return 'Chargement en cours'
  10. },
  11. formatRecordsPerPage (pageNumber) {
  12. return `${pageNumber} lignes par page`
  13. },
  14. formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
  15. if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
  16. return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes (filtrés à partir de ${totalNotFiltered} lignes)`
  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 'Aucun résultat'
  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. formatFilterControlSwitch () {
  90. return 'Cacher/Afficher controls'
  91. },
  92. formatFilterControlSwitchHide () {
  93. return 'Cacher controls'
  94. },
  95. formatFilterControlSwitchShow () {
  96. return 'Afficher controls'
  97. }
  98. }
  99. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['fr-FR'])