From 0a7522a948595d9080c631e0f469d9055e25afd6 Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Sun, 24 Mar 2019 02:16:29 +0100 Subject: Fix localization --- src/helper/gettext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helper/gettext.cpp') diff --git a/src/helper/gettext.cpp b/src/helper/gettext.cpp index dd27f9f78..84505fe07 100644 --- a/src/helper/gettext.cpp +++ b/src/helper/gettext.cpp @@ -46,9 +46,9 @@ void initialize_gettext() { # ifdef ENABLE_BINRELOC bindtextdomain(GETTEXT_PACKAGE, BR_LOCALEDIR("")); # else - bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); + bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR_ABSOLUTE); // needed by Python/Gettext - g_setenv("PACKAGE_LOCALE_DIR", PACKAGE_LOCALE_DIR, TRUE); + g_setenv("PACKAGE_LOCALE_DIR", PACKAGE_LOCALE_DIR_ABSOLUTE, TRUE); # endif #endif -- cgit v1.2.3