2020-07-21 12:14:56 +02:00
|
|
|
import {TagRenderingOptions} from "../../TagRendering";
|
|
|
|
import {Tag} from "../../../Logic/TagsFilter";
|
|
|
|
import Translations from "../../../UI/i18n/Translations";
|
|
|
|
|
|
|
|
|
2020-07-29 15:55:50 +02:00
|
|
|
export default class ShopDiy extends TagRenderingOptions {
|
2020-07-21 12:14:56 +02:00
|
|
|
constructor() {
|
|
|
|
const key = 'service:bicycle:diy'
|
2020-07-21 23:31:41 +02:00
|
|
|
const to = Translations.t.cyclofix.shop.diy
|
2020-07-21 12:14:56 +02:00
|
|
|
super({
|
2020-07-22 00:18:07 +02:00
|
|
|
question: to.question,
|
2020-07-21 12:14:56 +02:00
|
|
|
mappings: [
|
2020-07-22 00:18:07 +02:00
|
|
|
{k: new Tag(key, "yes"), txt: to.yes},
|
|
|
|
{k: new Tag(key, "no"), txt: to.no},
|
2020-07-21 12:14:56 +02:00
|
|
|
]
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|