Skip to content

Allow missing placeholders in singular plural forms#4

Merged
himdel merged 1 commit into
himdel:mainfrom
davidpoblador:allow-missing-placeholders-in-singular-plural-forms
Mar 2, 2026
Merged

Allow missing placeholders in singular plural forms#4
himdel merged 1 commit into
himdel:mainfrom
davidpoblador:allow-missing-placeholders-in-singular-plural-forms

Conversation

@davidpoblador

Copy link
Copy Markdown
Contributor

Allow omitting placeholders like {count} in msgstr[0] and msgstr[1] (n=0 and n=1 plural forms), since translators often use fixed text there (e.g. "No items", "One item").

Extra/unexpected placeholders are still flagged in all forms.

@davidpoblador

Copy link
Copy Markdown
Contributor Author

@himdel please, let me know if you want me to fix anything else. If you are interested, I could help making a pr to move the build and the package infra to uv.

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.

2 participants