From a0eecc9eb23ac583ccf442de3f5c106d4b09482d Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 16 Dec 2024 18:46:45 +0200 Subject: [PATCH] po/Makevars: Add --keyword=W_:... to XGETTEXT_OPTIONS The text was copied from tuklib_gettext.h. Also rearrange the --keyword options to be last on the line. --- po/Makevars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/Makevars b/po/Makevars index 91087890..0d9182e4 100644 --- a/po/Makevars +++ b/po/Makevars @@ -14,7 +14,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --add-location=file --no-wrap +XGETTEXT_OPTIONS = --add-location=file --no-wrap --keyword=_ --keyword=N_ '--keyword=W_:1,"This is word wrapped at spaces. The Unicode character U+00A0 works as a non-breaking space. Tab (\t) is interpret as a zero-width space (the tab itself is not displayed); U+200B is NOT supported. Manual word wrapping with \n is supported but requires care."' # 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