Translations: Use the msgmerge option --add-location=file

This way the PO file diffs are less noisy but the locations of the
strings are still present at file level, just without line numbers.

The option is available since gettext 0.19 (2014).
configure.ac requires 0.19.6.
This commit is contained in:
Lasse Collin 2024-05-28 00:43:53 +03:00
parent f361d9ae85
commit fccebe2b4f
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ USE_MSGCTXT = no
# Useful options are in particular: # Useful options are in particular:
# --previous to keep previous msgids of translated messages, # --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity. # --quiet to reduce the verbosity.
MSGMERGE_OPTIONS = --no-wrap MSGMERGE_OPTIONS = --add-location=file --no-wrap
# These options get passed to msginit. # These options get passed to msginit.
# If you want to disable line wrapping when writing PO files, add # If you want to disable line wrapping when writing PO files, add