From 0e2b9cdde7def82bc7c2df5b0fae323825b222a3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 18 Mar 2013 14:18:53 -0700 Subject: BZ#14812: Add missing translation marker on some argp option argument names in utilities. --- iconv/iconv_prog.c | 6 +++--- iconv/iconvconfig.c | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'iconv') 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, -- cgit v1.2.3