[gegl] operations: add TRANSLATORS: comments for default values of colors



commit 8f0e06513990a0e686aeef27482805c2e6538f7c
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jan 15 17:37:42 2017 +0100

    operations: add TRANSLATORS: comments for default values of colors

 operations/common/color.c      |    1 +
 operations/common/dropshadow.c |    1 +
 operations/common/vignette.c   |    1 +
 operations/external/text.c     |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/color.c b/operations/common/color.c
index 17bc790..242d2d6 100644
--- a/operations/common/color.c
+++ b/operations/common/color.c
@@ -22,6 +22,7 @@
 #ifdef GEGL_PROPERTIES
 
 property_color (value, _("Color"), "black")
+    /* TRANSLATORS: the string 'black' should not be translated */
     description (("The color to render (defaults to 'black')"))
     ui_meta     ("role", "color-primary")
 
diff --git a/operations/common/dropshadow.c b/operations/common/dropshadow.c
index 3acb280..01d69bd 100644
--- a/operations/common/dropshadow.c
+++ b/operations/common/dropshadow.c
@@ -41,6 +41,7 @@ property_double (radius, _("Blur radius"), 10.0)
   ui_meta       ("unit", "pixel-distance")
 
 property_color  (color, _("Color"), "black")
+    /* TRANSLATORS: the string 'black' should not be translated */
   description   (_("The shadow's color (defaults to 'black')"))
 
 /* It does make sense to sometimes have opacities > 1 (see GEGL logo
diff --git a/operations/common/vignette.c b/operations/common/vignette.c
index f949769..72496a4 100644
--- a/operations/common/vignette.c
+++ b/operations/common/vignette.c
@@ -32,6 +32,7 @@ property_enum (shape, _("Vignette shape"),
     GEGL_VIGNETTE_SHAPE_CIRCLE)
 
 property_color (color, _("Color"), "black")
+    /* TRANSLATORS: the string 'black' should not be translated */
     description (_("Defaults to 'black', you can use transparency here to erase portions of an image"))
 
 property_double (radius, _("Radius"), 1.2)
diff --git a/operations/external/text.c b/operations/external/text.c
index 04646d2..4036034 100644
--- a/operations/external/text.c
+++ b/operations/external/text.c
@@ -34,6 +34,7 @@ property_double (size, _("Size"), 10.0)
     value_range (0.0, 2048.0)
 
 property_color  (color, _("Color"), "black")
+    /* TRANSLATORS: the string 'black' should not be translated */
     description(_("Color for the text (defaults to 'black')"))
 
 property_int  (wrap, _("Wrap width"), -1)


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