Closed mydea closed 6 years ago
I guess that this is caused by the regex of the xgettext parser interpreting <
and >
as HTML tags. At the moment I don't know how to implement a meaningful fix for this issue.
Closing this as it seems to be gone after doing a quick test run with ember l10n:extract
due to the update from xgettext-parser from 2.6.0
to 3.4.0
in latest version.
// app/templates/application.hbs
{{t '<No Name'}}
#: app/templates/application.l10n.hbs:1
msgid "<No Name"
msgstr ""
The following string:
{{t '<No Name'}}
leads to an empty string.{{t '< No Name >'}}
works, though. Note that for this case, the string was not in the en.json file yet.