Closed Bug 1054961 Opened 7 years ago Closed 4 years ago

[system] transferReport-description should use proper plural form

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: flod, Unassigned)

References

Details

(Keywords: l12y)

Current string is 

transferReport-description={{numSuccessful}} files successful, {{numUnsuccessful}} files unsuccessful

This doesn't work for locales with complex plural forms (it also fails for 1 file in English).

I think we need at least 3 set of strings: 2 with proper plural form, one to put them together

successful-transfers = {[ plural(n) ]}
successful-transfers[zero] = {{n}} files successful
etc. 
unsuccessful-transfers = {[ plural(n) ]}
unsuccessful-transfers[zero] = {{n}} files unsuccessful
etc.
transfer-message = {{successful-transfers}}, {{unsuccessful-transfers}}
Blocks: 929306
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.