From a9f369dd54b05f9ac4e00ead9d765d04fc259868 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 12 Feb 2024 17:09:10 +0200 Subject: Translations: Add custom .pot header with SPDX license identifier. The same is used for both po/xz.pot and po4a/xz-man.pot. --- po4a/update-po | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'po4a/update-po') diff --git a/po4a/update-po b/po4a/update-po index 64675384..244951ec 100755 --- a/po4a/update-po +++ b/po4a/update-po @@ -41,3 +41,11 @@ po4a --force --verbose \ --package-version="$PACKAGE_VERSION" \ --copyright-holder="The XZ Utils authors and contributors" \ po4a.conf + +# Add the customized POT header which contains the SPDX license +# identifier and spells out the license name instead of saying +# "the same license as the XZ Utils package". +mv xz-man.pot xz-man.pot.tmp +cat ../po/xz.pot-header > xz-man.pot +sed '1,/^#$/d' xz-man.pot.tmp >> xz-man.pot +rm xz-man.pot.tmp -- cgit v1.2.3