[gimp] Bug 589665 – Minor mistakes in gimprc documentation



commit cc7e372a84ce8e9c390f094d6f814182c37543cb
Author: Christopher Howard <choward indicium us>
Date:   Sat Jul 25 13:09:02 2009 -0800

    Bug 589665 â?? Minor mistakes in gimprc documentation
    
    Adjust code which auto-generates the gimprc man page to:
     - fix spelling mistakes.
     - remove unintentional indentation.
     - remove out of place punctuation.

 app/config/gimpconfig-dump.c |    7 +++++--
 app/config/gimprc-blurbs.h   |    4 ++--
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/app/config/gimpconfig-dump.c b/app/config/gimpconfig-dump.c
index 391d35d..7d4d4b6 100644
--- a/app/config/gimpconfig-dump.c
+++ b/app/config/gimpconfig-dump.c
@@ -236,7 +236,7 @@ static const gchar man_page_footer[] =
 "Per-user configuration file\n"
 "\n"
 ".SH \"SEE ALSO\"\n"
-".BR gimp (1),\n";
+".BR gimp (1)\n";
 
 
 static void
@@ -478,7 +478,10 @@ dump_describe_param (GParamSpec *param_spec)
     g_warning ("FIXME: Can't tell anything about a %s.",
                g_type_name (param_spec->value_type));
 
-  return g_strdup_printf ("%s  %s", blurb, values);
+  if(strcmp(blurb, "") == 0)
+    return g_strdup_printf ("%s", values);
+  else
+    return g_strdup_printf ("%s  %s", blurb, values);
 }
 
 
diff --git a/app/config/gimprc-blurbs.h b/app/config/gimprc-blurbs.h
index 024954e..9f45771 100644
--- a/app/config/gimprc-blurbs.h
+++ b/app/config/gimprc-blurbs.h
@@ -241,7 +241,7 @@ N_("Sets how many processors GIMP should try to use simultaneously.")
 N_("When enabled, the X server is queried for the mouse's current position " \
    "on each motion event, rather than relying on the position hint.  This " \
    "means painting with large brushes should be more accurate, but it may " \
-   "be slower.  Perversely, on some X servers enabling this option results " \
+   "be slower.  Conversely, on some X servers enabling this option results " \
    "in faster painting.")
 
 #define PLUG_IN_HISTORY_SIZE_BLURB \
@@ -444,7 +444,7 @@ N_("When enabled, pressing F1 will open the help browser.")
 #define WEB_BROWSER_BLURB \
 N_("Sets the external web browser to be used.  This can be an absolute " \
    "path or the name of an executable to search for in the user's PATH. " \
-   "If the command contains '%s' it will be replaced with the URL, else " \
+   "If the command contains '%s' it will be replaced with the URL, otherwise " \
    "the URL will be appended to the command with a space separating the " \
    "two.")
 



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