mapcomplete/Customizations/Questions/bike/PumpManual.ts
2020-07-20 23:43:42 +02:00

19 lines
591 B
TypeScript

import {TagRenderingOptions} from "../../TagRendering";
import {Tag} from "../../../Logic/TagsFilter";
import Translations from "../../../UI/i18n/Translations";
export default class PumpManual extends TagRenderingOptions {
constructor() {
const to = Translations.t.cylofix.station.electric
super({
priority: 5,
question: to.question.Render(),
mappings: [
{k: new Tag("manual", "yes"), txt: to.manual.Render()},
{k: new Tag("manual", "no"), txt: to.electric.Render()}
]
});
}
}