summaryrefslogtreecommitdiffstats
path: root/gettext-tools/po
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2014-10-08 15:17:08 +0900
committerDaiki Ueno <ueno@gnu.org>2014-10-08 15:24:02 +0900
commit5fd79b0faac8d3382ae0e09c068249abb3ec3a8f (patch)
tree4566f3bce0ce731af27aa97b230727c4b186855c /gettext-tools/po
parentfa8e859254eac21d8742b47a55b31f67c267a6c8 (diff)
downloadexternal_gettext-5fd79b0faac8d3382ae0e09c068249abb3ec3a8f.zip
external_gettext-5fd79b0faac8d3382ae0e09c068249abb3ec3a8f.tar.gz
external_gettext-5fd79b0faac8d3382ae0e09c068249abb3ec3a8f.tar.bz2
po: Make it possible to pass custom options to msginit
* Makevars (MSGINIT_OPTIONS): New variable. * Rules-quot: Use it when invoking msginit. If one wants to use '--no-wrap' in MSGMERGE_OPTIONS and XGETTEXT_OPTIONS, there should be a way to pass the option to msginit. Reported by Ludovic Courtès in: <https://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00004.html>.
Diffstat (limited to 'gettext-tools/po')
-rw-r--r--gettext-tools/po/ChangeLog5
-rw-r--r--gettext-tools/po/Makevars6
-rw-r--r--gettext-tools/po/Makevars.template6
3 files changed, 17 insertions, 0 deletions
diff --git a/gettext-tools/po/ChangeLog b/gettext-tools/po/ChangeLog
index a43833e..37563eb 100644
--- a/gettext-tools/po/ChangeLog
+++ b/gettext-tools/po/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-08 Daiki Ueno <ueno@gnu.org>
+
+ * Makevars (MSGINIT_OPTIONS): New variable.
+ * Makevars.template (MSGINIT_OPTIONS): Likewise.
+
2014-07-14 Daiki Ueno <ueno@gnu.org>
* gettext 0.19.2 released.
diff --git a/gettext-tools/po/Makevars b/gettext-tools/po/Makevars
index 8535f18..91fb749 100644
--- a/gettext-tools/po/Makevars
+++ b/gettext-tools/po/Makevars
@@ -66,6 +66,12 @@ USE_MSGCTXT = no
# --quiet to reduce the verbosity.
MSGMERGE_OPTIONS =
+# 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 =
+
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
# has changed. Possible values are "yes" and "no". Set this to no if
# the POT file is checked in the repository and the version control
diff --git a/gettext-tools/po/Makevars.template b/gettext-tools/po/Makevars.template
index fd76ad6..0648ec7 100644
--- a/gettext-tools/po/Makevars.template
+++ b/gettext-tools/po/Makevars.template
@@ -59,6 +59,12 @@ USE_MSGCTXT = no
# --quiet to reduce the verbosity.
MSGMERGE_OPTIONS =
+# 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 =
+
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
# has changed. Possible values are "yes" and "no". Set this to no if
# the POT file is checked in the repository and the version control