Closed Bug 1596149 Opened 3 months ago Closed 3 months ago

Some devtools strings using PluralForm do not use the passed number in their first string, breaking their use as fallback content in locales that lack a translation

Categories

(DevTools :: General, defect)

defect
Not set

Tracking

(firefox72 fixed)

RESOLVED FIXED
Firefox 72
Tracking Status
firefox72 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1594663 +++

(In reply to Axel Hecht [:Pike] from bug 1594663 comment #8)

Looking at https://pontoon.mozilla.org/ar/firefox/all-resources/?status=missing&search=Plural, it seems we have this problem in 4 strings right now.

We should also have this problem in Islandic, https://pontoon.mozilla.org/is/firefox/all-resources/?status=missing&search=Plural&string=200871. Resummarizing.

To answer Gijs' question, yes, I think we can switch 1 for #1 w/out an ID change, and that'd limit the impact untranslated strings have in languages with ambiguous singular plural form.

I leave it up to others to decide how widely we should work around this.

This loses the specialcasing for "One message/request", which seems like an acceptable trade-off. We can reinstate that type of distinction when using fluent.

Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c2d3e0e0367b
ensure first plural form in English in devtools includes a plural form reference so its contents provide value when used as a fallback in other locales, r=Pike,nchevobbe
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
You need to log in before you can comment on or make changes to this bug.