ngettext plural form: "%d New Message" & "%d New Messages"

Bug #549768 reported by abdullahc
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evolution Indicator
Fix Released
Undecided
Unassigned
Ubuntu Translations
Fix Released
Medium
Unassigned
evolution-indicator (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

These 2 entries should be combined using ngettext:
 "%d New Message"
 "%d New Messages"

Tags: i18n

Related branches

abdullahc (sneetsher)
tags: added: i18n
Revision history for this message
Ted Gould (ted) wrote :

Hmm, looking at the code it seems that they are.

 294 trans = g_dngettext (PACKAGE,
 295 _("%d New Message"),
 296 _("%d New Messages"),
 297 message_count);

Is there a specific issue that I should be looking for?

Changed in evolution-indicator:
status: New → Incomplete
Revision history for this message
abdullahc (sneetsher) wrote :

It seems ok in the code!

You may want to take a look on the PO files. We have 2 separate entries instead of 1.

ar.po

#: ../src/evolution-indicator.c:295
#, c-format
msgid "%d New Message"
msgstr "%d رسالة جديدة"

#: ../src/evolution-indicator.c:296
#, c-format
msgid "%d New Messages"
msgstr "%d رسائل جديدة"

en_GB.po

#: ../src/evolution-indicator.c:295
#, c-format
msgid "%d New Message"
msgstr "%d New Message"

#: ../src/evolution-indicator.c:296
#, c-format
msgid "%d New Messages"
msgstr "%d New Messages"

I think the problem was in generating POT file from source.

Changed in evolution-indicator:
status: Incomplete → New
David Planella (dpm)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Ted Gould (ted)
Changed in evolution-indicator:
milestone: none → 0.2.8
status: New → Fix Committed
Ted Gould (ted)
Changed in evolution-indicator:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-indicator - 0.2.8-0ubuntu1

---------------
evolution-indicator (0.2.8-0ubuntu1) lucid; urgency=low

  * Upstream release
    * Fix ngettext syntax that was causing incorrect translations
      (LP: #549768)
 -- Ted Gould <email address hidden> Tue, 30 Mar 2010 13:36:57 -0500

Changed in evolution-indicator (Ubuntu):
status: New → Fix Released
David Planella (dpm)
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.