aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-10-20 15:06:50 +0000
committerWerner Koch <[email protected]>2010-10-20 15:06:50 +0000
commit25b1e76b44996bf566243c51d4123b2536ccd16e (patch)
tree832e69fd5c26b0da8c3ea118470dbb94fbcd13fb /common
parentMake public key data structure easier to read. (diff)
downloadgnupg-25b1e76b44996bf566243c51d4123b2536ccd16e.tar.gz
gnupg-25b1e76b44996bf566243c51d4123b2536ccd16e.zip
Enable i18n for W32.
Diffstat (limited to 'common')
-rw-r--r--common/ChangeLog4
-rw-r--r--common/i18n.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index 156cfa1cb..7116b0225 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,7 @@
+2010-10-20 Werner Koch <[email protected]>
+
+ * i18n.c (i18n_init) [USE_SIMPLE_GETTEXT]: Call textdomain.
+
2010-10-14 Werner Koch <[email protected]>
* asshelp.c (start_new_gpg_agent): Print a notice once the agent
diff --git a/common/i18n.c b/common/i18n.c
index 7601cf8bd..d0d804a32 100644
--- a/common/i18n.c
+++ b/common/i18n.c
@@ -34,6 +34,7 @@ i18n_init (void)
{
#ifdef USE_SIMPLE_GETTEXT
bindtextdomain (PACKAGE_GT, gnupg_localedir ());
+ textdomain (PACKAGE_GT);
#else
# ifdef ENABLE_NLS
setlocale (LC_ALL, "" );