[ekiga] I18n: Fix plural form



commit 73a35eb23dbf8452a6e21b4a693483182947ff79
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Thu May 10 21:48:44 2012 +0200

    I18n: Fix plural form
    
    Closes bug #675702.

 lib/engine/gui/gtk-frontend/chat-window.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/chat-window.cpp b/lib/engine/gui/gtk-frontend/chat-window.cpp
index 774d73e..6471aa5 100644
--- a/lib/engine/gui/gtk-frontend/chat-window.cpp
+++ b/lib/engine/gui/gtk-frontend/chat-window.cpp
@@ -136,7 +136,9 @@ update_unread (ChatWindow* self)
   g_signal_emit (self, signals[UNREAD_COUNT], 0, unread_count);
 
   if (unread_count > 0) {
-    info = g_strdup_printf (_("You have %d unread text messages"), unread_count);
+    info = g_strdup_printf (ngettext ("You have %d unread text message",
+                                      "You have %d unread text messages",
+                                      unread_count), unread_count);
     boost::shared_ptr<Ekiga::NotificationCore> notification_core =
       self->priv->core.get<Ekiga::NotificationCore> ("notification-core");
     boost::shared_ptr<Ekiga::Notification> notif (new Ekiga::Notification (Ekiga::Notification::Warning, info, "", _("Read"), boost::bind (show_chat_window_cb, self)));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]