summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-java
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-10-24 00:43:32 +0200
committerBruno Haible <bruno@clisp.org>2018-10-24 04:34:14 +0200
commitfd6d6f4cfb43bc29a2b9d817a894d32964d9fad7 (patch)
treedf34ed3e25a6756acb5beed8efe9a7a22b1c135e /gettext-tools/examples/hello-java
parente46ff4e02752008e79590dcc3b042a096b5d263e (diff)
downloadgettext-fd6d6f4cfb43bc29a2b9d817a894d32964d9fad7.tar.gz
examples: Make it possible to pass custom options to msginit.
This mirrors the Makevars change from 2014-10-08. * gettext-tools/examples/hello-*/po/Makefile.am (MSGINIT_OPTIONS): New variable. * gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile: Likewise.
Diffstat (limited to 'gettext-tools/examples/hello-java')
-rw-r--r--gettext-tools/examples/hello-java/po/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/gettext-tools/examples/hello-java/po/Makefile.am b/gettext-tools/examples/hello-java/po/Makefile.am
index 160d0c273..0aaec71b3 100644
--- a/gettext-tools/examples/hello-java/po/Makefile.am
+++ b/gettext-tools/examples/hello-java/po/Makefile.am
@@ -52,6 +52,12 @@ MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
# --quiet to reduce the verbosity.
MSGMERGE_OPTIONS = --quiet
+# These options get passed to msginit.
+# If you want to disable line wrapping when writing PO files, add
+# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
+# MSGINIT_OPTIONS.
+MSGINIT_OPTIONS =
+
MSGMERGE = msgmerge
MSGMERGE_UPDATE = @MSGMERGE@ --update
MSGCAT = msgcat