Cropster / ember-l10n

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

feat: Remove obsolete messages from en.po when extracting #88

Closed mydea closed 3 years ago

mydea commented 3 years ago

When extracting messages, we also update the en.po file accordingly. However, this keeps old (obsolete) messages in commented out form in the file, which makes changes harder to spot (as it leads to increased changes in Git) and also bloats up the file, especially if there are a lot of changes.

This PR makes sure we also run msgattrib to remove obsolete message ids in this case.