Fix non-appearing new icon, remove debug outputs

This commit is contained in:
Pieter Vander Vennet 2021-12-14 17:29:21 +01:00
parent 7dfbe5f4b4
commit 90fc0e0840
7 changed files with 15 additions and 13 deletions

View file

@ -124,7 +124,7 @@ export class Translation extends BaseUIElement {
continue;
}
let template: string = this.translations[lang];
newTranslations[lang] = Utils.SubstituteKeys(template, text);
newTranslations[lang] = Utils.SubstituteKeys(template, text, lang);
}
return new Translation(newTranslations);