[gimp] pdb: add translation context to the newly added PDB functions



commit a96a0d0bed107acc8f97214bdf5418d4fbc7ee98
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jan 13 01:27:37 2014 +0100

    pdb: add translation context to the newly added PDB functions

 app/pdb/drawable-color-cmds.c       |   10 +++++-----
 tools/pdbgen/pdb/drawable_color.pdb |   10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/app/pdb/drawable-color-cmds.c b/app/pdb/drawable-color-cmds.c
index 0feb8f9..685ed39 100644
--- a/app/pdb/drawable-color-cmds.c
+++ b/app/pdb/drawable-color-cmds.c
@@ -320,7 +320,7 @@ drawable_desaturate_invoker (GimpProcedure         *procedure,
                                           NULL);
 
           gimp_drawable_apply_operation_by_name (drawable, progress,
-                                                 _("Desaturate"),
+                                                 C_("undo-type", "Desaturate"),
                                                  "gimp:desaturate",
                                                  config);
           g_object_unref (config);
@@ -496,7 +496,7 @@ drawable_hue_saturation_invoker (GimpProcedure         *procedure,
                          NULL);
 
           gimp_drawable_apply_operation_by_name (drawable, progress,
-                                                 _("Hue-Saturation"),
+                                                 C_("undo-type", "Hue-Saturation"),
                                                  "gimp:hue-saturation",
                                                  config);
           g_object_unref (config);
@@ -529,7 +529,7 @@ drawable_invert_invoker (GimpProcedure         *procedure,
           gimp_pdb_item_is_not_group (GIMP_ITEM (drawable), error))
         {
           gimp_drawable_apply_operation_by_name (drawable, progress,
-                                                 _("Invert"),
+                                                 C_("undo-type", "Invert"),
                                                  "gegl:invert-gamma",
                                                  NULL);
         }
@@ -656,7 +656,7 @@ drawable_posterize_invoker (GimpProcedure         *procedure,
                                           NULL);
 
           gimp_drawable_apply_operation_by_name (drawable, progress,
-                                                 _("Posterize"),
+                                                 C_("undo-type", "Posterize"),
                                                  "gimp:posterize",
                                                  config);
           g_object_unref (config);
@@ -698,7 +698,7 @@ drawable_threshold_invoker (GimpProcedure         *procedure,
                                           NULL);
 
           gimp_drawable_apply_operation_by_name (drawable, progress,
-                                                 _("Threshold"),
+                                                 C_("undo-type", "Threshold"),
                                                  "gimp:threshold",
                                                  config);
           g_object_unref (config);
diff --git a/tools/pdbgen/pdb/drawable_color.pdb b/tools/pdbgen/pdb/drawable_color.pdb
index 13547d9..92de380 100644
--- a/tools/pdbgen/pdb/drawable_color.pdb
+++ b/tools/pdbgen/pdb/drawable_color.pdb
@@ -326,7 +326,7 @@ HELP
                                       NULL);
 
       gimp_drawable_apply_operation_by_name (drawable, progress,
-                                             _("Desaturate"),
+                                             C_("undo-type", "Desaturate"),
                                              "gimp:desaturate",
                                              config);
       g_object_unref (config);
@@ -535,7 +535,7 @@ HELP
                      NULL);
 
       gimp_drawable_apply_operation_by_name (drawable, progress,
-                                             _("Hue-Saturation"),
+                                             C_("undo-type", "Hue-Saturation"),
                                              "gimp:hue-saturation",
                                              config);
       g_object_unref (config);
@@ -572,7 +572,7 @@ HELP
       gimp_pdb_item_is_not_group (GIMP_ITEM (drawable), error))
     {
       gimp_drawable_apply_operation_by_name (drawable, progress,
-                                             _("Invert"),
+                                             C_("undo-type", "Invert"),
                                              "gegl:invert-gamma",
                                              NULL);
     }
@@ -722,7 +722,7 @@ HELP
                                       NULL);
 
       gimp_drawable_apply_operation_by_name (drawable, progress,
-                                             _("Posterize"),
+                                             C_("undo-type", "Posterize"),
                                              "gimp:posterize",
                                              config);
       g_object_unref (config);
@@ -770,7 +770,7 @@ HELP
                                       NULL);
 
       gimp_drawable_apply_operation_by_name (drawable, progress,
-                                             _("Threshold"),
+                                             C_("undo-type", "Threshold"),
                                              "gimp:threshold",
                                              config);
       g_object_unref (config);


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