2020-07-16 15:29:50 +02:00
|
|
|
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 14:21:06 +02:00
|
|
|
|
2020-07-16 15:29:50 +02:00
|
|
|
|
2020-07-16 15:56:10 +02:00
|
|
|
export default class PumpOperational extends TagRenderingOptions {
|
2020-07-16 14:21:06 +02:00
|
|
|
constructor() {
|
2020-07-21 01:13:51 +02:00
|
|
|
const to = Translations.t.cyclofix.station.operational
|
2020-07-16 14:21:06 +02:00
|
|
|
super({
|
2020-07-22 00:18:07 +02:00
|
|
|
question: to.question,
|
2020-07-16 14:21:06 +02:00
|
|
|
mappings: [
|
2020-07-22 00:18:07 +02:00
|
|
|
{k: new Tag("service:bicycle:pump:operational_status","broken"), txt: to.broken},
|
|
|
|
{k: new Tag("service:bicycle:pump:operational_status",""), txt: to.operational}
|
2020-07-16 14:21:06 +02:00
|
|
|
]
|
|
|
|
});
|
|
|
|
}
|
2020-07-16 15:29:50 +02:00
|
|
|
}
|