Add translation of drinking water

This commit is contained in:
Pieter Vander Vennet 2020-07-22 17:59:38 +02:00
parent 66282b289c
commit 88f442968b
2 changed files with 8 additions and 1 deletions

View file

@ -5,12 +5,13 @@ import * as L from "leaflet";
import FixedText from "../Questions/FixedText";
import {TagRenderingOptions} from "../TagRendering";
import {ImageCarouselWithUploadConstructor} from "../../UI/Image/ImageCarouselWithUpload";
import Translations from "../../UI/i18n/Translations";
export class DrinkingWater extends LayerDefinition {
constructor() {
super();
this.name = "drinking water";
this.name = Translations.t.cyclofix.drinking_water.title;
this.icon = "./assets/bike/drinking_water.svg";
this.overpassFilter = new Or([

View file

@ -296,6 +296,12 @@ export default class Translations {
yes: new T({en: 'This shop offers tools for DIY repair', nl: 'Deze winkel biedt gereedschap aan om je fiets zelf te herstellen', fr: 'TODO: fr'}),
no: new T({en: 'This shop doesn\'t offer tools for DIY repair', nl: 'Deze winkel biedt geen gereedschap aan om je fiets zelf te herstellen', fr: 'TODO: fr'}),
}
},
drinking_water: {
title: new T({
en: 'Drinking water',
nl: "Drinkbaar water"
})
}
},
image: {