fix label
This commit is contained in:
parent
81a603cfbc
commit
2bd1e7a9d1
|
@ -98,7 +98,7 @@ export class I18nService {
|
|||
insertArguments(label: string, args: string[]) {
|
||||
if (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;
|
||||
|
|
Loading…
Reference in New Issue