[dia] Actually translate frame property labels



commit dcc369a6f4eec5d4cede54d54812ab167669addb
Author: Hans Breuer <hans breuer org>
Date:   Sun Sep 18 10:50:53 2011 +0200

    Actually translate frame property labels
    
    Thanks to Cristian SecarÄ for noticing.

 lib/prop_widgets.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/prop_widgets.c b/lib/prop_widgets.c
index 6a6426a..327ce3f 100644
--- a/lib/prop_widgets.c
+++ b/lib/prop_widgets.c
@@ -124,8 +124,8 @@ frame_fold_unfold(GtkWidget *button1, gpointer userdata)
 static WIDGET *
 frame_beginprop_get_widget(FrameProperty *prop, PropDialog *dialog) 
 { 
-  gchar *foldstring = g_strdup_printf("%s <<<", prop->common.descr->description);
-  gchar *unfoldstring = g_strdup_printf("%s >>>", prop->common.descr->description);
+  gchar *foldstring = g_strdup_printf("%s <<<", _(prop->common.descr->description));
+  gchar *unfoldstring = g_strdup_printf("%s >>>", _(prop->common.descr->description));
   GtkWidget *frame = gtk_frame_new(NULL);
   GtkWidget *vbox = gtk_vbox_new(FALSE,2);
   GtkWidget *foldbutton = gtk_button_new_with_label(foldstring);



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