From: Petr Písař Date: Tue, 26 Jun 2012 18:41:16 +0000 (+0200) Subject: Pass help text to popt already translated X-Git-Tag: upstream/1.6~219 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fcryptsetup.git;a=commitdiff_plain;h=9b455125e9cb21dfc665859d67236ee93b7770ea 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. --- 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;