[gegl] Fixed typos and improved formatting consistency in user-visible messages of affine ops



commit a7db704d0161bc85e898198c0e8617fe6189aa59
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date:   Sun Apr 1 10:30:22 2012 +0400

    Fixed typos and improved formatting consistency in user-visible messages of affine ops

 operations/affine/affine.c    |    6 +++---
 operations/affine/reflect.c   |    4 ++--
 operations/affine/rotate.c    |    2 +-
 operations/affine/scale.c     |    4 ++--
 operations/affine/shear.c     |    6 +++---
 operations/affine/translate.c |    6 +++---
 6 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/operations/affine/affine.c b/operations/affine/affine.c
index 7ef7319..c3ae056 100644
--- a/operations/affine/affine.c
+++ b/operations/affine/affine.c
@@ -220,15 +220,15 @@ op_affine_class_init (OpAffineClass *klass)
   g_object_class_install_property (gobject_class, PROP_HARD_EDGES,
                                    g_param_spec_boolean (
                                      "hard-edges",
-                                     _("Hard-edges"),
+                                     _("Hard edges"),
                                      _("Hard edges"),
                                      FALSE,
                                      G_PARAM_CONSTRUCT | G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class, PROP_LANCZOS_WIDTH,
                                    g_param_spec_int (
-                                     "lanczos-width",
+                                     "Lanczos width",
                                      _("Lanczos-width"),
-                                     _("Width of lanczos function"),
+                                     _("Width of the Lanczos function"),
                                      3, 6, 3,
                                      G_PARAM_CONSTRUCT | G_PARAM_READWRITE));
 }
diff --git a/operations/affine/reflect.c b/operations/affine/reflect.c
index 7e566d5..f075c14 100644
--- a/operations/affine/reflect.c
+++ b/operations/affine/reflect.c
@@ -26,9 +26,9 @@
 #ifdef GEGL_CHANT_PROPERTIES
 
 gegl_chant_double (x, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
-  _("Direction vector's x component"))
+  _("Direction vector's X component"))
 gegl_chant_double (y, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
-  _("Direction vector's y component"))
+  _("Direction vector's Y component"))
 
 #else
 
diff --git a/operations/affine/rotate.c b/operations/affine/rotate.c
index 7cc80c5..6bdee06 100644
--- a/operations/affine/rotate.c
+++ b/operations/affine/rotate.c
@@ -23,7 +23,7 @@
 #ifdef GEGL_CHANT_PROPERTIES
 
 gegl_chant_double (degrees, -G_MAXDOUBLE, G_MAXDOUBLE, 0.,
-                   _("Angle to rotate (clockwize)"))
+                   _("Angle to rotate (clockwise)"))
 
 #else
 
diff --git a/operations/affine/scale.c b/operations/affine/scale.c
index b046744..672b944 100644
--- a/operations/affine/scale.c
+++ b/operations/affine/scale.c
@@ -22,8 +22,8 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_double (x, -G_MAXDOUBLE, G_MAXDOUBLE, 1., _("Horizontal scale factor."))
-gegl_chant_double (y, -G_MAXDOUBLE, G_MAXDOUBLE, 1., _("Vertical scale factor."))
+gegl_chant_double (x, -G_MAXDOUBLE, G_MAXDOUBLE, 1., _("Horizontal scale factor"))
+gegl_chant_double (y, -G_MAXDOUBLE, G_MAXDOUBLE, 1., _("Vertical scale factor"))
 
 #else
 
diff --git a/operations/affine/shear.c b/operations/affine/shear.c
index 0dd320d..4277d51 100644
--- a/operations/affine/shear.c
+++ b/operations/affine/shear.c
@@ -23,14 +23,14 @@
 #ifdef GEGL_CHANT_PROPERTIES
 
 gegl_chant_double (x, -G_MAXDOUBLE, G_MAXDOUBLE, 1.,
-                   _("Horizontal shear amount."))
+                   _("Horizontal shear amount"))
 gegl_chant_double (y, -G_MAXDOUBLE, G_MAXDOUBLE, 1.,
-                   _("Vertical shear amount."))
+                   _("Vertical shear amount"))
 
 #else
 
 #define GEGL_CHANT_NAME shear
-#define GEGL_CHANT_DESCRIPTION    _("Shears the buffer.")
+#define GEGL_CHANT_DESCRIPTION    _("Shears the buffer")
 #define GEGL_CHANT_SELF "shear.c"
 #include "chant.h"
 
diff --git a/operations/affine/translate.c b/operations/affine/translate.c
index 76b92e8..8fa4572 100644
--- a/operations/affine/translate.c
+++ b/operations/affine/translate.c
@@ -23,14 +23,14 @@
 #ifdef GEGL_CHANT_PROPERTIES
 
 gegl_chant_double (x, -G_MAXDOUBLE, G_MAXDOUBLE, 1.,
-                   _("Horizontal translation."))
+                   _("Horizontal translation"))
 gegl_chant_double (y, -G_MAXDOUBLE, G_MAXDOUBLE, 1.,
-                   _("Vertical translation."))
+                   _("Vertical translation"))
 
 #else
 
 #define GEGL_CHANT_NAME translate
-#define GEGL_CHANT_DESCRIPTION  _("Repositions the buffer (with subpixel precision), if integer coordinates are passed a fast-path without resampling is used.")
+#define GEGL_CHANT_DESCRIPTION  _("Repositions the buffer (with subpixel precision), if integer coordinates are passed a fast-path without resampling is used")
 #define GEGL_CHANT_SELF "translate.c"
 #include "chant.h"
 



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