Cropster / ember-l10n

A GNU gettext based localization workflow for Ember
MIT License
15 stars 7 forks source link

Ensure it handles duplicate, non-normalized source strings #84

Closed mydea closed 3 years ago

mydea commented 3 years ago

This PR changes the extraction slightly, so that message ids are normalized before the grouping happens. This way, the following is handled properly:

{{t "message"}}
{{t "message "}}

Both of them are normalized to message, and handled correctly now.

Fixes https://github.com/Cropster/ember-l10n/issues/82