1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Updated German translation.

Fix in gpgconf for W32.
This commit is contained in:
Werner Koch 2008-05-09 09:54:35 +00:00
parent dbaca1ed0f
commit d9405f0c49
34 changed files with 6261 additions and 5977 deletions

View file

@ -1,3 +1,8 @@
2008-05-09 Werner Koch <wk@g10code.com>
* gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]: Hack to
parly support translations.
2008-04-08 Werner Koch <wk@g10code.com>
* gpgconf-comp.c (gc_options_gpg): Add --auto-key-locate.

View file

@ -1027,7 +1027,27 @@ gpg_agent_runtime_change (void)
static const char *
my_dgettext (const char *domain, const char *msgid)
{
#ifdef ENABLE_NLS
#ifdef USE_SIMPLE_GETTEXT
if (domain)
{
static int switched_codeset;
char *text;
if (!switched_codeset)
{
switched_codeset = 1;
gettext_select_utf8 (1);
}
if (!strcmp (domain, "gnupg"))
domain = PACKAGE_GT;
/* FIXME: we have no dgettext, thus we can't switch. */
text = gettext (msgid);
return text ? text : msgid;
}
#elif defined(ENABLE_NLS)
if (domain)
{
static int switched_codeset;