gcalctool r2034 - trunk/gcalctool



Author: richb
Date: Fri Mar 14 10:58:20 2008
New Revision: 2034
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2034&view=rev

Log:
    * gcalctool/gtk.c:
      Fixed bug #522334 - ngettext() required for numeric places.


Modified:
   trunk/gcalctool/gtk.c

Modified: trunk/gcalctool/gtk.c
==============================================================================
--- trunk/gcalctool/gtk.c	(original)
+++ trunk/gcalctool/gtk.c	Fri Mar 14 10:58:20 2008
@@ -543,10 +543,9 @@
     widget = gtk_bin_get_child(GTK_BIN(GET_WIDGET("acc_item_other")));
     gtk_label_set_markup_with_mnemonic(GTK_LABEL(widget), text);
 
-    /* Translators: The accuracy range will always be plural, so no need to
-     *             use ngettext here.
-     */
-    desc = g_strdup_printf(_("Set accuracy from 0 to %d numeric places."),
+    desc = g_strdup_printf(ngettext("Set accuracy from 0 to %d numeric place.",
+                                    "Set accuracy from 0 to %d numeric places.",
+                                    MAXACC),
                            MAXACC);
 
     /* Translators: This refers to the current accuracy setting */



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