From 9b455125e9cb21dfc665859d67236ee93b7770ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 26 Jun 2012 20:41:16 +0200 Subject: [PATCH] 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. --- src/cryptsetup.c | 2 +- src/cryptsetup_reencrypt.c | 2 +- src/veritysetup.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cryptsetup.c b/src/cryptsetup.c index 09d7510..1ca3287 100644 --- a/src/cryptsetup.c +++ b/src/cryptsetup.c @@ -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...] ")); + _("[OPTION...] ")); while((r = poptGetNextOpt(popt_context)) > 0) { unsigned long long ull_value; diff --git a/src/cryptsetup_reencrypt.c b/src/cryptsetup_reencrypt.c index a7b4509..7c0b985 100644 --- a/src/cryptsetup_reencrypt.c +++ b/src/cryptsetup_reencrypt.c @@ -1260,7 +1260,7 @@ int main(int argc, const char **argv) popt_context = poptGetContext(PACKAGE, argc, argv, popt_options, 0); poptSetOtherOptionHelp(popt_context, - N_("[OPTION...] ")); + _("[OPTION...] ")); while((r = poptGetNextOpt(popt_context)) > 0) ; if (r < -1) diff --git a/src/veritysetup.c b/src/veritysetup.c index 04691ba..d9bc048 100644 --- a/src/veritysetup.c +++ b/src/veritysetup.c @@ -517,7 +517,7 @@ int main(int argc, const char **argv) popt_context = poptGetContext("verity", argc, argv, popt_options, 0); poptSetOtherOptionHelp(popt_context, - N_("[OPTION...] ")); + _("[OPTION...] ")); while((r = poptGetNextOpt(popt_context)) > 0) { unsigned long long ull_value; -- 2.7.4