summaryrefslogtreecommitdiff
path: root/lib/gnutls_global.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-03-03 16:49:25 +0000
committerSimon Josefsson <simon@josefsson.org>2006-03-03 16:49:25 +0000
commit8af0967a71488d0b408588d2d8f38203345e6491 (patch)
tree32eae741ba61000dc28cc6f80e107ded53703477 /lib/gnutls_global.c
parent2d736dc024c6ec6a4c459f127a075a615940966d (diff)
downloadgnutls-8af0967a71488d0b408588d2d8f38203345e6491.tar.gz
Error message translations.
Diffstat (limited to 'lib/gnutls_global.c')
-rw-r--r--lib/gnutls_global.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index 5f2eb2a51f..0b0a3e90c5 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
*
* Author: Nikos Mavroyanopoulos
*
@@ -27,6 +27,8 @@
#include <libtasn1.h>
#include <gnutls_dh.h>
+#include "gettext.h"
+
#define gnutls_log_func LOG_FUNC
/* created by asn1c */
@@ -196,6 +198,8 @@ gnutls_global_init (void)
if (_gnutls_init++)
goto out;
+ bindtextdomain (PACKAGE, LOCALEDIR);
+
if (gcry_control (GCRYCTL_ANY_INITIALIZATION_P) == 0)
{
const char *p;