From 31e674bbb5a058689708edebe6a06045015d223f Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 13 May 2009 07:22:20 +0800 Subject: [PATCH] Relocate the locale directory. Thanks to Michel Boaventura for reporting this and for providing the patch. Closes bug #26543 --- src/libpspp/i18n.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c index 64aa0056..7fd7580e 100644 --- a/src/libpspp/i18n.c +++ b/src/libpspp/i18n.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "assertion.h" #include "hmapx.h" #include "hash-functions.h" @@ -196,7 +197,7 @@ i18n_init (void) #if HAVE_LC_PAPER setlocale (LC_PAPER, ""); #endif - bindtextdomain (PACKAGE, locale_dir); + bindtextdomain (PACKAGE, relocate(locale_dir)); textdomain (PACKAGE); #endif /* ENABLE_NLS */ -- 2.30.2