From de3cc277064937727e2f728113e0d63c64aa3bb8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 15 Jun 2009 18:04:49 -0400 Subject: Cleanup some translation handling Use g_*gettext functions in gdk-pixbuf instead direct gettext calls to benefit from the maybe-dont-translate functionality in GLib. Also, replace a hand-rolled version by g_dpgettext2 in gtkbuilderparser.c. Fixes bug 585791. --- gdk/x11/gdkapplaunchcontext-x11.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdk/x11/gdkapplaunchcontext-x11.c') diff --git a/gdk/x11/gdkapplaunchcontext-x11.c b/gdk/x11/gdkapplaunchcontext-x11.c index 106fcf5563..3dace4aa5c 100644 --- a/gdk/x11/gdkapplaunchcontext-x11.c +++ b/gdk/x11/gdkapplaunchcontext-x11.c @@ -312,10 +312,10 @@ _gdk_windowing_get_startup_notify_id (GAppLaunchContext *context, else if (files_count == 1) description = g_strdup_printf (_("Opening %s"), get_display_name (files->data)); else - description = g_strdup_printf (dngettext (GETTEXT_PACKAGE, - "Opening %d Item", - "Opening %d Items", - files_count), files_count); + description = g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, + "Opening %d Item", + "Opening %d Items", + files_count), files_count); icon_name = NULL; if (priv->icon_name) -- cgit v1.2.1