Open Bug 476833 Opened 15 years ago Updated 9 months ago

"%s" should be added in plural-form messages


(Toolkit :: Downloads API, defect)





(Reporter: linostar, Unassigned)


(Keywords: l12y)

In Arabic locale (I don't know if this applies on other locales too), for some numbers (precisely for n = 0, 1 or 2), the noun that succeeds the number doesn't need any preceding number because the meaning of the number is within the noun it self; i.e. if you're saying 'two-days' (it is one word in Arabic), it makes a bit non-sense to say '2 two-days'. In order to solve that, if we have a plural message (let's say '%s days'), '%s' is removed for entries where n = 0, 1 or 2.

Now the problem is that many plural messages doesn't contain a '%s' within (e.g. 'days=day;days' in toolkit/chrome/mozapps/downloads/, which means that the '%s' is externally added and the localizer can't remove the '%s' for n=0,1,2.

My request is to unify the structure of localized plural messages, and make sure that all of them become as 'days=%s day;%s days' instead of 'days=day;days'.

Note: That bug is *not* related to the plural-form rules, but to the format of plural messages.

Keywords: l12y
Whiteboard: [feature] p=0
No longer blocks: fxdesktopbacklog
Flags: firefox-backlog+
Whiteboard: [feature] p=0 → p=0
Whiteboard: p=0 → p=2
Points: --- → 2
Flags: qe-verify?
Whiteboard: p=2
Severity: normal → S3

Changing qe-verify? to qe-verify+.

Flags: qe-verify? → qe-verify+
You need to log in before you can comment on or make changes to this bug.