From: Bruno Haible Date: Mon, 9 Dec 2024 12:26:51 +0000 (+0100) Subject: argmatch: Use the translation domain "gnulib". X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f6a229c2a77a33fdc853285ab2ec219eb7f5a99d;p=gnulib.git argmatch: Use the translation domain "gnulib". * lib/argmatch.h (ARGMATCH_DEFINE_GROUP): Use translation domain "gnulib" for the literal string here. --- diff --git a/ChangeLog b/ChangeLog index 9d0e2f4556..9a114d53ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-12-09 Bruno Haible + + argmatch: Use the translation domain "gnulib". + * lib/argmatch.h (ARGMATCH_DEFINE_GROUP): Use translation domain + "gnulib" for the literal string here. + 2024-12-09 Bruno Haible Localizations: Fix omissions from the POT file. diff --git a/lib/argmatch.h b/lib/argmatch.h index ca60dfe1ce..913c5617d9 100644 --- a/lib/argmatch.h +++ b/lib/argmatch.h @@ -239,7 +239,7 @@ char const *argmatch_to_argument (void const *value, \ /* Try to put synonyms on the same line. Synonyms are expected \ to follow each other. */ \ - fputs (gettext ("Valid arguments are:"), out); \ + fputs (dgettext ("gnulib", "Valid arguments are:"), out); \ for (int i = 0; g->args[i].arg; i++) \ if (i == 0 \ || memcmp (&g->args[i-1].val, &g->args[i].val, size)) \