2012-06-29 22:22:48 +02:00
|
|
|
# Makefile variables for PO directory in any package using GNU gettext.
|
|
|
|
|
2014-06-13 17:30:40 +02:00
|
|
|
DOMAIN = guix
|
2012-06-29 22:22:48 +02:00
|
|
|
|
2014-06-13 16:15:18 +02:00
|
|
|
subdir = po/guix
|
|
|
|
top_builddir = ../..
|
2012-06-29 22:22:48 +02:00
|
|
|
|
2014-01-22 17:09:21 +01:00
|
|
|
# These options get passed to xgettext. We want to catch standard
|
2015-06-10 17:48:16 +02:00
|
|
|
# gettext uses, and SRFI-35 error condition messages. In C++ code
|
|
|
|
# we use 'n_' instead of the more usual 'N_' for no-ops.
|
2014-01-22 17:09:21 +01:00
|
|
|
XGETTEXT_OPTIONS = \
|
2015-06-10 17:48:16 +02:00
|
|
|
--from-code=UTF-8 \
|
ui: Rename '_' to 'G_'.
This avoids collisions with '_' when the latter is used as a 'match'
pattern for instance. See
<https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html>.
* guix/ui.scm: Rename '_' to 'G_'.
* po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly.
* build-aux/compile-all.scm (warnings): Remove 'format'.
* gnu/packages.scm,
gnu/services.scm,
gnu/services/shepherd.scm,
gnu/system.scm,
gnu/system/shadow.scm,
guix/gnupg.scm,
guix/http-client.scm,
guix/import/cpan.scm,
guix/import/elpa.scm,
guix/import/pypi.scm,
guix/nar.scm,
guix/scripts.scm,
guix/scripts/archive.scm,
guix/scripts/authenticate.scm,
guix/scripts/build.scm,
guix/scripts/challenge.scm,
guix/scripts/container.scm,
guix/scripts/container/exec.scm,
guix/scripts/copy.scm,
guix/scripts/download.scm,
guix/scripts/edit.scm,
guix/scripts/environment.scm,
guix/scripts/gc.scm,
guix/scripts/graph.scm,
guix/scripts/hash.scm,
guix/scripts/import.scm,
guix/scripts/import/cpan.scm,
guix/scripts/import/cran.scm,
guix/scripts/import/crate.scm,
guix/scripts/import/elpa.scm,
guix/scripts/import/gem.scm,
guix/scripts/import/gnu.scm,
guix/scripts/import/hackage.scm,
guix/scripts/import/nix.scm,
guix/scripts/import/pypi.scm,
guix/scripts/import/stackage.scm,
guix/scripts/lint.scm,
guix/scripts/offload.scm,
guix/scripts/pack.scm,
guix/scripts/package.scm,
guix/scripts/perform-download.scm,
guix/scripts/publish.scm,
guix/scripts/pull.scm,
guix/scripts/refresh.scm,
guix/scripts/size.scm,
guix/scripts/substitute.scm,
guix/scripts/system.scm,
guix/ssh.scm,
guix/upstream.scm: Use 'G_' instead of '_'. Most of this change was
obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
2017-05-03 15:57:02 +02:00
|
|
|
--keyword=G_ --keyword=N_:1,2 \
|
2014-09-01 02:13:21 +02:00
|
|
|
--keyword=message \
|
2015-06-10 17:48:16 +02:00
|
|
|
--keyword=description \
|
|
|
|
--keyword=n_
|
2012-06-29 22:22:48 +02:00
|
|
|
|
|
|
|
COPYRIGHT_HOLDER = Ludovic Courtès
|
|
|
|
|
|
|
|
MSGID_BUGS_ADDRESS = ludo@gnu.org
|
|
|
|
|
|
|
|
EXTRA_LOCALE_CATEGORIES =
|
2017-05-14 12:23:55 +02:00
|
|
|
|
|
|
|
# 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
|