17 lines
616 B
TypeScript
17 lines
616 B
TypeScript
import {TagRenderingOptions} from "../../TagRendering";
|
|
import {Tag} from "../../../Logic/TagsFilter";
|
|
import Translations from "../../../UI/i18n/Translations";
|
|
|
|
|
|
export default class PumpOperational extends TagRenderingOptions {
|
|
constructor() {
|
|
const to = Translations.t.cyclofix.station.operational
|
|
super({
|
|
question: to.question,
|
|
mappings: [
|
|
{k: new Tag("service:bicycle:pump:operational_status","broken"), txt: to.broken},
|
|
{k: new Tag("service:bicycle:pump:operational_status",""), txt: to.operational}
|
|
]
|
|
});
|
|
}
|
|
}
|