Translations: Omit man page line numbers from .pot and .po files

(cherry picked from commit 9114267038)
This commit is contained in:
Lasse Collin 2024-05-28 01:17:45 +03:00
parent fd38afb628
commit 6e49bd6c46
1 changed files with 5 additions and 0 deletions

View File

@ -37,8 +37,13 @@ PACKAGE_VERSION=`cd .. && sh build-aux/version.sh` || exit 1
# when nothing else has changed. This makes it slower but it's fine # when nothing else has changed. This makes it slower but it's fine
# as long as this isn't run every time when "make" is run at the # as long as this isn't run every time when "make" is run at the
# top level directory. (po4a isn't super-fast even without --force). # top level directory. (po4a isn't super-fast even without --force).
#
# Using --porefs file and --msgmerge-opt '--add-location=file' make diffing
# the .pot and .po files easier. If a translator prefers to have the line
# numbers available, one may delete those options and rerun this script.
set -x set -x
po4a --force --verbose \ po4a --force --verbose \
--porefs file --msgmerge-opt '--add-location=file' \
--package-name="XZ Utils" \ --package-name="XZ Utils" \
--package-version="$PACKAGE_VERSION" \ --package-version="$PACKAGE_VERSION" \
--copyright-holder="[See the headers in the input files.]" \ --copyright-holder="[See the headers in the input files.]" \