summaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-03-18 14:18:53 -0700
committerRoland McGrath <roland@hack.frob.com>2013-03-18 14:59:47 -0700
commit0e2b9cdde7def82bc7c2df5b0fae323825b222a3 (patch)
tree717f62f17370f68b3ebdfbceb22be52c64bc10a2 /iconv
parent69854bb5e9d734784b08a8ab1391ac8a8f5256c1 (diff)
BZ#14812: Add missing translation marker on some argp option argument names in utilities.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/iconv_prog.c6
-rw-r--r--iconv/iconvconfig.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index 4142020954..a42cc5b375 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -57,13 +57,13 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
static const struct argp_option options[] =
{
{ NULL, 0, NULL, 0, N_("Input/Output format specification:") },
- { "from-code", 'f', "NAME", 0, N_("encoding of original text") },
- { "to-code", 't', "NAME", 0, N_("encoding for output") },
+ { "from-code", 'f', N_("NAME"), 0, N_("encoding of original text") },
+ { "to-code", 't', N_("NAME"), 0, N_("encoding for output") },
{ NULL, 0, NULL, 0, N_("Information:") },
{ "list", 'l', NULL, 0, N_("list all known coded character sets") },
{ NULL, 0, NULL, 0, N_("Output control:") },
{ NULL, 'c', NULL, 0, N_("omit invalid characters from output") },
- { "output", 'o', "FILE", 0, N_("output file") },
+ { "output", 'o', N_("FILE"), 0, N_("output file") },
{ "silent", 's', NULL, 0, N_("suppress warnings") },
{ "verbose", OPT_VERBOSE, NULL, 0, N_("print progress information") },
{ NULL, 0, NULL, 0, NULL }
diff --git a/iconv/iconvconfig.c b/iconv/iconvconfig.c
index 677620b963..9e871d279c 100644
--- a/iconv/iconvconfig.c
+++ b/iconv/iconvconfig.c
@@ -123,8 +123,9 @@ static char *more_help (int key, const char *text, void *input);
#define OPT_NOSTDLIB 301
static const struct argp_option options[] =
{
- { "prefix", OPT_PREFIX, "PATH", 0, N_("Prefix used for all file accesses") },
- { "output", 'o', "FILE", 0, N_("\
+ { "prefix", OPT_PREFIX, N_("PATH"), 0,
+ N_("Prefix used for all file accesses") },
+ { "output", 'o', N_("FILE"), 0, N_("\
Put output in FILE instead of installed location\
(--prefix does not apply to FILE)") },
{ "nostdlib", OPT_NOSTDLIB, NULL, 0,