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

Context-splitting needed for the string "none" #22094

Closed
audrasjb opened this issue May 5, 2020 · 0 comments · Fixed by #40273
Closed

Context-splitting needed for the string "none" #22094

audrasjb opened this issue May 5, 2020 · 0 comments · Fixed by #40273
Assignees
Labels
Internationalization (i18n) Issues or PRs related to internationalization efforts [Status] In Progress Tracking issues with work in progress

Comments

@audrasjb
Copy link
Contributor

audrasjb commented May 5, 2020

The strings "None" and "none" are used in many places.
Unfortunately, this string is impossible to translate correctly in many languages.
The reason is that depending on what noun is described, this word may need to be presented in various forms.
For reference, see the original ticket on Trac.

How to fix it

replace __( 'None' ) occurrences with _x( 'None', 'Some context )

I'll submit a PR in few mins.

@annezazu annezazu added the Internationalization (i18n) Issues or PRs related to internationalization efforts label May 6, 2020
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internationalization (i18n) Issues or PRs related to internationalization efforts [Status] In Progress Tracking issues with work in progress
Projects
None yet
3 participants