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

This commit is contained in:
Lasse Collin 2024-05-28 01:17:45 +03:00
parent 093490b582
commit 9114267038
1 changed files with 5 additions and 0 deletions

View File

@ -54,8 +54,13 @@ done
# 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
# 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
po4a --force --verbose \
--porefs file --msgmerge-opt '--add-location=file' \
--package-name="XZ Utils" \
--package-version="$PACKAGE_VERSION" \
--copyright-holder="The XZ Utils authors and contributors" \