]> git.ipfire.org Git - thirdparty/xz.git/commit
po4a/update-po: Disable wrapping in .pot and .po files
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 28 May 2024 18:10:33 +0000 (21:10 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 28 May 2024 18:20:55 +0000 (21:20 +0300)
commit2bc80e5f820a2e8548e9b1ba60dc1eda4218439e
tree90aaa4647f05eb27a29140499d738382ae924c6e
parent27cfdc58971700767082df1c9ce37c77550b7ec5
po4a/update-po: Disable wrapping in .pot and .po files

The .po files from the Translation Project come with unwrapped
strings so this matches it.

This may reduce the noise in diffs too. When the beginning of
a paragraph had changed, the rest of the lines got rewrapped
in msgsid. Now it's just one very long line that changes when
a paragraph has been edited.

The --add-location=file option was removed as redundant. The line
numbers don't exist in the .pot file due to --porefs file and thus
they cannot get copied to the .po files either.

(cherry picked from commit 4beba1cd62d7f8f7a6f1e899b68292d94c53b599)
po4a/update-po