From 46c092965ca82f5fdedd49a140120e1b6ab75b6c Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 15 Dec 2016 04:15:36 +0100 Subject: [PATCH] translations --- js/gpxedit.js | 3 ++- l10n/fr.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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",