diff --git a/Customizations/TagRendering.ts b/Customizations/TagRendering.ts index 331642120..c1fe66141 100644 --- a/Customizations/TagRendering.ts +++ b/Customizations/TagRendering.ts @@ -360,8 +360,12 @@ class TagRendering extends UIElement implements TagDependantUIElement { return undefined; } - const prepost = Translations.W(freeform.template).InnerRender().split("$"); + const prepost = Translations.W(freeform.template).InnerRender() + .replace("$$$","$string$") + .split("$"); const type = prepost[1]; + + console.log("PrePost:", prepost); let isValid = TagRenderingOptions.inputValidation[type]; if (isValid === undefined) { diff --git a/UI/i18n/Translations.ts b/UI/i18n/Translations.ts index e7bfdb1ba..052f7dbd7 100644 --- a/UI/i18n/Translations.ts +++ b/UI/i18n/Translations.ts @@ -399,7 +399,7 @@ export default class Translations { qName: { question: new T({en: "What is the name of this bicycle shop?", nl: "Wat is de naam van deze fietszaak?", fr: "Quel est le nom du magasin de vélo?"}), render: new T({en: "This bicycle shop is called {name}", nl: "Deze fietszaak heet {name}", fr: "Ce magasin s'appelle {name}"}), - template: new T({en: "This bicycle shop is called: $$$", nl: "Deze fietszaak heet: $$$", fr: "Ce magasin s'appelle $$$"}) + template: new T({en: "This bicycle shop is called: $$$", nl: "Deze fietszaak heet: $$$", fr: "Ce magasin s'appelle $$$"}) }, secondHand: { question: new T({en: "Does this shop sell second-hand bikes?", nl: "Verkoopt deze winkel tweedehands fietsen?", fr: "Est-ce ce magasin vend des vélos d'occasion"}),