[gimp] Mark user-visible messages for translation



commit 1f80c483615e9e3fe4891a604eacd5f8794e1d4b
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date:   Tue Feb 23 13:26:44 2016 +0300

    Mark user-visible messages for translation

 app/widgets/gimppropgui-constructors.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/app/widgets/gimppropgui-constructors.c b/app/widgets/gimppropgui-constructors.c
index 6b9280a..bd2116e 100644
--- a/app/widgets/gimppropgui-constructors.c
+++ b/app/widgets/gimppropgui-constructors.c
@@ -302,11 +302,11 @@ gimp_prop_angle_range_box_new (GObject     *config,
   gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
   gtk_widget_show (button);
 
-  invert_button = gtk_button_new_with_label ("Invert Range");
+  invert_button = gtk_button_new_with_label (_("Invert Range"));
   gtk_box_pack_start (GTK_BOX (hbox), invert_button, TRUE, TRUE, 0);
   gtk_widget_show (invert_button);
 
-  all_button = gtk_button_new_with_label ("Select All");
+  all_button = gtk_button_new_with_label (_("Select All"));
   gtk_box_pack_start (GTK_BOX (hbox), all_button, TRUE, TRUE, 0);
   gtk_widget_show (all_button);
 
@@ -650,7 +650,7 @@ _gimp_prop_gui_new_diffraction_patterns (GObject              *config,
                                      picker_creator);
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox,
-                            gtk_label_new ("Frequencies"));
+                            gtk_label_new (_("Frequencies")));
   gtk_widget_show (vbox);
 
   vbox = _gimp_prop_gui_new_generic (config,
@@ -660,7 +660,7 @@ _gimp_prop_gui_new_diffraction_patterns (GObject              *config,
                                      picker_creator);
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox,
-                            gtk_label_new ("Contours"));
+                            gtk_label_new (_("Contours")));
   gtk_widget_show (vbox);
 
   vbox = _gimp_prop_gui_new_generic (config,
@@ -670,7 +670,7 @@ _gimp_prop_gui_new_diffraction_patterns (GObject              *config,
                                      picker_creator);
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox,
-                            gtk_label_new ("Sharp Edges"));
+                            gtk_label_new (_("Sharp Edges")));
   gtk_widget_show (vbox);
 
   vbox = _gimp_prop_gui_new_generic (config,
@@ -680,7 +680,7 @@ _gimp_prop_gui_new_diffraction_patterns (GObject              *config,
                                      picker_creator);
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox,
-                            gtk_label_new ("Other Options"));
+                            gtk_label_new (_("Other Options")));
   gtk_widget_show (vbox);
 
   return notebook;


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