mapcomplete/Customizations/Questions/bike/StationChain.ts

19 lines
597 B
TypeScript
Raw Normal View History

import {Tag} from "../../../Logic/Tags";
2020-07-20 23:43:42 +02:00
import Translations from "../../../UI/i18n/Translations";
2020-07-31 17:38:03 +02:00
import {TagRenderingOptions} from "../../TagRenderingOptions";
export default class StationChain extends TagRenderingOptions {
constructor() {
const to = Translations.t.cyclofix.station.chain
super({
priority: 5,
2020-07-21 23:31:41 +02:00
question: to.question,
mappings: [
2020-07-21 23:31:41 +02:00
{k: new Tag("service:bicycle:chain_tool", "yes"), txt: to.yes},
{k: new Tag("service:bicycle:chain_tool", "no"), txt: to.no},
]
});
}
}