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/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index b3d9c71..bf950aa 100644 --- a/src/utils.c +++ b/src/utils.c @@ -253,7 +253,7 @@ status_ask_simplechoice(const char *prefix, const char *choice[], int nb_choice) for (i = 0; i < nb_choice; i++) { snprintf(tmp, BUFSIZ, ((i + 1) == nb_choice) ? "(%d) %s?" : "(%d) %s, ", - (i + 1), _(choice[i])); + (i + 1), choice[i]); strcat(choicestr, tmp); } -- cgit v1.2.3-54-g00ecf