From 0e63eb5a5290072f6c89fbd284b00d441b53a8e7 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 29 Jul 2020 21:39:03 +0200 Subject: [PATCH] Fixed icons --- Customizations/Layers/BikeCafes.ts | 1 - Customizations/Layers/BikeParkings.ts | 1 - Customizations/Layers/BikeShops.ts | 1 - Customizations/Layers/BikeStations.ts | 3 --- Customizations/Layers/Birdhide.ts | 1 - Customizations/Layers/DrinkingWater.ts | 1 - UI/i18n/Translations.ts | 4 ++-- 7 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Customizations/Layers/BikeCafes.ts b/Customizations/Layers/BikeCafes.ts index 5dc75c4..0eeb3bd 100644 --- a/Customizations/Layers/BikeCafes.ts +++ b/Customizations/Layers/BikeCafes.ts @@ -30,7 +30,6 @@ export default class BikeCafes extends LayerDefinition { this.presets = [ { title: Translations.t.cyclofix.cafe.title, - icon: "/assets/bike/cafe.svg", tags : [ new Tag("amenity", "pub"), new Tag("pub", "cycling"), diff --git a/Customizations/Layers/BikeParkings.ts b/Customizations/Layers/BikeParkings.ts index 507f3f1..34ab337 100644 --- a/Customizations/Layers/BikeParkings.ts +++ b/Customizations/Layers/BikeParkings.ts @@ -21,7 +21,6 @@ export default class BikeParkings extends LayerDefinition { this.overpassFilter = new Tag("amenity", "bicycle_parking"); this.presets = [{ title: Translations.t.cyclofix.parking.title, - icon: "/assets/bike/parking.svg", tags: [ new Tag("amenity", "bicycle_parking"), ] diff --git a/Customizations/Layers/BikeShops.ts b/Customizations/Layers/BikeShops.ts index d532e61..46e56cb 100644 --- a/Customizations/Layers/BikeShops.ts +++ b/Customizations/Layers/BikeShops.ts @@ -27,7 +27,6 @@ export default class BikeShops extends LayerDefinition { this.overpassFilter = new Tag("shop", "bicycle"); this.presets = [{ title: Translations.t.cyclofix.shop.title, - icon: "/assets/bike/repair_shop.svg", tags: [ new Tag("shop", "bicycle"), ] diff --git a/Customizations/Layers/BikeStations.ts b/Customizations/Layers/BikeStations.ts index 837f3e1..a4be1d7 100644 --- a/Customizations/Layers/BikeStations.ts +++ b/Customizations/Layers/BikeStations.ts @@ -37,19 +37,16 @@ export default class BikeStations extends LayerDefinition { { title: tr.titlePump, description: tr.services.pump, - icon: "/assets/bike/pump.svg", tags: [this.repairStation, this.pump, this.notools] }, { title: tr.titleRepair, description: tr.services.tools, - icon: "/assets/bike/repair_station.svg", tags: [this.repairStation, this.tools, this.nopump] }, { title: tr.titlePumpAndRepair, description: tr.services.both, - icon: "/assets/bike/repair_station_pump.svg", tags: [this.repairStation, this.tools, this.nopump] }, diff --git a/Customizations/Layers/Birdhide.ts b/Customizations/Layers/Birdhide.ts index 4b07564..0acb1bd 100644 --- a/Customizations/Layers/Birdhide.ts +++ b/Customizations/Layers/Birdhide.ts @@ -21,7 +21,6 @@ export class Birdhide extends LayerDefinition { presets: [ { title: "Vogelkijkplaats", - icon: "/assets/nature/birdhide.svg", tags: [Birdhide.birdhide] } ], diff --git a/Customizations/Layers/DrinkingWater.ts b/Customizations/Layers/DrinkingWater.ts index 1871101..490fbcb 100644 --- a/Customizations/Layers/DrinkingWater.ts +++ b/Customizations/Layers/DrinkingWater.ts @@ -23,7 +23,6 @@ export class DrinkingWater extends LayerDefinition { this.presets = [{ title: Translations.t.cyclofix.drinking_water.title, - icon: "/assets/bike/drinking_water.svg", tags: [new Tag("amenity", "drinking_water")] }]; this.maxAllowedOverlapPercentage = 10; diff --git a/UI/i18n/Translations.ts b/UI/i18n/Translations.ts index 052f7db..81959e8 100644 --- a/UI/i18n/Translations.ts +++ b/UI/i18n/Translations.ts @@ -426,8 +426,8 @@ export default class Translations { } }, cafe: { - name: new T({en: "bike cafe", nl: "fietscafé", fr: "TODO: fr"}), - title: new T({en: "Bike cafe", nl: "fietscafé", fr: "TODO: fr"}), + name: new T({en: "Bike cafe", nl: "Fietscafé", fr: "TODO: fr"}), + title: new T({en: "Bike cafe", nl: "Fietscafé", fr: "TODO: fr"}), qName: { question: new T({en: "What is the name of this bike cafe?", nl: "Wat is de naam van dit fietscafé?", fr: "TODO: fr"}), render: new T({en: "This bike cafe is called {name}", nl: "Dit fietscafé heet {name}", fr: "TODO: fr"}),