merge-requests/1/head
Julien Veyssier 2017-05-16 17:25:58 +02:00
parent 55c7a1cb72
commit 5991640392
4 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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();

View File

@ -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);");

View File

@ -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",