Commit Graph

17 Commits

Author SHA1 Message Date
Ludovic Courtès 342b5204aa nls: Update 'vi' translation. 2014-11-11 15:31:35 +01:00
Ludovic Courtès 9a4d9333e2 nls: Update 'de' translation. 2014-11-10 23:29:38 +01:00
Ludovic Courtès 34942e9597 nls: Recognize 'N_' as equivalent to 'ngettext'.
This fixes i18n of plural messages.

* po/guix/Makevars (XGETTEXT_OPTIONS): Change 'N_' to 'N_:1,2'.
2014-09-29 22:03:46 +02:00
Ludovic Courtès 6bddfbc98d nls: Update 'sr' translation. 2014-09-13 14:22:37 +02:00
Cyril Roelandt b4f5e0e87c scripts: add guix lint
* 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-09-03 02:07:07 +02:00
Ludovic Courtès 599f146400 Revert "nls: Use xgettext and msgmerge with --no-wrap."
This reverts commit 648453e8d6.

See <http://lists.gnu.org/archive/html/bug-gettext/2014-08/msg00005.html>
for the rationale.
2014-08-12 15:46:21 +02:00
Ludovic Courtès 26c398b182 nls: Add Czech translation. 2014-08-11 18:45:54 +02:00
Ludovic Courtès 51af57102c build: Update PO files as per 'make dist'. 2014-07-25 00:56:50 +02:00
Ludovic Courtès a4f51df98a nls: Add Hungarian translation. 2014-07-20 22:39:02 +02:00
Ludovic Courtès 2dd36f5a09 nls: Update 'eo' and 'vi' translations. 2014-07-15 23:43:41 +02:00
Ludovic Courtès 4660b1e83b nls: Add German translation. 2014-07-13 23:59:48 +02:00
Ludovic Courtès 738146bfd4 nls: Update 'sr' translation. 2014-06-21 15:21:04 +02:00
Ludovic Courtès 648453e8d6 nls: Use xgettext and msgmerge with --no-wrap.
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-17 00:26:32 +02:00
Ludovic Courtès 7f52946adf nls: Remove obsolete messages from PO files.
Suggested by Benno Schulenberg <coordinator@translationproject.org>.

* po/guix/eo.po, po/guix/pt_BR.po, po/guix/sr.po, po/guix/vi.po,
  po/packages/eo.po, po/packages/pt_BR.po, po/packages/sr.po,
  po/packages/vi.po: Remove obsolete messages.
2014-06-17 00:24:25 +02:00
Ludovic Courtès 240a2775de i18n: Move package descriptions from 'guix' to 'guix-packages'.
* po/guix: Merge with po/packages as per
  <https://lists.gnu.org/archive/html/guix-devel/2014-06/msg00058.html>.
* po/packages/LINGUAS: Add eo, pt_BR, sr, and vi.
2014-06-14 22:55:59 +02:00
Ludovic Courtès ee76417972 Separate package description translations from string translations.
* 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-13 17:30:40 +02:00
Ludovic Courtès ef1a9bb7d6 Move gettext files to 'po/guix'.
* 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'.
2014-06-13 16:31:18 +02:00