Add translation of drinking water
This commit is contained in:
parent
66282b289c
commit
88f442968b
2 changed files with 8 additions and 1 deletions
|
@ -5,12 +5,13 @@ import * as L from "leaflet";
|
||||||
import FixedText from "../Questions/FixedText";
|
import FixedText from "../Questions/FixedText";
|
||||||
import {TagRenderingOptions} from "../TagRendering";
|
import {TagRenderingOptions} from "../TagRendering";
|
||||||
import {ImageCarouselWithUploadConstructor} from "../../UI/Image/ImageCarouselWithUpload";
|
import {ImageCarouselWithUploadConstructor} from "../../UI/Image/ImageCarouselWithUpload";
|
||||||
|
import Translations from "../../UI/i18n/Translations";
|
||||||
|
|
||||||
export class DrinkingWater extends LayerDefinition {
|
export class DrinkingWater extends LayerDefinition {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.name = "drinking water";
|
this.name = Translations.t.cyclofix.drinking_water.title;
|
||||||
this.icon = "./assets/bike/drinking_water.svg";
|
this.icon = "./assets/bike/drinking_water.svg";
|
||||||
|
|
||||||
this.overpassFilter = new Or([
|
this.overpassFilter = new Or([
|
||||||
|
|
|
@ -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'}),
|
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'}),
|
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: {
|
image: {
|
||||||
|
|
Loading…
Reference in a new issue