bootstrap-table-fr-FR.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /**
  2. * Bootstrap Table French (France) translation
  3. * Author: Dennis Hernández (http://djhvscf.github.io/Blog/)
  4. * Modification: Tidalf (https://github.com/TidalfFR)
  5. */
  6. $.fn.bootstrapTable.locales['fr-FR'] = {
  7. formatLoadingMessage () {
  8. return 'Chargement en cours, patientez, s´il vous plaît'
  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 `Affichage des lignes ${pageFrom} à ${pageTo} sur ${totalRows} lignes au total (filtered from ${totalNotFiltered} total rows)`
  16. }
  17. return `Affichage des lignes ${pageFrom} à ${pageTo} sur ${totalRows} lignes au total`
  18. },
  19. formatSRPaginationPreText () {
  20. return 'previous page'
  21. },
  22. formatSRPaginationPageText (page) {
  23. return `to page ${page}`
  24. },
  25. formatSRPaginationNextText () {
  26. return 'next page'
  27. },
  28. formatDetailPagination (totalRows) {
  29. return `Showing ${totalRows} rows`
  30. },
  31. formatClearSearch () {
  32. return 'Vider les filtres'
  33. },
  34. formatSearch () {
  35. return 'Rechercher'
  36. },
  37. formatNoMatches () {
  38. return 'Aucun résultat trouvé'
  39. },
  40. formatPaginationSwitch () {
  41. return 'Montrer/Masquer pagination'
  42. },
  43. formatPaginationSwitchDown () {
  44. return 'Show pagination'
  45. },
  46. formatPaginationSwitchUp () {
  47. return 'Hide pagination'
  48. },
  49. formatRefresh () {
  50. return 'Rafraîchir'
  51. },
  52. formatToggle () {
  53. return 'Alterner'
  54. },
  55. formatToggleOn () {
  56. return 'Show card view'
  57. },
  58. formatToggleOff () {
  59. return 'Hide card view'
  60. },
  61. formatColumns () {
  62. return 'Colonnes'
  63. },
  64. formatFullscreen () {
  65. return 'Fullscreen'
  66. },
  67. formatAllRows () {
  68. return 'Tous'
  69. },
  70. formatAutoRefresh () {
  71. return 'Auto Refresh'
  72. },
  73. formatExport () {
  74. return 'Exporter les données'
  75. },
  76. formatJumpTo () {
  77. return 'GO'
  78. },
  79. formatAdvancedSearch () {
  80. return 'Recherche avancée'
  81. },
  82. formatAdvancedCloseButton () {
  83. return 'Fermer'
  84. }
  85. }
  86. $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['fr-FR'])