aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-03-20 14:26:58 -0700
committerRoland McGrath <roland@hack.frob.com>2013-03-20 14:26:58 -0700
commit912cc4b3e4f9752b76d9cd43950fb8f5fa87117d (patch)
tree8c946f5c7dab7f1163ba88b1bba72221fc906d86
parent44f908d0e99bc9917e44cd80caa149a4b13ae8a7 (diff)
downloadglibc-912cc4b3e4f9752b76d9cd43950fb8f5fa87117d.tar
glibc-912cc4b3e4f9752b76d9cd43950fb8f5fa87117d.tar.gz
glibc-912cc4b3e4f9752b76d9cd43950fb8f5fa87117d.tar.bz2
glibc-912cc4b3e4f9752b76d9cd43950fb8f5fa87117d.zip
BZ#14812: Add missing N_ markers in localedef.
-rw-r--r--ChangeLog6
-rw-r--r--locale/programs/localedef.c11
2 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 811ad0fb50..9ac85ac386 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-03-20 Roland McGrath <roland@hack.frob.com>
+
+ [BZ #14812]
+ * locale/programs/localedef.c (options): Put N_ translation marker
+ on argument names, not just descriptions.
+
2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
index 16129bb8f7..5a14f2ce32 100644
--- a/locale/programs/localedef.c
+++ b/locale/programs/localedef.c
@@ -117,17 +117,18 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
static const struct argp_option options[] =
{
{ NULL, 0, NULL, 0, N_("Input Files:") },
- { "charmap", 'f', "FILE", 0,
+ { "charmap", 'f', N_("FILE"), 0,
N_("Symbolic character names defined in FILE") },
- { "inputfile", 'i', "FILE", 0, N_("Source definitions are found in FILE") },
- { "repertoire-map", 'u', "FILE", 0,
+ { "inputfile", 'i', N_("FILE"), 0,
+ N_("Source definitions are found in FILE") },
+ { "repertoire-map", 'u', N_("FILE"), 0,
N_("FILE contains mapping from symbolic names to UCS4 values") },
{ NULL, 0, NULL, 0, N_("Output control:") },
{ "force", 'c', NULL, 0,
N_("Create output even if warning messages were issued") },
{ "old-style", OPT_OLDSTYLE, NULL, 0, N_("Create old-style tables") },
- { "prefix", OPT_PREFIX, "PATH", 0, N_("Optional output file prefix") },
+ { "prefix", OPT_PREFIX, N_("PATH"), 0, N_("Optional output file prefix") },
{ "posix", OPT_POSIX, NULL, 0, N_("Strictly conform to POSIX") },
{ "quiet", OPT_QUIET, NULL, 0,
N_("Suppress warnings and information messages") },
@@ -141,7 +142,7 @@ static const struct argp_option options[] =
{ "delete-from-archive", OPT_DELETE_FROM_ARCHIVE, NULL, 0,
N_("Remove locales named by parameters from archive") },
{ "list-archive", OPT_LIST_ARCHIVE, NULL, 0, N_("List content of archive") },
- { "alias-file", 'A', "FILE", 0,
+ { "alias-file", 'A', N_("FILE"), 0,
N_("locale.alias file to consult when making archive")},
{ NULL, 0, NULL, 0, NULL }
};