Open webberig opened 4 years ago
Consider this example somewhere in a .ts file:
.ts
return [this.translator.instant("label"), value].join(": ");
When I run the extract, an additional translation key : is added. This works fine:
:
const label = this.translator.instant("label"); return [label, value].join(": ");
i have the similar issue, but i create function with translate service argument
export const fn = (translate: TranslateService) => ({label: translate.get('Label')})
that example don't work
Consider this example somewhere in a
.ts
file:When I run the extract, an additional translation key
:
is added. This works fine: