]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
po/Makevars: Add --keyword=W_:... to XGETTEXT_OPTIONS
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 16 Dec 2024 16:46:45 +0000 (18:46 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 18 Dec 2024 15:09:31 +0000 (17:09 +0200)
The text was copied from tuklib_gettext.h.

Also rearrange the --keyword options to be last on the line.

po/Makevars

index 91087890755853bce7bee25bc4549d5111290c6c..0d9182e40e9e70407d348a3070e57bcc63e678f8 100644 (file)
@@ -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