[gnumeric] Install: add version to translation files.



commit 5d6df6edd628f06c6a024d0065ada06eb3b96b6f
Author: Morten Welinder <terra gnome org>
Date:   Sat Apr 13 11:58:08 2013 -0400

    Install: add version to translation files.
    
    There are probably other things preventing two Gnumeric versions
    from co-existing, but this is one down, N to go.

 ChangeLog    | 3 +++
 NEWS         | 1 +
 configure.ac | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5764dd5..34c3981 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-04-13  Morten Welinder  <terra gnome org>
 
+       * configure.ac (GETTEXT_PACKAGE): Add version number so that
+       doesn't prevent multiple versions from co-existing.
+
        * src/sheet.c (sheet_range_calc_spans): Don't mark the sheet
        dirty.  Callers already appear to handle this when needed
        and not when not wanted.  Fixes #697927.
diff --git a/NEWS b/NEWS
index 2cbb5a6..ba2cade 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,7 @@ Morten:
        * Fix minor R.PBINOM problems.
        * Improve FACT and GAMMA accuracy.
        * Fix dirty/undo tracking issue.  [#697927]
+       * Add version number to translation files.
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.1
diff --git a/configure.ac b/configure.ac
index c1f65e4..9cd5454 100644
--- a/configure.ac
+++ b/configure.ac
@@ -238,7 +238,7 @@ AC_SUBST(GNUMERIC_PLUGIN_LDFLAGS)
 dnl **************************************************
 dnl This needs to be done before we add aggressive -Werror=foo flags
 dnl below.
-AC_SUBST(GETTEXT_PACKAGE, gnumeric)
+AC_SUBST(GETTEXT_PACKAGE, gnumeric-${VERSION})
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
        [The package name, for gettext])
 AM_GLIB_GNU_GETTEXT


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