From 093490b58271e9424ce38a7b1b38bcf61b9c86c6 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 28 May 2024 01:06:30 +0300 Subject: [PATCH] Translations: Use the xgettext option --add-location=file --- po/Makevars | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/po/Makevars b/po/Makevars index 3f56947c..9d82a84d 100644 --- a/po/Makevars +++ b/po/Makevars @@ -14,7 +14,8 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --no-wrap --package-name='XZ Utils' +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \ + --add-location=file --no-wrap --package-name='XZ Utils' # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding