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 21:43:42 +00:00
import Translations from "../../../UI/i18n/Translations";
2020-07-16 07:54:32 +00:00
export default class PumpManometer extends TagRenderingOptions {
2020-07-16 07:54:32 +00:00
constructor() {
const to = Translations.t.cyclofix.station.manometer
2020-07-16 07:54:32 +00:00
super({
question: to.question,
2020-07-16 07:54:32 +00: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 07:54:32 +00:00
]
});
}
}