From c35ee804b89556d15bc8cdc16867f4316e69392f 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 71f3e47a..93d64314 100755 --- a/po4a/update-po +++ b/po4a/update-po @@ -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" \