Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature/i18n enhancement #1290
I've reverted the variable renames and some other small things to make the diff smaller and better suited for a review. Also, if no translation is found, the incoming key is now selected based on the following logic instead of always returning the singular form:
The empty "msgid" entry is also still written as an entry, so that headers other than those necessary for plural form handling can also be processed by external code (and this makes an existing unit test pass).