From: nirgal Date: Fri, 9 Feb 2018 23:39:55 +0000 (+0100) Subject: Really enable translations X-Git-Tag: v1.7.1~64^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0407c868e26e1911f17ae546f9327e7bf9838443;p=thirdparty%2Frrdtool-1.x.git Really enable translations Fix for issue #872. --- diff --git a/src/rrd_tool.c b/src/rrd_tool.c index 1cb84c8c..e6831b88 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -455,9 +455,9 @@ int main( #endif -#if defined(HAVE_LIBINTL_H) && defined(BUILD_LIBINTL) - bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); - textdomain(GETTEXT_PACKAGE); +#if ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); #endif if (argc == 1) { PrintUsage("");