fix label

This commit is contained in:
_Bastler 2021-11-05 18:38:40 +01:00
parent 81a603cfbc
commit 2bd1e7a9d1

View File

@ -98,7 +98,7 @@ export class I18nService {
insertArguments(label: string, args: string[]) { insertArguments(label: string, args: string[]) {
if (args) { if (args) {
for (let index in args) { for (let index in args) {
label = label.replace(`{${index}}`, this.get(args[ index ], [])); label = label.replace(`{${index}}`, this.get(args[ index ], null));
} }
} }
return label; return label;