[gnome-screenshot] build: Fix translations not being applied



commit cd3d146608b215266a527fcd4edaf460efaf5cd8
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Mar 29 14:52:53 2015 +0200

    build: Fix translations not being applied
    
    DATADIRNAME is unset unless we call AM_GLIB_GNU_GETTEXT. It's supposed
    to contain "share" on most systems. This caused translations to be
    loaded from the wrong directory.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746973

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 43054c8..6012985 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,8 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext d
 IT_PROG_INTLTOOL(0.40.0)
 PKG_PROG_PKG_CONFIG([0.22])
 
+AM_GLIB_GNU_GETTEXT
+
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_CXX


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]