2020-08-30 01:13:18 +02:00
|
|
|
import {Tag} from "../../../Logic/Tags";
|
2020-07-29 15:55:50 +02:00
|
|
|
import Translations from "../../../UI/i18n/Translations";
|
2020-07-31 17:38:03 +02:00
|
|
|
import {TagRenderingOptions} from "../../TagRenderingOptions";
|
2020-07-29 15:55:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
export default class CafePump extends TagRenderingOptions {
|
|
|
|
constructor() {
|
|
|
|
const key = 'service:bicycle:pump'
|
|
|
|
const to = Translations.t.cyclofix.cafe.pump
|
|
|
|
super({
|
|
|
|
question: to.question,
|
|
|
|
mappings: [
|
|
|
|
{k: new Tag(key, "yes"), txt: to.yes},
|
|
|
|
{k: new Tag(key, "no"), txt: to.no},
|
|
|
|
]
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|