diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-06-15 18:04:49 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-06-15 18:25:04 -0400 |
commit | de3cc277064937727e2f728113e0d63c64aa3bb8 (patch) | |
tree | 0c5da0a0d06130fd1eb412b8925bb4e21a998082 /gdk/x11/gdkapplaunchcontext-x11.c | |
parent | 362127c33c16b8626d4a4b8925bfb7b03bee0b6b (diff) | |
download | gtk+-de3cc277064937727e2f728113e0d63c64aa3bb8.tar.gz |
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.
Diffstat (limited to 'gdk/x11/gdkapplaunchcontext-x11.c')
-rw-r--r-- | gdk/x11/gdkapplaunchcontext-x11.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) |