From b5a911421fbacc0e937264919ad4718f2fc4de14 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Fri, 25 May 2012 13:17:37 +0200 Subject: Fix incorrect i18n usage for some strings Some strings are initialized without wrapping them in _(); instead, _() is applied on the variable when it is used. This is incorrect, since these strings don't get added to the catalog. Fix that by applying _() only once, when the string is declared. Signed-off-by: Baptiste Jonglez Signed-off-by: Lukas Fleischer --- src/custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/custom.c') diff --git a/src/custom.c b/src/custom.c index e407b00..e6f7d3d 100644 --- a/src/custom.c +++ b/src/custom.c @@ -1044,7 +1044,7 @@ void custom_config_main(void) else { colorize = 0; wins_erase_status_bar(); - mvwprintw(win[STA].p, 0, 0, _(no_color_support)); + mvwprintw(win[STA].p, 0, 0, no_color_support); wgetch(win[STA].p); } break; -- cgit v1.2.3-54-g00ecf