[gimp] tools: fix visible "plug-in" strings in PDB sources.



commit 913b54dd2525906c06f6a44b8c05f32572566011
Author: Jehan <jehan girinstud io>
Date:   Tue Apr 4 13:09:42 2017 +0200

    tools: fix visible "plug-in" strings in PDB sources.
    
    So I previously (cf. commit bc344a9) fixed generated files instead of
    the source. Oups!
    Also it seems I missed a few strings here and there.

 libgimp/gimpimage_pdb.c             |    4 ++--
 libgimp/gimpimageundo_pdb.c         |    4 ++--
 libgimp/gimpplugin_pdb.c            |    4 ++--
 tools/pdbgen/pdb/drawable.pdb       |    2 +-
 tools/pdbgen/pdb/image.pdb          |    4 ++--
 tools/pdbgen/pdb/image_undo.pdb     |    4 ++--
 tools/pdbgen/pdb/plug_in.pdb        |   30 +++++++++++++++---------------
 tools/pdbgen/pdb/plug_in_compat.pdb |   10 +++++-----
 tools/pdbgen/pdb/procedural_db.pdb  |    2 +-
 9 files changed, 32 insertions(+), 32 deletions(-)
---
diff --git a/libgimp/gimpimage_pdb.c b/libgimp/gimpimage_pdb.c
index 17c3c32..773a719 100644
--- a/libgimp/gimpimage_pdb.c
+++ b/libgimp/gimpimage_pdb.c
@@ -2504,7 +2504,7 @@ gimp_image_set_unit (gint32   image_ID,
  * Returns the tattoo state associated with the image.
  *
  * This procedure returns the tattoo state of the image. Use only by
- * save/load plugins that wish to preserve an images tattoo state.
+ * save/load plug-ins that wish to preserve an images tattoo state.
  * Using this function at other times will produce unexpected results.
  *
  * Returns: The tattoo state.
@@ -2537,7 +2537,7 @@ gimp_image_get_tattoo_state (gint32 image_ID)
  * Set the tattoo state associated with the image.
  *
  * This procedure sets the tattoo state of the image. Use only by
- * save/load plugins that wish to preserve an images tattoo state.
+ * save/load plug-ins that wish to preserve an images tattoo state.
  * Using this function at other times will produce unexpected results.
  * A full check of uniqueness of states in layers, channels and paths
  * will be performed by this procedure and a execution failure will be
diff --git a/libgimp/gimpimageundo_pdb.c b/libgimp/gimpimageundo_pdb.c
index a8e9c33..0b828e7 100644
--- a/libgimp/gimpimageundo_pdb.c
+++ b/libgimp/gimpimageundo_pdb.c
@@ -103,7 +103,7 @@ gimp_image_undo_group_end (gint32 image_ID)
  * Check if the image's undo stack is enabled.
  *
  * This procedure checks if the image's undo stack is currently enabled
- * or disabled. This is useful when several plugins or scripts call
+ * or disabled. This is useful when several plug-ins or scripts call
  * each other and want to check if their caller has already used
  * gimp_image_undo_disable() or gimp_image_undo_freeze().
  *
@@ -249,7 +249,7 @@ gimp_image_undo_freeze (gint32 image_ID)
  * stack as gimp_image_undo_enable() does, so is suited for situations
  * where one wishes to leave the undo stack in the same state in which
  * one found it despite non-destructively playing with the image in the
- * meantime. An example would be in-situ plugin previews. Balancing
+ * meantime. An example would be in-situ plug-in previews. Balancing
  * freezes and thaws and ensuring image consistency is the
  * responsibility of the caller.
  *
diff --git a/libgimp/gimpplugin_pdb.c b/libgimp/gimpplugin_pdb.c
index 6c688f0..a03d366 100644
--- a/libgimp/gimpplugin_pdb.c
+++ b/libgimp/gimpplugin_pdb.c
@@ -28,9 +28,9 @@
 /**
  * SECTION: gimpplugin
  * @title: gimpplugin
- * @short_description: Functions useful for plugins, e.g. registration and progress indicators.
+ * @short_description: Functions useful for plug-ins, e.g. registration and progress indicators.
  *
- * Functions useful for plugins, e.g. registration and progress
+ * Functions useful for plug-ins, e.g. registration and progress
  * indicators.
  **/
 
diff --git a/tools/pdbgen/pdb/drawable.pdb b/tools/pdbgen/pdb/drawable.pdb
index 984429a..a794ffb 100644
--- a/tools/pdbgen/pdb/drawable.pdb
+++ b/tools/pdbgen/pdb/drawable.pdb
@@ -45,7 +45,7 @@ HELP
                                  GIMP_PDB_ITEM_CONTENT, error) &&
       gimp_pdb_item_is_not_group (GIMP_ITEM (drawable), error))
     {
-      const gchar *undo_desc = _("Plug-In");
+      const gchar *undo_desc = _("Plug-in");
 
       if (gimp->plug_in_manager->current_plug_in)
         undo_desc = gimp_plug_in_get_undo_desc (gimp->plug_in_manager->current_plug_in);
diff --git a/tools/pdbgen/pdb/image.pdb b/tools/pdbgen/pdb/image.pdb
index b9feb9e..dc1a71c 100644
--- a/tools/pdbgen/pdb/image.pdb
+++ b/tools/pdbgen/pdb/image.pdb
@@ -2377,7 +2377,7 @@ sub image_get_tattoo_state {
 
     $help = <<'HELP';
 This procedure returns the tattoo state of the image. Use only by
-save/load plugins that wish to preserve an images tattoo state. Using this
+save/load plug-ins that wish to preserve an images tattoo state. Using this
 function at other times will produce unexpected results.
 HELP
 
@@ -2407,7 +2407,7 @@ sub image_set_tattoo_state {
 
     $help = <<'HELP';
 This procedure sets the tattoo state of the image. Use only by
-save/load plugins that wish to preserve an images tattoo state. Using
+save/load plug-ins that wish to preserve an images tattoo state. Using
 this function at other times will produce unexpected results. A full
 check of uniqueness of states in layers, channels and paths will be
 performed by this procedure and a execution failure will be returned
diff --git a/tools/pdbgen/pdb/image_undo.pdb b/tools/pdbgen/pdb/image_undo.pdb
index 4f6823b..3c81083 100644
--- a/tools/pdbgen/pdb/image_undo.pdb
+++ b/tools/pdbgen/pdb/image_undo.pdb
@@ -90,7 +90,7 @@ sub image_undo_is_enabled {
 
     $help = <<'HELP';
 This procedure checks if the image's undo stack is currently enabled or
-disabled.  This is useful when several plugins or scripts call each other
+disabled.  This is useful when several plug-ins or scripts call each other
 and want to check if their caller has already used gimp_image_undo_disable()
 or gimp_image_undo_freeze().
 HELP
@@ -252,7 +252,7 @@ image undo stack.  gimp_image_undo_thaw() does NOT free the undo stack
 as gimp_image_undo_enable() does, so is suited for situations where
 one wishes to leave the undo stack in the same state in which one
 found it despite non-destructively playing with the image in the
-meantime.  An example would be in-situ plugin previews.  Balancing
+meantime.  An example would be in-situ plug-in previews.  Balancing
 freezes and thaws and ensuring image consistency is the responsibility
 of the caller.
 HELP
diff --git a/tools/pdbgen/pdb/plug_in.pdb b/tools/pdbgen/pdb/plug_in.pdb
index 338a5fc..c024eae 100644
--- a/tools/pdbgen/pdb/plug_in.pdb
+++ b/tools/pdbgen/pdb/plug_in.pdb
@@ -17,8 +17,8 @@
 # "Perlized" from C source by Manish Singh <yosh gimp org>
 
 sub plugins_query {
-    $blurb = 'Queries the plugin database for its contents.';
-    $help  = 'This procedure queries the contents of the plugin database.';
+    $blurb = 'Queries the plug-in database for its contents.';
+    $help  = 'This procedure queries the contents of the plug-in database.';
 
     &andy_pdb_misc('1998');
 
@@ -29,30 +29,30 @@ sub plugins_query {
 
     @outargs = (
        { name => 'menu_path', type => 'stringarray',
-         desc => 'The menu path of the plugin',
+         desc => 'The menu path of the plug-in',
          array => { name => 'num_plugins',
-                    desc => 'The number of plugins' } },
+                    desc => 'The number of plug-ins' } },
        { name => 'plugin_accelerator', type => 'stringarray',
          desc => 'String representing keyboard accelerator (could be empty
                   string)',
          array => { name => 'num_plugins', no_declare => 1,
-                    desc => 'The number of plugins' } },
+                    desc => 'The number of plug-ins' } },
        { name => 'plugin_location', type => 'stringarray',
-         desc => 'Location of the plugin program',
+         desc => 'Location of the plug-in program',
          array => { name => 'num_plugins', no_declare => 1,
-                    desc => 'The number of plugins' } },
+                    desc => 'The number of plug-ins' } },
        { name => 'plugin_image_type', type => 'stringarray',
-         desc => 'Type of image that this plugin will work on',
+         desc => 'Type of image that this plug-in will work on',
          array => { name => 'num_plugins', no_declare => 1,
-                    desc => 'The number of plugins' } },
+                    desc => 'The number of plug-ins' } },
        { name => 'plugin_install_time', type => 'int32array',
-         desc => 'Time that the plugin was installed',
+         desc => 'Time that the plug-in was installed',
          array => { name => 'num_plugins', no_declare => 1,
-                    desc => 'The number of plugins' } },
+                    desc => 'The number of plug-ins' } },
        { name => 'plugin_real_name', type => 'stringarray',
-         desc => 'The internal name of the plugin',
+         desc => 'The internal name of the plug-in',
          array => { name => 'num_plugins', no_declare => 1,
-                    desc => 'The number of plugins' } }
+                    desc => 'The number of plug-ins' } }
     );
 
     %invoke = (
@@ -443,7 +443,7 @@ CODE
 
 $desc = 'Plug-in';
 $doc_title = 'gimpplugin';
-$doc_short_desc = 'Functions useful for plugins, e.g. registration and progress indicators.';
-$doc_long_desc = 'Functions useful for plugins, e.g. registration and progress indicators.';
+$doc_short_desc = 'Functions useful for plug-ins, e.g. registration and progress indicators.';
+$doc_long_desc = 'Functions useful for plug-ins, e.g. registration and progress indicators.';
 
 1;
diff --git a/tools/pdbgen/pdb/plug_in_compat.pdb b/tools/pdbgen/pdb/plug_in_compat.pdb
index 9ac8acb..60a8443 100644
--- a/tools/pdbgen/pdb/plug_in_compat.pdb
+++ b/tools/pdbgen/pdb/plug_in_compat.pdb
@@ -2172,7 +2172,7 @@ sub plug_in_laplace {
     $blurb = 'High-resolution edge detection';
 
     $help = <<'HELP';
-This plugin creates one-pixel wide edges from the 
+This plug-in creates one-pixel wide edges from the
 image, with the value proportional to the gradient. 
 It uses the Laplace operator (a 3x3 kernel with -8 
 in the middle). The image has to be laplacered to 
@@ -2303,7 +2303,7 @@ sub plug_in_make_seamless {
     $blurb = 'Alters edges to make the image seamlessly tileable';
 
     $help = <<'HELP';
-This plugin creates a seamless tileable from the input drawable.
+This plug-in creates a seamless tileable from the input drawable.
 HELP
 
     &std_pdb_compat('gegl:tile-seamless');
@@ -3607,7 +3607,7 @@ sub plug_in_semiflatten {
     $blurb = 'Replace partial transparency with the current background color';
 
     $help = <<'HELP';
-This plugin flattens pixels in an RGBA image that aren't completely
+This plug-in flattens pixels in an RGBA image that aren't completely
 transparent against the current GIMP background color.
 HELP
 
@@ -3814,7 +3814,7 @@ sub plug_in_sobel {
     $blurb = 'Specialized direction-dependent edge detection';
 
     $help = <<'HELP';
-This plugin calculates the gradient with a sobel operator. The user
+This plug-in calculates the gradient with a sobel operator. The user
 can specify which direction to use. When both directions are used, the
 result is the RMS of the two gradients; if only one direction is used,
 the result either the absolute value of the gradient, or 127 +
@@ -4954,7 +4954,7 @@ CODE
 
 %exports = (app => [@procs], lib => []);
 
-$desc = 'Plug-In Compat';
+$desc = 'Plug-in Compat';
 $doc_title = 'gimpplugincompat';
 $doc_short_desc = 'Compatibility for removed plug-ins.';
 $doc_long_desc = 'Functions that perform the operation of removed plug-ins using GEGL operations or other 
GIMP internal functions.';
diff --git a/tools/pdbgen/pdb/procedural_db.pdb b/tools/pdbgen/pdb/procedural_db.pdb
index 0e03a60..05856ef 100644
--- a/tools/pdbgen/pdb/procedural_db.pdb
+++ b/tools/pdbgen/pdb/procedural_db.pdb
@@ -110,7 +110,7 @@ HELP
          desc => 'The regex for procedure date' },
        { name => 'proc_type', type => 'string', allow_non_utf8 => 1,
          desc => 'The regex for procedure type: { \'Internal GIMP procedure\',
-                  \'GIMP Plug-In\', \'GIMP Extension\',
+                  \'GIMP Plug-in\', \'GIMP Extension\',
                   \'Temporary Procedure\' }' }
     );
 


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