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 --- scd/Makefile.am | 3 +++ scd/scdaemon.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'scd') diff --git a/scd/Makefile.am b/scd/Makefile.am index 6639aa1c1..b306a3a73 100644 --- a/scd/Makefile.am +++ b/scd/Makefile.am @@ -18,6 +18,9 @@ ## Process this file with automake to produce Makefile.in +localedir = $(datadir)/locale +INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\" + bin_PROGRAMS = scdaemon AM_CPPFLAGS = -I$(top_srcdir)/common $(LIBOPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \ diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 1d8bad21d..29256d811 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -138,7 +138,7 @@ i18n_init (void) #else #ifdef ENABLE_NLS /* gtk_set_locale (); HMMM: We have not yet called gtk_init */ - bindtextdomain( PACKAGE, GNUPG_LOCALEDIR ); + bindtextdomain( PACKAGE, LOCALEDIR ); textdomain( PACKAGE ); #endif #endif -- cgit v1.2.3