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 <baptiste--git@jonglez.org> Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
committed by
Lukas Fleischer
parent
1019be7cce
commit
b5a911421f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user