mapcomplete/Customizations/Questions/bike/PumpManual.ts

19 lines
592 B
TypeScript
Raw Normal View History

import {TagRenderingOptions} from "../../TagRendering";
import {Tag} from "../../../Logic/TagsFilter";
2020-07-20 23:43:42 +02:00
import Translations from "../../../UI/i18n/Translations";
export default class PumpManual extends TagRenderingOptions {
constructor() {
const to = Translations.t.cyclofix.station.electric
super({
priority: 5,
2020-07-20 23:43:42 +02:00
question: to.question.Render(),
mappings: [
2020-07-20 23:43:42 +02:00
{k: new Tag("manual", "yes"), txt: to.manual.Render()},
{k: new Tag("manual", "no"), txt: to.electric.Render()}
]
});
}
}