diff options
author | John Stebbins <[email protected]> | 2019-11-18 09:19:40 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-11-18 09:22:26 -0800 |
commit | 31254efcc4e64db44f2404c850b9f76e23e7c36c (patch) | |
tree | c7d0c96fd5769cff49aa3e7cb633ca84f18124f9 /gtk | |
parent | 4d284bfc9fa06965023e13d26516169f4e248456 (diff) |
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
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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) |