From 0c89cdc382cd774da88e0b065fc0b6851aacbdf1 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Mon, 24 May 2010 10:58:49 -0400 Subject: [PATCH] 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 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/color-combo-menu.c b/src/color-combo-menu.c index 7e2bf155..ec24fab2 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") }, }; -- 2.39.5