3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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:
Ludovic Courtès 2014-06-17 00:26:32 +02:00
parent 7f52946adf
commit 648453e8d6
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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