X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fterminal%2Fmain.c;h=8acbdc2dde79d7bd1a8a97be24da76523bf0f928;hb=4d70434db549461d1391db27a165f36be5a39378;hp=b8cabb3acb0fff818faf3e1de71766309b21f7ce;hpb=6b0b63b2d1be5ba575705ad07988aec21aa09699;p=pspp-builds.git diff --git a/src/ui/terminal/main.c b/src/ui/terminal/main.c index b8cabb3a..8acbdc2d 100644 --- a/src/ui/terminal/main.c +++ b/src/ui/terminal/main.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2007, 2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -54,6 +54,7 @@ #include "fatal-signal.h" #include "progname.h" +#include "relocatable.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -150,7 +151,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 */ }