From 59916403922985462eb188502b07a07201efca6c Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Tue, 16 May 2017 17:25:58 +0200 Subject: [PATCH] 0.0.6 --- CHANGELOG.md | 4 ++++ js/gpxedit.js | 4 +--- l10n/fr.js | 4 ++-- l10n/fr.json | 2 ++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 920d275..623c148 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] + +## 0.0.6 – 2017-05-16 ### Added - add checkTranslations.py script - new feature : cut a line in two with click on middle marker [#14](https://gitlab.com/eneiluj/gpxedit-oc/issues/14) @klakla2 +- add personal overlay server management ### Changed - bring layer to front on hover - use CSS grid - use L.draw.plus +- put all base tile servers in a php file ### Fixed - adapt CSS to Nextcloud 12, still works with Owncloud 9 and Nextcloud 11 diff --git a/js/gpxedit.js b/js/gpxedit.js index cdd4c94..cf3a2fb 100644 --- a/js/gpxedit.js +++ b/js/gpxedit.js @@ -258,7 +258,6 @@ if (! baseLayers.hasOwnProperty(default_layer)) { default_layer = 'OpenStreetMap'; } -console.log(baseLayers); gpxedit.map.addLayer(baseLayers[default_layer]); gpxedit.activeLayers = L.control.activeLayers(baseLayers, baseOverlays); @@ -518,7 +517,6 @@ console.log(baseLayers); var layerArray = []; gpxedit.drawControl.editLayers.eachLayer(function(layer) { - console.log(JSON.stringify(gpxedit.drawControl.editLayers.toGeoJSON())); layerArray.push(layer); }); // sort @@ -826,7 +824,7 @@ console.log(baseLayers); function checkKey(e) { e = e || window.event; var kc = e.keyCode; - console.log(kc); + //console.log(kc); if (kc === 161 || kc === 223) { e.preventDefault(); diff --git a/l10n/fr.js b/l10n/fr.js index 8b384a1..64a7c75 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -57,8 +57,8 @@ OC.L10N.register( "Load in GpxEdit" : "Charger dans GpxEdit", "Tile server \"{ts}\" has been deleted" : "Le serveur de tuiles \"{ts}\" a été supprimé", "Tile server \"{ts}\" has been added" : "Le serveur de tuiles \"{ts}\" a été ajouté", - "Failure on tile server \"{ts}\" addition" : "Erreur à l'ajout du serveur de tuiles \"{ts}\"", - "Failure on tile server \"{ts}\" deletion" : "Erreur à la suppression du serveur de tuiles \"{ts}\"", + "Failed to add tile server \"{ts}\"" : "Échec de l'ajout du serveur de tuiles \"{ts}\"", + "Failed to delete tile server \"{ts}\"" : "Échec de la suppression du serveur de tuiles \"{ts}\"", "Error" : "Erreur" }, "nplurals=2; plural=(n > 1);"); diff --git a/l10n/fr.json b/l10n/fr.json index 7f650a9..02139eb 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -28,8 +28,10 @@ "Use defined symbols instead of default symbol" : "Utilise les symboles définis au lieu du symbole par défaut", "Use defined symbols" : "Utiliser les symboles définis", "Custom tile servers" : "Serveurs de tuiles personnels", + "Custom overlay servers" : "Serveurs de revêtements personnels", "Server name (for example 'my custom server')" : "Nom du serveur ('mon super serveur' par exemple)", "Server url ('http://tile.server.org/cycle/{z}/{x}/{y}.png')" : "URL du serveur ('http://tile.server.org/cycle/{z}/{x}/{y}.png')", + "Server url ('http://overlay.server.org/cycle/{z}/{x}/{y}.png')" : "URL du serveur ('http://overlay.server.org/cycle/{z}/{x}/{y}.png')", "Add" : "Ajouter", "Your servers" : "Vos serveurs", "Delete" : "Supprimer",