[gtksourceview] Fix definition of GETTEXT_PACKAGE in configure.ac



commit a397720637b3bc8be57b97b1aa12ada69c4eab65
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Oct 8 14:38:43 2011 +0200

    Fix definition of GETTEXT_PACKAGE in configure.ac
    
    Fixes bug #652397. PACKAGE_TARNAME resolved to gtksourceview, while
    the gettext domain is gtksourceview-3.0, resulting in strings from
    language files not translated.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 873dd7b..7805b90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,7 +124,7 @@ AM_GNU_GETTEXT_VERSION([0.17])
 AM_GNU_GETTEXT([external])
 
 AC_SUBST([GETTEXT_PACKAGE], [gtksourceview-3.0])
-AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the gettext package name.])
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Define to the gettext package name.])
 
 # Documentation
 GTK_DOC_CHECK([1.11], [--flavour=no-tmpl])



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