[gtk+/gtk-3-20] font button: Fix translation of font-name default



commit 4b4533ef6880e17c9812624c6387d4ade46b20b7
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 25 23:08:03 2016 -0400

    font button: Fix translation of font-name default
    
    The default value should come out of regular translations, not
    property translations.

 gtk/gtkfontbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 91a0f98..5507375 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -490,7 +490,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
                                    g_param_spec_string ("font-name",
                                                         P_("Font name"),
                                                         P_("The name of the selected font"),
-                                                        P_("Sans 12"),
+                                                        _("Sans 12"),
                                                         GTK_PARAM_READWRITE));
 
   /**


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