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

Ensure empty strings are set for plural messages #31

Merged
merged 1 commit into from
Jan 30, 2022

Conversation

adambrgmn
Copy link
Owner

Previously it didn't work very well to set new plural messages. The
msgid and msgid_plural was set as expected. But msgstr[0,1] was not
visible in the output at all.

This PR fixes that by ensuring that there's always at least an empty
translations available for both singular and plural messages.

Fixes #30

Previously it didn't work very well to set new plural messages. The
msgid and msgid_plural was set as expected. But msgstr[0,1] was not
visible in the output at all.

This PR fixes that by ensuring that there's always at least an empty
translations available for both singular and plural messages.

Fixes #30
@adambrgmn adambrgmn merged commit c79a919 into main Jan 30, 2022
@adambrgmn adambrgmn deleted the fix-default-plural-translations branch January 30, 2022 16:08
@adambrgmn adambrgmn mentioned this pull request Jan 30, 2022
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.

Empty msgstr's are not emitted for plural translations
1 participant