From 9c86904866ab38618313192457aa6e12a5c17ac5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 10 Aug 2002 11:25:32 +0000 Subject: Minor changes for gettext --- kbx/Makefile.am | 3 +++ kbx/kbxutil.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'kbx') diff --git a/kbx/Makefile.am b/kbx/Makefile.am index 5226077bc..fe822a78c 100644 --- a/kbx/Makefile.am +++ b/kbx/Makefile.am @@ -19,6 +19,9 @@ ## Process this file with automake to produce Makefile.in +localedir = $(datadir)/locale +INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\" + EXTRA_DIST = mkerrors AM_CPPFLAGS = $(LIBKSBA_CFLAGS) $(LIBGCRYPT_CLFAGS) BUILT_SOURCES = keybox-errors.c diff --git a/kbx/kbxutil.c b/kbx/kbxutil.c index dcc073097..b733b81c8 100644 --- a/kbx/kbxutil.c +++ b/kbx/kbxutil.c @@ -126,7 +126,7 @@ i18n_init(void) #else setlocale( LC_ALL, "" ); #endif - bindtextdomain( PACKAGE, GNUPG_LOCALEDIR ); + bindtextdomain( PACKAGE, LOCALEDIR ); textdomain( PACKAGE ); #endif #endif -- cgit v1.2.3