Browse Source

Updated french and dutch translations (#4480)

* Updated bootstrap-table-fr-BE.js

* Updated bootstrap-table-fr-FR.js

* Updated bootstrap-table-fr-BE.js again

* Added bootstrap-table-fr-CH.js and bootstrap-table-fr-LU.js

* Updated bootstrap-table-nl-BE.js and bootstrap-table-nl-NL.js
Steven 6 years ago
parent
commit
784e67de43

+ 26 - 25
src/locale/bootstrap-table-fr-BE.js

@@ -1,6 +1,7 @@
 /**
  * Bootstrap Table French (Belgium) translation
  * Author: Julien Bisconti (julien.bisconti@gmail.com)
+ *         Nevets82 <Nevets82@gmail.com>
  */
 
 $.fn.bootstrapTable.locales['fr-BE'] = {
@@ -8,83 +9,83 @@ $.fn.bootstrapTable.locales['fr-BE'] = {
     return 'Chargement en cours'
   },
   formatRecordsPerPage (pageNumber) {
-    return `${pageNumber} entrées par page`
+    return `${pageNumber} lignes par page`
   },
   formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
     if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
-      return `Affiche de${pageFrom} à ${pageTo} sur ${totalRows} lignes (filtered from ${totalNotFiltered} total rows)`
+      return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes (filtrés à partir de ${totalNotFiltered} lignes)`
     }
 
-    return `Affiche de${pageFrom} à ${pageTo} sur ${totalRows} lignes`
+    return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes`
   },
   formatSRPaginationPreText () {
-    return 'previous page'
+    return 'page précédente'
   },
   formatSRPaginationPageText (page) {
-    return `to page ${page}`
+    return `vers la page ${page}`
   },
   formatSRPaginationNextText () {
-    return 'next page'
+    return 'page suivante'
   },
   formatDetailPagination (totalRows) {
-    return `Showing ${totalRows} rows`
+    return `Affiche ${totalRows} lignes`
   },
   formatClearSearch () {
-    return 'Clear Search'
+    return 'Effacer la recherche'
   },
   formatSearch () {
     return 'Recherche'
   },
   formatNoMatches () {
-    return 'Pas de fichiers trouvés'
+    return 'Pas de lignes trouvés'
   },
   formatPaginationSwitch () {
-    return 'Hide/Show pagination'
+    return 'Cacher/Afficher pagination'
   },
   formatPaginationSwitchDown () {
-    return 'Show pagination'
+    return 'Afficher pagination'
   },
   formatPaginationSwitchUp () {
-    return 'Hide pagination'
+    return 'Cacher pagination'
   },
   formatRefresh () {
-    return 'Refresh'
+    return 'Rafraichir'
   },
   formatToggle () {
-    return 'Toggle'
+    return 'Basculer'
   },
   formatToggleOn () {
-    return 'Show card view'
+    return 'Afficher vue carte'
   },
   formatToggleOff () {
-    return 'Hide card view'
+    return 'Cacher vue carte'
   },
   formatColumns () {
-    return 'Columns'
+    return 'Colonnes'
   },
   formatColumnsToggleAll () {
-    return 'Toggle all'
+    return 'Tout basculer'
   },
   formatFullscreen () {
-    return 'Fullscreen'
+    return 'Plein écran'
   },
   formatAllRows () {
-    return 'All'
+    return 'Tout'
   },
   formatAutoRefresh () {
-    return 'Auto Refresh'
+    return 'Rafraîchissement automatique'
   },
   formatExport () {
-    return 'Export data'
+    return 'Exporter les données'
   },
   formatJumpTo () {
-    return 'GO'
+    return 'Aller à'
   },
   formatAdvancedSearch () {
-    return 'Advanced search'
+    return 'Recherche avancée'
   },
   formatAdvancedCloseButton () {
-    return 'Close'
+    return 'Fermer'
   }
 }
 

+ 91 - 0
src/locale/bootstrap-table-fr-CH.js

@@ -0,0 +1,91 @@
+/**
+ * Bootstrap Table French (Suisse) translation
+ * Author: Nevets82 <Nevets82@gmail.com>
+ */
+
+$.fn.bootstrapTable.locales['fr-CH'] = {
+  formatLoadingMessage () {
+    return 'Chargement en cours'
+  },
+  formatRecordsPerPage (pageNumber) {
+    return `${pageNumber} lignes par page`
+  },
+  formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
+    if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
+      return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes (filtrés à partir de ${totalNotFiltered} lignes)`
+    }
+
+    return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes`
+  },
+  formatSRPaginationPreText () {
+    return 'page précédente'
+  },
+  formatSRPaginationPageText (page) {
+    return `vers la page ${page}`
+  },
+  formatSRPaginationNextText () {
+    return 'page suivante'
+  },
+  formatDetailPagination (totalRows) {
+    return `Affiche ${totalRows} lignes`
+  },
+  formatClearSearch () {
+    return 'Effacer la recherche'
+  },
+  formatSearch () {
+    return 'Recherche'
+  },
+  formatNoMatches () {
+    return 'Pas de lignes trouvés'
+  },
+  formatPaginationSwitch () {
+    return 'Cacher/Afficher pagination'
+  },
+  formatPaginationSwitchDown () {
+    return 'Afficher pagination'
+  },
+  formatPaginationSwitchUp () {
+    return 'Cacher pagination'
+  },
+  formatRefresh () {
+    return 'Rafraichir'
+  },
+  formatToggle () {
+    return 'Basculer'
+  },
+  formatToggleOn () {
+    return 'Afficher vue carte'
+  },
+  formatToggleOff () {
+    return 'Cacher vue carte'
+  },
+  formatColumns () {
+    return 'Colonnes'
+  },
+  formatColumnsToggleAll () {
+    return 'Tout basculer'
+  },
+  formatFullscreen () {
+    return 'Plein écran'
+  },
+  formatAllRows () {
+    return 'Tout'
+  },
+  formatAutoRefresh () {
+    return 'Rafraîchissement automatique'
+  },
+  formatExport () {
+    return 'Exporter les données'
+  },
+  formatJumpTo () {
+    return 'Aller à'
+  },
+  formatAdvancedSearch () {
+    return 'Recherche avancée'
+  },
+  formatAdvancedCloseButton () {
+    return 'Fermer'
+  }
+}
+
+$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['fr-CH'])

+ 24 - 23
src/locale/bootstrap-table-fr-FR.js

@@ -1,85 +1,86 @@
 /**
  * Bootstrap Table French (France) translation
  * Author: Dennis Hernández (http://djhvscf.github.io/Blog/)
- * Modification: Tidalf (https://github.com/TidalfFR)
+ *         Tidalf (https://github.com/TidalfFR)
+ *         Nevets82 <Nevets82@gmail.com>
  */
 
 $.fn.bootstrapTable.locales['fr-FR'] = {
   formatLoadingMessage () {
-    return 'Chargement en cours, patientez, s´il vous plaît'
+    return 'Chargement en cours'
   },
   formatRecordsPerPage (pageNumber) {
     return `${pageNumber} lignes par page`
   },
   formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
     if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
-      return `Affichage des lignes ${pageFrom} à ${pageTo} sur ${totalRows} lignes au total (filtered from ${totalNotFiltered} total rows)`
+      return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes (filtrés à partir de ${totalNotFiltered} lignes)`
     }
 
-    return `Affichage des lignes ${pageFrom} à ${pageTo} sur ${totalRows} lignes au total`
+    return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes`
   },
   formatSRPaginationPreText () {
-    return 'previous page'
+    return 'page précédente'
   },
   formatSRPaginationPageText (page) {
-    return `to page ${page}`
+    return `vers la page ${page}`
   },
   formatSRPaginationNextText () {
-    return 'next page'
+    return 'page suivante'
   },
   formatDetailPagination (totalRows) {
-    return `Showing ${totalRows} rows`
+    return `Affiche ${totalRows} lignes`
   },
   formatClearSearch () {
-    return 'Vider les filtres'
+    return 'Effacer la recherche'
   },
   formatSearch () {
-    return 'Rechercher'
+    return 'Recherche'
   },
   formatNoMatches () {
-    return 'Aucun résultat trouvé'
+    return 'Pas de lignes trouvés'
   },
   formatPaginationSwitch () {
-    return 'Montrer/Masquer pagination'
+    return 'Cacher/Afficher pagination'
   },
   formatPaginationSwitchDown () {
-    return 'Show pagination'
+    return 'Afficher pagination'
   },
   formatPaginationSwitchUp () {
-    return 'Hide pagination'
+    return 'Cacher pagination'
   },
   formatRefresh () {
-    return 'Rafraîchir'
+    return 'Rafraichir'
   },
   formatToggle () {
-    return 'Alterner'
+    return 'Basculer'
   },
   formatToggleOn () {
-    return 'Show card view'
+    return 'Afficher vue carte'
   },
   formatToggleOff () {
-    return 'Hide card view'
+    return 'Cacher vue carte'
   },
   formatColumns () {
     return 'Colonnes'
   },
   formatColumnsToggleAll () {
-    return 'Toggle all'
+    return 'Tout basculer'
   },
   formatFullscreen () {
-    return 'Fullscreen'
+    return 'Plein écran'
   },
   formatAllRows () {
-    return 'Tous'
+    return 'Tout'
   },
   formatAutoRefresh () {
-    return 'Auto Refresh'
+    return 'Rafraîchissement automatique'
   },
   formatExport () {
     return 'Exporter les données'
   },
   formatJumpTo () {
-    return 'GO'
+    return 'Aller à'
   },
   formatAdvancedSearch () {
     return 'Recherche avancée'

+ 91 - 0
src/locale/bootstrap-table-fr-LU.js

@@ -0,0 +1,91 @@
+/**
+ * Bootstrap Table French (Luxembourg) translation
+ * Author: Nevets82 <Nevets82@gmail.com>
+ */
+
+$.fn.bootstrapTable.locales['fr-LU'] = {
+  formatLoadingMessage () {
+    return 'Chargement en cours'
+  },
+  formatRecordsPerPage (pageNumber) {
+    return `${pageNumber} lignes par page`
+  },
+  formatShowingRows (pageFrom, pageTo, totalRows, totalNotFiltered) {
+    if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
+      return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes (filtrés à partir de ${totalNotFiltered} lignes)`
+    }
+
+    return `Affiche de ${pageFrom} à ${pageTo} sur ${totalRows} lignes`
+  },
+  formatSRPaginationPreText () {
+    return 'page précédente'
+  },
+  formatSRPaginationPageText (page) {
+    return `vers la page ${page}`
+  },
+  formatSRPaginationNextText () {
+    return 'page suivante'
+  },
+  formatDetailPagination (totalRows) {
+    return `Affiche ${totalRows} lignes`
+  },
+  formatClearSearch () {
+    return 'Effacer la recherche'
+  },
+  formatSearch () {
+    return 'Recherche'
+  },
+  formatNoMatches () {
+    return 'Pas de lignes trouvés'
+  },
+  formatPaginationSwitch () {
+    return 'Cacher/Afficher pagination'
+  },
+  formatPaginationSwitchDown () {
+    return 'Afficher pagination'
+  },
+  formatPaginationSwitchUp () {
+    return 'Cacher pagination'
+  },
+  formatRefresh () {
+    return 'Rafraichir'
+  },
+  formatToggle () {
+    return 'Basculer'
+  },
+  formatToggleOn () {
+    return 'Afficher vue carte'
+  },
+  formatToggleOff () {
+    return 'Cacher vue carte'
+  },
+  formatColumns () {
+    return 'Colonnes'
+  },
+  formatColumnsToggleAll () {
+    return 'Tout basculer'
+  },
+  formatFullscreen () {
+    return 'Plein écran'
+  },
+  formatAllRows () {
+    return 'Tout'
+  },
+  formatAutoRefresh () {
+    return 'Rafraîchissement automatique'
+  },
+  formatExport () {
+    return 'Exporter les données'
+  },
+  formatJumpTo () {
+    return 'Aller à'
+  },
+  formatAdvancedSearch () {
+    return 'Recherche avancée'
+  },
+  formatAdvancedCloseButton () {
+    return 'Fermer'
+  }
+}
+
+$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['fr-LU'])

+ 3 - 3
src/locale/bootstrap-table-nl-BE.js

@@ -1,9 +1,9 @@
 /**
- * Bootstrap Table Dutch translation
+ * Bootstrap Table Dutch (België) translation
  * Author: Nevets82 <Nevets82@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['nl-NL'] = {
+$.fn.bootstrapTable.locales['nl-BE'] = {
   formatLoadingMessage () {
     return 'Laden, even geduld'
   },
@@ -88,4 +88,4 @@ $.fn.bootstrapTable.locales['nl-NL'] = {
   }
 }
 
-$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['nl-NL'])
+$.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['nl-BE'])

+ 2 - 1
src/locale/bootstrap-table-nl-NL.js

@@ -1,6 +1,7 @@
 /**
- * Bootstrap Table Dutch translation
+ * Bootstrap Table Dutch (Nederland) translation
  * Author: Your Name <info@a2hankes.nl>
+ *         Nevets82 <Nevets82@gmail.com>
  */
 
 $.fn.bootstrapTable.locales['nl-NL'] = {