Use proper plural form in editor.searchResults and sourceSearch.resultsSummary

NEW
Unassigned

Status

()

Firefox
Developer Tools: Debugger
P2
normal
8 months ago
8 months ago

People

(Reporter: flod, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 months ago
Problem was raised in https://bugzilla.mozilla.org/show_bug.cgi?id=1331654#c24 but I never filed a bug.

editor.searchResults=%d of %d results

Several languages require a proper plural form based on the second variable.
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Use_proper_plural_forms

There's an additional problem though: plural form expects variables in the form #1, #2, etc.
https://hg.mozilla.org/l10n/compare-locales/file/tip/compare_locales/checks.py#l63
(Reporter)

Comment 1

8 months ago
Actually, there's another string in debugger

sourceSearch.resultsSummary=%d instances of ā€œ%Sā€
Summary: Use proper plural form in editor.searchResults → Use proper plural form in editor.searchResults and sourceSearch.resultsSummary
You need to log in before you can comment on or make changes to this bug.