From 0407c868e26e1911f17ae546f9327e7bf9838443 Mon Sep 17 00:00:00 2001 From: nirgal Date: Sat, 10 Feb 2018 00:39:55 +0100 Subject: [PATCH] Really enable translations Fix for issue #872. --- src/rrd_tool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(""); -- 2.47.2