Open Bug 476833 Opened 15 years ago Updated 1 year ago

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

Categories

(Toolkit :: Downloads API, defect)

defect
Points:
2

Tracking

()

People

(Reporter: linostar, Unassigned)

Details

(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/downloads.properties), 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.


Thanks
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.