We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, There is an issue with the extract parser with this code:
get text(): string { const status = this.selectedStatus(); if (status.length) { return status .map(s => this.translateService.instant(s)) .join(', '); } else { return this.translateService.instant('DEFAULT_STATUS'); } }
The JSON output for this is:
{ ", ": "", "DEFAULT_STATUS": "" }
It expected result was:
{ "DEFAULT_STATUS": "" }
Changing the code to this fix the issue:
get text(): string { const status = this.selectedStatus(); if (status.length) { const translatedStatus = selectedStatus.map(status => this.translateService.instant(status) ); return translatedStatus.join(', '); } else { return this.translateService.instant('DEFAULT_STATUS'); } }
Also, this.selectedStatus() returns other keys that are marked elsewhere.
this.selectedStatus()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
There is an issue with the extract parser with this code:
The JSON output for this is:
It expected result was:
Changing the code to this fix the issue:
Also,
this.selectedStatus()
returns other keys that are marked elsewhere.The text was updated successfully, but these errors were encountered: