Closed
Bug 476836
Opened 15 years ago
Closed 15 years ago
(Activity Manager) "%s" should be added in plural-form messages
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b2
People
(Reporter: linostar, Assigned: standard8)
References
(Depends on 1 open bug)
Details
(Keywords: l12y)
This a bug is related to plural-form messages, especially those located in Activity Manager. 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 mail/chrome/messenger/activity.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'. Besides, some other messages need to have the plural-form too (like 'autoRetry=Trying again in %S seconds' in the same file). Note: That bug is *not* related to the plural-form rules, but to the format of plural messages. Thanks
Assignee | ||
Comment 1•15 years ago
|
||
I'm still looking, but I've got a feeling the days/hours/minutes/seconds aren't actually used :-(
Reporter | ||
Comment 2•15 years ago
|
||
(In reply to comment #1) > I'm still looking, but I've got a feeling the days/hours/minutes/seconds aren't > actually used :-( Activity Manager is still new in TB. I haven't tried it yet (I'll try a new nightly) but this bug exists also in Download Manager in Toolkit (bug 476833 was filed for it). Besides, it is better to mention this earlier so upcoming plural messages respect this.
Assignee | ||
Comment 3•15 years ago
|
||
See the patch on bug 257942 (attachment 360707 [details] [diff] [review]) - I'm removing the plural strings for the time being. I'll make sure we are aware of the plural documentation as well.
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3) > See the patch on bug 257942 (attachment 360707 [details] [diff] [review]) - I'm removing the plural > strings for the time being. I'll make sure we are aware of the plural > documentation as well. This landed a few days ago, so this is now fixed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•