From 3ac6e3c70fe677ef00a737f75f5d331b43633123 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Mon, 18 Nov 2019 09:19:40 -0800 Subject: LinGui: fix gui internationalization support When converting from using intltool to gnu gettext, the definition of DATADIRNAME was lost and resulted in an incorrect base directory in the call to bindtextdomain. Fixes https://github.com/HandBrake/HandBrake/issues/2438 (cherry picked from commit 31254efcc4e64db44f2404c850b9f76e23e7c36c) --- gtk/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am index 0ef6aa34e..68504bae6 100644 --- a/gtk/src/Makefile.am +++ b/gtk/src/Makefile.am @@ -51,7 +51,7 @@ DISTCLEANFILES = \ $(appdata_files) AM_CPPFLAGS = \ - -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \ -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ $(HB_CPPFLAGS) -- cgit v1.2.3