From fccebe2b4fd513488fc920e4dac32562ed3c7637 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 28 May 2024 00:43:53 +0300 Subject: [PATCH] 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. --- po/Makevars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/Makevars b/po/Makevars index 627d34ec..3f56947c 100644 --- a/po/Makevars +++ b/po/Makevars @@ -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