mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgconf: Do not i18n an empty string to the PO files meta data.
* tools/gpgconf-comp.c (my_dgettext): Ignore empty strings. -- GnuPG-bug-id: 5363
This commit is contained in:
parent
a5e72b663b
commit
18d884f841
1 changed files with 3 additions and 0 deletions
|
@ -1027,6 +1027,9 @@ gc_component_reload (int component)
|
|||
static const char *
|
||||
my_dgettext (const char *domain, const char *msgid)
|
||||
{
|
||||
if (!msgid || !*msgid)
|
||||
return msgid; /* Shortcut form "" which has the PO files meta data. */
|
||||
|
||||
#ifdef USE_SIMPLE_GETTEXT
|
||||
if (domain)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue