[gimp] Bug 679223 - "Rate" in tool options needs translation context



commit 5efd56c1c86b02351fdf4f2144206bfd19a1472c
Author: Michael Natterer <mitch gimp org>
Date:   Mon Nov 12 01:06:58 2012 +0100

    Bug 679223 - "Rate" in tool options needs translation context
    
    Add translation contexts for "Rate" of airbrush, convolve and smudge.

 app/tools/gimpairbrushtool.c |    2 +-
 app/tools/gimpconvolvetool.c |    2 +-
 app/tools/gimpsmudgetool.c   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimpairbrushtool.c b/app/tools/gimpairbrushtool.c
index 85a67a9..a0816fd 100644
--- a/app/tools/gimpairbrushtool.c
+++ b/app/tools/gimpairbrushtool.c
@@ -89,7 +89,7 @@ gimp_airbrush_options_gui (GimpToolOptions *tool_options)
   gtk_widget_show (button);
 
   scale = gimp_prop_spin_scale_new (config, "rate",
-                                    _("Rate"),
+                                    C_("airbrush-tool", "Rate"),
                                     1.0, 10.0, 1);
   gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
   gtk_widget_show (scale);
diff --git a/app/tools/gimpconvolvetool.c b/app/tools/gimpconvolvetool.c
index b2f46d2..48eebd1 100644
--- a/app/tools/gimpconvolvetool.c
+++ b/app/tools/gimpconvolvetool.c
@@ -226,7 +226,7 @@ gimp_convolve_options_gui (GimpToolOptions *tool_options)
 
   /*  the rate scale  */
   scale = gimp_prop_spin_scale_new (config, "rate",
-                                    _("Rate"),
+                                    C_("convolve-tool", "Rate"),
                                     1.0, 10.0, 1);
   gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
   gtk_widget_show (scale);
diff --git a/app/tools/gimpsmudgetool.c b/app/tools/gimpsmudgetool.c
index 7b2fcba..e150d52 100644
--- a/app/tools/gimpsmudgetool.c
+++ b/app/tools/gimpsmudgetool.c
@@ -89,7 +89,7 @@ gimp_smudge_options_gui (GimpToolOptions *tool_options)
 
   /*  the rate scale  */
   scale = gimp_prop_spin_scale_new (config, "rate",
-                                    _("Rate"),
+                                    C_("smudge-tool", "Rate"),
                                     1.0, 10.0, 1);
   gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
   gtk_widget_show (scale);



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