| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
This fixes i18n of plural messages.
* po/guix/Makevars (XGETTEXT_OPTIONS): Change 'N_' to 'N_:1,2'.
|
|
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
|
|
| |
This reverts commit 648453e8d6005a7a2caec688cc035db86fe73c02.
See <http://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>
for the rationale.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
* 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'.
|