[gtk+] Fix a translation problem in the about dialog



commit b415d2f79b84ffc03e2d0308a09e9ea8852b860c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 22 19:04:25 2010 -0400

    Fix a translation problem in the about dialog
    
    The license preamble needs to be translated with the GTK+ domain,
    not the applications. Bug 627643.

 gtk/gtkaboutdialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 250793a..388b69a 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -2565,7 +2565,7 @@ gtk_about_dialog_set_license_type (GtkAboutDialog *about,
           g_string_append (str, "\n");
           g_string_append (str, priv->copyright);
           g_string_append (str, "\n\n");
-          g_string_append_printf (str, gettext (gtk_license_preamble), url);
+          g_string_append_printf (str, _(gtk_license_preamble), url);
 
           g_free (priv->license);
           priv->license = g_string_free (str, FALSE);



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