[glabels] Properly mark strings as no-c-format



commit 0c89cdc382cd774da88e0b065fc0b6851aacbdf1
Author: Jim Evins <evins snaught com>
Date:   Mon May 24 10:58:49 2010 -0400

    Properly mark strings as no-c-format
    
    Properly mark non-c-format strings containing '%' as no-c-format.
     - Added "xgettext: no-c-format" comments as suggested by Claude Paroz.
     - Removed backslashes ('\') from my ignorant attempt to address this.

 src/color-combo-menu.c |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/src/color-combo-menu.c b/src/color-combo-menu.c
index 7e2bf15..ec24fab 100644
--- a/src/color-combo-menu.c
+++ b/src/color-combo-menu.c
@@ -113,11 +113,16 @@ static ColorTableEntry color_table[] =
         { GL_COLOR (216, 191, 216), N_("Thistle") },
 
         { GL_COLOR (255, 255, 255), N_("White") },
-        { GL_COLOR (230, 230, 230), N_("10\% Gray") },
-        { GL_COLOR (192, 192, 192), N_("25\% Gray") },
-        { GL_COLOR (153, 153, 153), N_("40\% Gray") },
-        { GL_COLOR (128, 128, 128), N_("50\% Gray") },
-        { GL_COLOR (102, 102, 102), N_("60\% Gray") },
+        /* xgettext: no-c-format */
+        { GL_COLOR (230, 230, 230), N_("10% Gray") },
+        /* xgettext: no-c-format */
+        { GL_COLOR (192, 192, 192), N_("25% Gray") },
+        /* xgettext: no-c-format */
+        { GL_COLOR (153, 153, 153), N_("40% Gray") },
+        /* xgettext: no-c-format */
+        { GL_COLOR (128, 128, 128), N_("50% Gray") },
+        /* xgettext: no-c-format */
+        { GL_COLOR (102, 102, 102), N_("60% Gray") },
         { GL_COLOR (  0,   0,   0), N_("Black") },
 
 };



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