[monitoring-plugins] Add xgettext option to not put file positions in ...

RincewindsHat git at monitoring-plugins.org
Tue Sep 5 15:30:12 CEST 2023


 Module: monitoring-plugins
 Branch: master
 Commit: a25345751a0b6a520998ad3fc378bebe4a4b51ed
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Mon Sep  4 12:55:29 2023 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=a253457

Add xgettext option to not put file positions in translation files

---

 po/Makevars | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/po/Makevars b/po/Makevars
index 1bf1e0d..b35f5ad 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -8,7 +8,7 @@ subdir = po
 top_builddir = ..
 
 # These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --flag=error:3:c-format --flag=error_at_line:5:c-format --flag=asprintf:2:c-format --flag=vasprintf:2:c-format
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --flag=error:3:c-format --flag=error_at_line:5:c-format --flag=asprintf:2:c-format --flag=vasprintf:2:c-format --no-location
 
 # 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



More information about the Commits mailing list