nls: Recognize 'N_' as equivalent to 'ngettext'.

This fixes i18n of plural messages.

* po/guix/Makevars (XGETTEXT_OPTIONS): Change 'N_' to 'N_:1,2'.
This commit is contained in:
Ludovic Courtès 2014-09-29 21:16:34 +02:00
parent 2d5d63d718
commit 34942e9597

View file

@ -9,7 +9,7 @@ top_builddir = ../..
# gettext uses, and SRFI-35 error condition messages. # gettext uses, and SRFI-35 error condition messages.
XGETTEXT_OPTIONS = \ XGETTEXT_OPTIONS = \
--language=Scheme --from-code=UTF-8 \ --language=Scheme --from-code=UTF-8 \
--keyword=_ --keyword=N_ \ --keyword=_ --keyword=N_:1,2 \
--keyword=message \ --keyword=message \
--keyword=description --keyword=description