Open Bug 500403 Opened 15 years ago Updated 2 years ago

Use plural rules in new mail notifications

Categories

(MailNews Core :: Localization, defect)

defect

Tracking

(Not tracked)

Future

People

(Reporter: stef, Unassigned)

References

Details

(Keywords: l12y)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.9.1) Gecko/20090624 Firefox/3.5
Build Identifier: 

We should use plural rules in new mail notifications, right now we have two strings, one for single message and another one for multiple:

newBiffNotification_message=%1$S has %2$S new message
newBiffNotification_messages=%1$S has %2$S new messages

http://mxr.mozilla.org/comm-central/source/mail/locales/en-US/chrome/messenger/messenger.properties#349

There is no problem with first one, but when I'm trying to translate second, I end with sth like "New messages (%2$S) on account %1$S". With plural rules for "%2$S new messages" it should be possible to translate this correctly, without using ugly brackets or other hacks.

Reproducible: Always
Keywords: l12y
Until bug 477831 is fixed, I think we're very unlikely to be fixing this. All the notification code is in c++ and some of it uses OS functions that are currently only accessible from c++.
Status: UNCONFIRMED → NEW
Component: General → Localization
Depends on: 477831
Ever confirmed: true
Product: Thunderbird → MailNews Core
QA Contact: general → localization
Target Milestone: --- → Future
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.