gnucash unstable: Bug 745941 - Review of po Headers / make pot

Geert Janssens gjanssens at code.gnucash.org
Thu Mar 1 12:31:59 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/13e6880b (commit)
	from  https://github.com/Gnucash/gnucash/commit/546b54c9 (commit)



commit 13e6880b34086b514c8e9cbb95d15c0d257f3553
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Mar 1 18:31:49 2018 +0100

    Bug 745941 - Review of po Headers / make pot

diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 969d0e6..27c639d 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -147,6 +147,8 @@ IF(BUILDING_FROM_VCS)
            -D PO_SRC_DIR=${CMAKE_CURRENT_SOURCE_DIR}
            -D PO_BIN_DIR=${CMAKE_CURRENT_BINARY_DIR}
            -D PACKAGE=${PACKAGE}
+           -D PACKAGE_NAME=${PACKAGE_NAME}
+           -D PACKAGE_VERSION=${PACKAGE_VERSION}
            -D XGETTEXT=${XGETTEXT}
            -P ${CMAKE_CURRENT_SOURCE_DIR}/gnucash-pot.cmake
         DEPENDS ${gnucash_pot_depends}
diff --git a/po/gnucash-pot.cmake b/po/gnucash-pot.cmake
index c3db591..1658f54 100644
--- a/po/gnucash-pot.cmake
+++ b/po/gnucash-pot.cmake
@@ -27,6 +27,9 @@ execute_process(
                         --keyword=translate:1c,2,2t
                         --keyword=translate:1,2,3t
                         --keyword=translate:1c,2,3,4t
+                        --package-name=${PACKAGE_NAME}
+                        --package-version=${PACKAGE_VERSION}
+                        --msgid-bugs-address=https://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash&component=Translations
   WORKING_DIRECTORY ${PO_BIN_DIR}
   RESULT_VARIABLE GNUCASH_POT_RESULT
 )



Summary of changes:
 po/CMakeLists.txt    | 2 ++
 po/gnucash-pot.cmake | 3 +++
 2 files changed, 5 insertions(+)



More information about the gnucash-changes mailing list