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.
This commit is contained in:
parent
7f52946adf
commit
648453e8d6
|
@ -8,10 +8,13 @@ top_builddir = ../..
|
||||||
# These options get passed to xgettext. We want to catch standard
|
# These options get passed to xgettext. We want to catch standard
|
||||||
# gettext uses, and SRFI-35 error condition messages.
|
# gettext uses, and SRFI-35 error condition messages.
|
||||||
XGETTEXT_OPTIONS = \
|
XGETTEXT_OPTIONS = \
|
||||||
|
--no-wrap \
|
||||||
--language=Scheme --from-code=UTF-8 \
|
--language=Scheme --from-code=UTF-8 \
|
||||||
--keyword=_ --keyword=N_ \
|
--keyword=_ --keyword=N_ \
|
||||||
--keyword=message
|
--keyword=message
|
||||||
|
|
||||||
|
MSGMERGE_OPTIONS = --no-wrap
|
||||||
|
|
||||||
COPYRIGHT_HOLDER = Ludovic Courtès
|
COPYRIGHT_HOLDER = Ludovic Courtès
|
||||||
|
|
||||||
MSGID_BUGS_ADDRESS = ludo@gnu.org
|
MSGID_BUGS_ADDRESS = ludo@gnu.org
|
||||||
|
|
|
@ -9,9 +9,12 @@ top_builddir = ../..
|
||||||
# These options get passed to xgettext. We want to catch exclusively package
|
# These options get passed to xgettext. We want to catch exclusively package
|
||||||
# synopses and descriptions.
|
# synopses and descriptions.
|
||||||
XGETTEXT_OPTIONS = \
|
XGETTEXT_OPTIONS = \
|
||||||
|
--no-wrap \
|
||||||
--language=Scheme --from-code=UTF-8 \
|
--language=Scheme --from-code=UTF-8 \
|
||||||
--keyword=synopsis --keyword=description
|
--keyword=synopsis --keyword=description
|
||||||
|
|
||||||
|
MSGMERGE_OPTIONS = --no-wrap
|
||||||
|
|
||||||
COPYRIGHT_HOLDER = Ludovic Courtès
|
COPYRIGHT_HOLDER = Ludovic Courtès
|
||||||
|
|
||||||
MSGID_BUGS_ADDRESS = ludo@gnu.org
|
MSGID_BUGS_ADDRESS = ludo@gnu.org
|
||||||
|
|
Loading…
Reference in New Issue