Pass help text to popt already translated

popt does not process the text registered by poptSetOtherOptionHelp()
through gettext on its own. Application must do it.
This commit is contained in:
Petr Písař
2012-06-26 20:41:16 +02:00
committed by Milan Broz
parent adcb9bfb7d
commit 9b455125e9
3 changed files with 3 additions and 3 deletions

View File

@@ -1326,7 +1326,7 @@ int main(int argc, const char **argv)
popt_context = poptGetContext(PACKAGE, argc, argv, popt_options, 0);
poptSetOtherOptionHelp(popt_context,
N_("[OPTION...] <action> <action-specific>"));
_("[OPTION...] <action> <action-specific>"));
while((r = poptGetNextOpt(popt_context)) > 0) {
unsigned long long ull_value;