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

Strings with unexplained placeholders and not ngettext-pluralized #119

Closed
fitojb opened this issue Sep 15, 2020 · 1 comment
Closed

Strings with unexplained placeholders and not ngettext-pluralized #119

fitojb opened this issue Sep 15, 2020 · 1 comment

Comments

@fitojb
Copy link
Contributor

fitojb commented Sep 15, 2020

from = _("%s Ports %s").printf (rule.from, rule.from_ports.replace (":", "-"));

It is not obvious what these placeholders mean, and they are manually duplicated in a singular version and a plural one, when there are languages that have more or fewer plural forms than English -- ngettext helps here.

@fitojb
Copy link
Contributor Author

fitojb commented Sep 15, 2020

Duplicate of #43

@fitojb fitojb closed this as completed Sep 15, 2020
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

No branches or pull requests

1 participant