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

Bug #549768 reported by Sneetsher on 2010-03-27
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evolution Indicator
Undecided
Unassigned
Ubuntu Translations
Medium
Unassigned
evolution-indicator (Ubuntu)
Undecided
Unassigned

Bug Description

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

Related branches

Sneetsher (sneetsher) on 2010-03-27
tags: added: i18n
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
Sneetsher (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) on 2010-03-30
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Ted Gould (ted) on 2010-03-30
Changed in evolution-indicator:
milestone: none → 0.2.8
status: New → Fix Committed
Ted Gould (ted) on 2010-03-30
Changed in evolution-indicator:
status: Fix Committed → Fix Released
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) on 2010-04-13
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers