Skip to content

Commit

Permalink
Translations: Use the msgmerge option --add-location=file
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Larhzu committed May 27, 2024
1 parent f361d9a commit fccebe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion po/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ USE_MSGCTXT = no
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
MSGMERGE_OPTIONS = --no-wrap
MSGMERGE_OPTIONS = --add-location=file --no-wrap

# These options get passed to msginit.
# If you want to disable line wrapping when writing PO files, add
Expand Down

0 comments on commit fccebe2

Please sign in to comment.