mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-18 22:30:07 +01:00
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:
@@ -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...] <device>"));
|
||||
_("[OPTION...] <device>"));
|
||||
|
||||
while((r = poptGetNextOpt(popt_context)) > 0) ;
|
||||
if (r < -1)
|
||||
|
||||
Reference in New Issue
Block a user