From d6027d87775f480857099fd5549544fef64ef114 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 28 May 2024 01:17:45 +0300 Subject: [PATCH] Translations: Omit man page line numbers from .pot and .po files (cherry picked from commit 9114267038deaecf4832a5cacb5acbe6591ac839) --- po4a/update-po | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/po4a/update-po b/po4a/update-po index b1cc9f53..5a262451 100755 --- a/po4a/update-po +++ b/po4a/update-po @@ -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 # 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="[See the headers in the input files.]" \