Re[2]: GnomeMeeting 1.2 Release



Funda> Those should be replaced with N_() rather than _().
I've check the code. There are misusing of ngettext. Here is the patch.

--- addressbook_window.cpp	2004-11-21 00:42:36.000000000 +0800
+++ new.addressbook_window.cpp	2004-11-22 08:17:58.000000000 +0800
@@ -1777,11 +1777,11 @@
 			       addressbook->name);
       /* Translators, pay attention to the singular/plural distinction */
       else if (nbr == (int) g_slist_length (contacts))
-	msg = g_strdup_printf (ngettext (_("Found %d user in %s"), 
-					 _("Found %d users in %s"), nbr), 
+	msg = g_strdup_printf (ngettext ("Found %d user in %s", 
+					 "Found %d users in %s", nbr), 
 			       nbr, addressbook->name);
       else
-	msg = g_strdup_printf (ngettext (_("Found %d user in %s for a total of %d users"), _("Found %d users in %s for a total of %d users"), nbr), g_slist_length (contacts), addressbook->name, nbr);
+	msg = g_strdup_printf (ngettext ("Found %d user in %s for a total of %d users", "Found %d users in %s for a total of %d users", nbr), g_slist_length (contacts), addressbook->name, nbr);
 	
       gdk_threads_enter ();
       gm_aw_update_addressbook (addressbook_window, 


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