summaryrefslogtreecommitdiff
path: root/po/guix/Makevars
AgeCommit message (Collapse)Author
2015-06-10daemon: Internationalize guix-daemon.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (n_, _): New macros. (guix_textdomain): New variable. (doc): Use 'n_'. (options): Likewise, and lowercase messages. (argp): Add initializer for 'argp_domain' field. (parse_opt): Use '_' for messages. (main): Likewise, and add calls to 'setlocale', 'bindtextdomain', and 'textdomain'. * daemon.am (guix_daemon_CPPFLAGS): Add -DLOCALEDIR. * po/guix/Makevars (XGETTEXT_OPTIONS): Remove '--language' option. Add '--keyword=n_'. * po/guix/POTFILES.in: Add guix-daemon.cc.
2014-09-29nls: Recognize 'N_' as equivalent to 'ngettext'.Ludovic Courtès
This fixes i18n of plural messages. * po/guix/Makevars (XGETTEXT_OPTIONS): Change 'N_' to 'N_:1,2'.
2014-09-03scripts: add guix lintCyril Roelandt
* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages. * tests/lint.scm: New file. * Makefile.am (MODULES, SCM_TESTS): Add them. * po/guix/Makevars: Update appropriately. * po/guix/POTFILES.in: Update appropriately. * doc/guix.texi: Document "guix lint".
2014-08-12Revert "nls: Use xgettext and msgmerge with --no-wrap."Ludovic Courtès
This reverts commit 648453e8d6005a7a2caec688cc035db86fe73c02. See <http://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html> for the rationale.
2014-06-17nls: Use xgettext and msgmerge with --no-wrap.Ludovic Courtès
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.
2014-06-13Separate package description translations from string translations.Ludovic Courtès
* po/packages/LINGUAS, po/packages/Makevars, po/packages/POTFILES.in: New files. * po/guix/Makevars (DOMAIN): Change to "guix". (XGETTEXT_OPTIONS): Remove "--keyword=synopsis --keyword=description". * po/guix/POTFILES.in: Remove gnu/packages/*.scm. * configure.ac: Change to gettext 0.18.3. Produce po/packages/Makefile.in. * Makefile.am (SUBDIRS): Add po/packages. * guix/ui.scm (%package-text-domain): New variable. (P_): New procedure. (package->recutils): Use 'P_' instead of '_'. * guix/scripts/package.scm (find-packages-by-description): Use 'P_' instead of 'gettext'.
2014-06-13Move gettext files to 'po/guix'.Ludovic Courtès
* po: Rename to... * po/guix: ... this. * po/guix/Makevars (subdir, top_builddir): Adjust accordingly. * configure.ac: Change 'po/Makefile.in' to 'po/guix/Makefile.in'. * Makefile.am (SUBDIRS): Change 'po' to 'po/guix'.