From 0f4429d47f9cfe2cdfbad115a7bc2f11221cb217 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 (cherry picked from commit 093490b58271e9424ce38a7b1b38bcf61b9c86c6) --- 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