Repository navigation
Name catchall plural variants after target locale - #4405
Merged
Merged
Conversation
Pretranslation expands a plural selector to the target locale's categories, but left the catchall carrying the source's name, e.g. `other` from en-US. For a locale whose last category is not `other` (uk, ru, pl, be) that puts the variants out of sync with the plural fields in the editor.
Collaborator
|
I still see the issue reported in #4398. Go to this string and click my suggestion |
Collaborator
Author
Yeah, now I see it clearly. I'll open a separate PR shortly. |
flodolo
approved these changes
Aug 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #4397.
The patch fixes an issue surfaced by #4236, although it was caused by older code.
Pretranslation expands a plural selector to the target locale's categories, but left the catchall carrying the source's name, e.g.
otherfrom en-US. For a locale whose last category is notother(uk, ru, pl, be) that puts the variants out of sync with the plural fields in the editor.Check out an example string on DEV:
https://pontoon.allizom.org/uk/firefox/all-resources/?string=317622
Same string on PROD:
https://pontoon.mozilla.org/uk/firefox/all-resources/?string=317622