diff --git a/js/gpxedit.js b/js/gpxedit.js index ad52dde..3ba4a03 100644 --- a/js/gpxedit.js +++ b/js/gpxedit.js @@ -829,7 +829,8 @@ function loadAction(file){ !endsWith(file, '.kml') || !endsWith(file, '.jpg') || !endsWith(file, '.csv')){ - OC.dialogs.alert(t('gpxedit', 'This file cannot be loaded'),t('gpxedit', 'Load error')); + OC.dialogs.alert(t('gpxedit', 'Impossible to load this file. ')+ + t('gpxedit', 'Supported formats are gpx, kml, csv (unicsv) and jpg.'),t('gpxedit', 'Load error')); return; } diff --git a/l10n/fr.js b/l10n/fr.js index 0231d6f..be1938c 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -2,6 +2,9 @@ OC.L10N.register( "gpxedit", { "Where to save" : "Où enregistrer", + "Impossible to load this file. " : "Impossible de charger ce fichier. ", + "Supported formats are gpx, kml, csv (unicsv) and jpg." : "Les formats pris en charge sont gpx, kml, csv (unicsv) et jpg", + "Load error" : "Erreur de chargement", "Draw a track" : "Dessiner une trace", "Add a waypoint" : "Ajouter une étape", "Edit" : "Éditer",