diff options
author | Baptiste Jonglez <baptiste--git@jonglez.org> | 2012-05-25 13:17:37 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-25 13:28:26 +0200 |
commit | b5a911421fbacc0e937264919ad4718f2fc4de14 (patch) | |
tree | b8772667c35eaaed9bffe9dd26a1efd00401b929 /src/utils.c | |
parent | 1019be7cced2c0dfb677336ee2fe1da8bfde5a22 (diff) | |
download | calcurse-b5a911421fbacc0e937264919ad4718f2fc4de14.zip |
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>
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |