translations

merge-requests/1/head
Julien Veyssier 2016-12-15 04:15:36 +01:00
parent 07540659c9
commit 46c092965c
2 changed files with 5 additions and 1 deletions

View File

@ -829,7 +829,8 @@ function loadAction(file){
!endsWith(file, '.kml') || !endsWith(file, '.kml') ||
!endsWith(file, '.jpg') || !endsWith(file, '.jpg') ||
!endsWith(file, '.csv')){ !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; return;
} }

View File

@ -2,6 +2,9 @@ OC.L10N.register(
"gpxedit", "gpxedit",
{ {
"Where to save" : "Où enregistrer", "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", "Draw a track" : "Dessiner une trace",
"Add a waypoint" : "Ajouter une étape", "Add a waypoint" : "Ajouter une étape",
"Edit" : "Éditer", "Edit" : "Éditer",