mapcomplete/Customizations/Questions/bike/PumpManometer.ts

19 lines
616 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";
2020-07-16 09:54:32 +02:00
export default class PumpManometer extends TagRenderingOptions {
2020-07-16 09:54:32 +02:00
constructor() {
const to = Translations.t.cyclofix.station.manometer
2020-07-16 09:54:32 +02:00
super({
question: to.question,
2020-07-16 09:54:32 +02:00
mappings: [
{k: new Tag("manometer", "yes"), txt: to.yes},
{k: new Tag("manometer", "no"), txt: to.no},
{k: new Tag("manometer", "broken"), txt: to.broken}
2020-07-16 09:54:32 +02:00
]
});
}
}