2012-06-29 16:22:48 -04:00
|
|
|
# Makefile variables for PO directory in any package using GNU gettext.
|
|
|
|
|
2014-06-13 11:30:40 -04:00
|
|
|
DOMAIN = guix
|
2012-06-29 16:22:48 -04:00
|
|
|
|
2014-06-13 10:15:18 -04:00
|
|
|
subdir = po/guix
|
|
|
|
top_builddir = ../..
|
2012-06-29 16:22:48 -04:00
|
|
|
|
2014-01-22 11:09:21 -05:00
|
|
|
# These options get passed to xgettext. We want to catch standard
|
2015-06-10 11:48:16 -04: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 11:09:21 -05:00
|
|
|
XGETTEXT_OPTIONS = \
|
2015-06-10 11:48:16 -04: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 09:57:02 -04:00
|
|
|
--keyword=G_ --keyword=N_:1,2 \
|
2014-08-31 20:13:21 -04:00
|
|
|
--keyword=message \
|
2015-06-10 11:48:16 -04:00
|
|
|
--keyword=description \
|
|
|
|
--keyword=n_
|
2012-06-29 16:22:48 -04:00
|
|
|
|
|
|
|
COPYRIGHT_HOLDER = Ludovic Courtès
|
|
|
|
|
|
|
|
MSGID_BUGS_ADDRESS = ludo@gnu.org
|
|
|
|
|
|
|
|
EXTRA_LOCALE_CATEGORIES =
|
2017-05-14 06:23:55 -04: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
|