aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-17 00:26:32 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-17 00:26:32 +0200
commit648453e8d6005a7a2caec688cc035db86fe73c02 (patch)
tree76acdc92342d084206d8d76cd0d6cb840f91b372
parent7f52946adf797c49e81592e6940a6b8970e82902 (diff)
downloadguix-648453e8d6005a7a2caec688cc035db86fe73c02.tar
guix-648453e8d6005a7a2caec688cc035db86fe73c02.tar.gz
nls: Use xgettext and msgmerge with --no-wrap.
Suggested by Benno Schulenberg <coordinator@translationproject.org>. * po/guix/Makevars (XGETTEXT_OPTIONS): Add --no-wrap. (MSGMERGE_OPTIONS): New variable. * po/packages/Makevars (XGETTEXT_OPTIONS): Add --no-wrap. (MSGMERGE_OPTIONS): New variable.
-rw-r--r--po/guix/Makevars3
-rw-r--r--po/packages/Makevars3
2 files changed, 6 insertions, 0 deletions
diff --git a/po/guix/Makevars b/po/guix/Makevars
index 87bb438418..691cc0b2af 100644
--- a/po/guix/Makevars
+++ b/po/guix/Makevars
@@ -8,10 +8,13 @@ top_builddir = ../..
# These options get passed to xgettext. We want to catch standard
# gettext uses, and SRFI-35 error condition messages.
XGETTEXT_OPTIONS = \
+ --no-wrap \
--language=Scheme --from-code=UTF-8 \
--keyword=_ --keyword=N_ \
--keyword=message
+MSGMERGE_OPTIONS = --no-wrap
+
COPYRIGHT_HOLDER = Ludovic Courtès
MSGID_BUGS_ADDRESS = ludo@gnu.org
diff --git a/po/packages/Makevars b/po/packages/Makevars
index 1b4689b7c3..cf0eba5ed1 100644
--- a/po/packages/Makevars
+++ b/po/packages/Makevars
@@ -9,9 +9,12 @@ top_builddir = ../..
# These options get passed to xgettext. We want to catch exclusively package
# synopses and descriptions.
XGETTEXT_OPTIONS = \
+ --no-wrap \
--language=Scheme --from-code=UTF-8 \
--keyword=synopsis --keyword=description
+MSGMERGE_OPTIONS = --no-wrap
+
COPYRIGHT_HOLDER = Ludovic Courtès
MSGID_BUGS_ADDRESS = ludo@gnu.org