diff options
author | Jim Evins <evins@snaught.com> | 2010-05-24 10:58:49 -0400 |
---|---|---|
committer | Jim Evins <evins@snaught.com> | 2010-05-24 10:58:49 -0400 |
commit | 0c89cdc382cd774da88e0b065fc0b6851aacbdf1 (patch) | |
tree | ac3ed15d89ed6b560a8fa7d9c6c3428cf0d1aca5 | |
parent | 30d4df7681459d895ef5c09e2e43ba88c0e72785 (diff) |
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.
-rw-r--r-- | 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") }, }; |