guix-kreyren/po/guix/Makevars
Ludovic Courtès 0dc89c0368
nls: Internationalize command synopses as shown in 'guix help'.
This is a followup to 3794ce93be8216d8378df7b808ce7f53b1e05a53.

* po/guix/Makevars (XGETTEXT_OPTIONS): Add '--keyword=synopsis'.
2020-11-03 11:58:00 +01:00

29 lines
818 B
Plaintext

# Makefile variables for PO directory in any package using GNU gettext.
DOMAIN = guix
subdir = po/guix
top_builddir = ../..
# These options get passed to xgettext. We want to catch standard
# gettext uses, and SRFI-35 error condition messages. In C++ code
# we use 'n_' instead of the more usual 'N_' for no-ops.
XGETTEXT_OPTIONS = \
--from-code=UTF-8 \
--keyword=G_ --keyword=N_:1,2 \
--keyword=message \
--keyword=description \
--keyword=synopsis \
--keyword=n_
COPYRIGHT_HOLDER = the authors of Guix (msgids)
MSGID_BUGS_ADDRESS = bug-guix@gnu.org
EXTRA_LOCALE_CATEGORIES =
# Disable PO update upon "make dist", which sometimes fails when doing
# "make distcheck -j4".
# See <https://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>.
DIST_DEPENDS_ON_UPDATE_PO = no