]> Pileus Git - ~andy/gtk/commitdiff
Fix a translation problem in the about dialog
authorMatthias Clasen <mclasen@redhat.com>
Sun, 22 Aug 2010 23:04:25 +0000 (19:04 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Aug 2010 23:05:35 +0000 (19:05 -0400)
The license preamble needs to be translated with the GTK+ domain,
not the applications. Bug 627643.

gtk/gtkaboutdialog.c

index 250793add87f79abcef98d3133756a155a7b04cb..388b69abe12b3f97d8672873aa02d3078f51c590 100644 (file)
@@ -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);