Skip to content
New issue

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

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

Merged
merged 1 commit into from
Nov 26, 2020

Conversation

mydea
Copy link
Contributor

@mydea mydea commented Nov 20, 2020

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.

@mydea mydea self-assigned this Nov 20, 2020
@mydea mydea merged commit 0c7f43f into master Nov 26, 2020
@mydea mydea deleted the fn/remove-obsolete-messages branch November 26, 2020 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant