Liliana Marie Prikler
37cd553679
ui: Describe package outputs.
...
* guix/ui.scm (package->recutils): Output outputs with their descriptions,
one per line.
* po/packages/Makevars (XGETTEXT_OPTIONS): Add ‘output-synopsis’ as keyword.
2022-08-16 21:25:25 +02:00
Ludovic Courtès
d7aaf38611
po: Add 'guix/read-print.scm'.
...
This is a followup to b21d05d232
.
* po/guix/POTFILES.in: Add 'guix/read-print.scm'.
2022-08-11 15:57:35 +02:00
Julien Lepiller
aacbe59fbc
nls: Update translations.
...
po/guix/bn.po: New file.
po/guix/LINGUAS: Add it.
2022-08-10 23:32:24 +02:00
Julien Lepiller
e0d47d8fac
nls: Update translations.
...
po/guix/tr.po: New file.
po/guix/LINGUAS: Add it.
2022-07-09 21:49:34 +02:00
Ludovic Courtès
fb7e6ccba7
services: configuration: Report the location of field type errors.
...
Previously field type errors would be reported in a non-standard way,
and without any source location information. This fixes it.
* gnu/services/configuration.scm (configuration-field-error): Add a
'loc' parameter and honor it. Use 'formatted-message' instead of plain
'format'.
(define-configuration-helper)[field-sanitizer]: New procedure.
Use it. Use STEM as the identifier of the syntactic constructor of the
record type. Add a 'sanitize' property to each field. Remove now
useless STEM macro that would call 'validate-configuration'.
* gnu/services/mail.scm (serialize-listener-configuration): Adjust to
new 'configuration-field-error' prototype.
* tests/services/configuration.scm ("wrong type for a field"): New test.
* po/guix/POTFILES.in: Add gnu/services/configuration.scm.
2022-06-24 23:18:20 +02:00
Ludovic Courtès
7f208f68de
home: Add OpenSSH service.
...
* gnu/home/services/ssh.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Secure Shell): New section.
2022-06-17 23:39:32 +02:00
Julien Lepiller
809c57c872
nls: Update translations.
...
po/packages/tr.po: New file.
po/packages/LINGUAS: Add it.
2022-06-04 17:42:54 +02:00
Ludovic Courtès
35c1edb20a
guix home: Add 'edit' sub-command.
...
* guix/scripts/home/edit.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/home.scm (show-help): Add "edit".
(process-command): Handle it.
(guix-home): Add it.
* po/guix/POTFILES.in: Add 'guix/scripts/home/edit.scm'.
* doc/guix.texi (Invoking guix home): Document it.
2022-06-04 12:04:24 +02:00
Ludovic Courtès
3f83c0b7c7
guix system: Add 'edit' sub-command.
...
* guix/scripts/system/edit.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/system.scm (show-help): Mention "edit".
(actions): Add it.
(process-command): Handle it.
* doc/guix.texi (Invoking guix system): Document it.
* po/guix/POTFILES.in: Add guix/scripts/system/edit.scm.
2022-06-04 12:04:24 +02:00
Julien Lepiller
6b4124cdcc
nls: Update translations.
...
po/guix/ja.po: New file.
po/guix/LINGUAS: Add it.
2022-05-01 18:07:34 +02:00
Julien Lepiller
8a208df17f
nls: Update translations.
...
* po/packages/fi.po: New file.
* po/packages/LINGUAS: Add it.
2022-04-02 18:42:36 +02:00
Julien Lepiller
93bfd4d9c7
nls: Enforce translation thresholds.
...
* po/doc/guix-cookbook.es.po: Remove file.
* po/doc/guix-cookbook.fa.po: Remove file.
* po/doc/guix-cookbook.fi.po: Remove file.
* po/doc/guix-cookbook.pt_BR.po: Remove file.
* po/doc/guix-cookbook.ru.po: Remove file.
* po/doc/guix-cookbook.uk.po: Remove file.
* po/doc/guix-cookbook.zh_Hans.po: Remove file.
* po/doc/guix-manual.fa.po: Remove file.
* po/doc/guix-manual.fi.po: Remove file.
* po/doc/guix-manual.it.po: Remove file.
* po/doc/guix-manual.ko.po: Remove file.
* po/doc/guix-manual.sk.po: Remove file.
* po/doc/local.mk: Remove them.
* doc/local.mk: Remove them.
2022-04-02 18:14:43 +02:00
Ludovic Courtès
f5a94b3a9f
graph: Factorize 'lookup-backend'.
...
* guix/graph.scm (lookup-backend): New procedure.
* guix/scripts/graph.scm (lookup-backend): Remove.
* guix/scripts/system.scm (lookup-backend): Remove.
* po/guix/POTFILES.in: Add 'guix/graph.scm'.
2022-03-18 16:03:33 +01:00
Julien Lepiller
8c92d85e06
nls: Update translations.
...
* po/doc/guix-cookbook.uk.po: New file.
* po/doc/local.mk: Add uk cookbook.
* doc/local.mk: Add uk cookbook.
* po/guix/fa.po: New file.
* po/guix/uk.po: New file.
* po/guix/LINGUAS: Add fa and uk.
2022-03-01 22:17:18 +01:00
Julien Lepiller
8391a99d08
nls: Update translations.
...
* po/doc/guix-cookbook.pt_BR.po: New file.
* po/doc/local.mk: Add it.
* doc/local.mk: Add pt_BR cookbook.
2022-02-04 18:29:00 +01:00
Julien Lepiller
934b0cdfee
nls: Update translations.
...
* po/doc/guix-cookbook.fi.po: New file.
* po/doc/guix-manual.fi.po: New file.
* po/doc/local.mk: Add them.
* doc/local.mk: Add them.
* po/guix/fi.po: New file.
* po/guix/LINGUAS: Add it.
2022-01-09 11:35:59 +01:00
Xinglu Chen
cde3376b35
home: services: Make strings in Gexps translateble.
...
* gnu/home/services.scm (%initialize-gettext): New variable.
(compute-on-first-login-script): Use it.
(compute-on-change-gexp): Likewise.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Likewise.
* po/guix/POTFILES.in: Add gnu/home-services.scm and
gnu/home/services/symlink-manager.scm.
Suggested-by: Ludovic Courtès <ludo@gnu.org>
Link: <https://yhetil.org/guix-bugs/87sfvy8k1u.fsf@gnu.org >
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-03 19:32:07 +01:00
Mathieu Othacehe
32750e8c3e
Merge remote-tracking branch 'signed/master' into core-updates
2021-12-10 21:49:25 +01:00
Julien Lepiller
ed27614660
nls: Update 'es' translation.
2021-12-08 01:19:45 +01:00
Ricardo Wurmus
9bc0f45df5
Merge remote-tracking branch 'origin/master' into core-updates-frozen
2021-12-05 19:17:41 +01:00
Julien Lepiller
7fcb20a8fa
nls: Update translations.
2021-12-04 19:40:52 +01:00
Efraim Flashner
1c94392a13
Merge remote-tracking branch 'origin/master' into core-updates-frozen
2021-11-08 09:06:14 +02:00
Julien Lepiller
85430a9ea6
nls: Update translations.
...
* po/doc/guix-cookbook.es.po: New file.
* po/doc/local.mk: Add 'es' cookbook.
* doc/local.mk: Add 'es' cookbook.
2021-11-06 14:06:36 +01:00
Efraim Flashner
bc5155b952
Merge remote-tracking branch 'origin/master' into core-updates-frozen
2021-10-31 14:49:47 +02:00
Ludovic Courtès
80edb7df65
Add 'guix shell'.
...
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
2021-10-25 18:58:18 +02:00
Mathieu Othacehe
e486b2b674
Merge remote-tracking branch 'signed/master' into core-updates
2021-10-18 14:37:26 +00:00
Julien Lepiller
15c91189cb
nls: Update translations.
2021-10-17 22:10:25 +02:00
Mathieu Othacehe
a1eca979fb
Merge remote-tracking branch 'origin/master' into core-updates-frozen.
2021-10-12 17:46:23 +00:00
Julien Lepiller
8e70421a88
po: Update POTFILES.in.
...
* po/guix/POTFILES.in: Add missing files that contain messages to be
translated.
2021-10-01 23:00:25 +02:00
Ludovic Courtès
d9dfbf886d
Merge branch 'master' into core-updates-frozen
2021-09-07 14:19:08 +02:00
Julien Lepiller
1ff2092a39
nls: Update translations.
...
* po/packages/it.po: New file.
* po/packages/LINGUAS: Add `it'.
* po/*/*.po: Update translations.
2021-09-02 04:06:52 +02:00
Marius Bakke
c4133c43c7
Merge branch 'master' into core-updates-frozen
...
Conflicts:
gnu/packages/algebra.scm
gnu/packages/games.scm
gnu/packages/golang.scm
gnu/packages/kerberos.scm
gnu/packages/mail.scm
gnu/packages/python.scm
gnu/packages/ruby.scm
gnu/packages/scheme.scm
gnu/packages/tex.scm
gnu/packages/tls.scm
gnu/packages/version-control.scm
2021-08-12 00:30:27 +02:00
Leo Prikler
a1dbc8be95
po: Correct minetest importer in POTFILES.in.
...
The previous value references a file that does not exist, thus breaking
`make install'.
* po/guix/POTFILES.in: Swap out `guix/scripts/import/contentdb.scm' for
`guix/scripts/import/minetest.scm'.
2021-08-21 19:25:46 +02:00
Maxime Devos
467e874a86
guix: Add ContentDB importer.
...
* guix/import/contentdb.scm: New file.
* guix/scripts/import/contentdb.scm: New file.
* tests/contentdb.scm: New file.
* Makefile.am (MODULES, SCM_TESTS): Register them.
* po/guix/POTFILES.in: Likewise.
* doc/guix.texi (Invoking guix import): Document it.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-08-20 12:41:54 +02:00
Julien Lepiller
6c10c96fed
nls: Update translations.
...
* po/doc/guix-cookbook.ru.po: New file.
* po/doc/guix-cookbook.sk.po: New file.
* po/*/*.po: Update translations.
* doc/local.mk (COOKBOOK_LANGUAGES): Add ru and sk.
(info_TEXINFOS): Add Russian and Slovak cookbooks.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add Russian and Slovak po
files.
2021-08-04 14:49:53 +02:00
Ludovic Courtès
f23803af20
Add 'guix style'.
...
* guix/scripts/style.scm, tests/style.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* po/guix/POTFILES.in: Add 'guix/scripts/style.scm'.
* doc/guix.texi (Invoking guix style): New node.
(package Reference): Reference it.
(Invoking guix lint): Likewise.
2021-07-11 00:49:15 +02:00
Xinglu Chen
bdc298ecee
import: Add CHICKEN egg importer.
...
* guix/import/egg.scm: New file.
* guix/scripts/import/egg.scm: New file.
* tests/egg.scm: New file.
* Makefile.am (MODULES, SCM_TESTS): Register them.
* po/guix/POTFILES.in: Likewise.
* guix/scripts/import.scm (importers): Add egg importer.
* doc/guix.texi (Invoking guix import, Invoking guix refresh): Document it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-03 13:05:18 +02:00
Ludovic Courtès
fed83e52fe
nls: Translate (guix diagnostics).
...
* po/guix/POTFILES.in: Add guix/diagnostics.scm.
2021-06-01 23:26:07 +02:00
Maxim Cournoyer
a0178d34f5
nls: Update translations.
2021-05-11 09:17:00 -04:00
Maxim Cournoyer
21fcced608
nls: Update translations.
2021-05-10 22:34:43 -04:00
Maxim Cournoyer
63d26e81ee
nls: New nl and oc translations for the 'packages' component.
...
* po/packages/nl.po: New file.
* po/packages/oc.po: Likewise.
* po/packages/LINGUAS: Register them.
2021-05-10 22:27:53 -04:00
Maxim Cournoyer
b507a0e38c
nls: New oc and si translations for the 'guix' component.
...
* po/guix/oc.po: New file.
* po/guix/si.po: Likewise.
* po/guix/LINGUAS: Register them.
2021-05-10 22:25:36 -04:00
Maxim Cournoyer
f13049f3a8
nls: Remove the doc-po-update target.
...
As discussed with Julien Lepiller on IRC, updating the PO files is not useful.
This change removes the target and associated rules that allowed updating
them. This has the benefit of not having the PO files updated automatically
when generating the .pot files, which was causing spurious changes under the
po sub-directory.
* po/doc/local.mk (make-update-po-files-rule): Remove function and its uses.
(doc-po-update): Remove target.
2021-05-03 09:29:45 -04:00
Julien Lepiller
a23789bbbd
nls: Do not update po files on first make invocation.
...
We need to update the minimal gettext version to take advantage of new
features. Before this patch, the first make invocation would modify
po/guix and po/packages po files, and we advised to run `git checkout
po` to clean the changes.
* configure.ac (AM_GNU_GETTEXT_VERSION): Update to 0.19.1.
* po/guix/Makevars: Set PO_DEPENDS_ON_POT to no.
* po/packages/Makevars: Set PO_DEPENDS_ON_POT to no.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-05-03 09:29:44 -04:00
Maxim Cournoyer
0084f0054f
build: Correct a mistake in the guix-manual.pot rule.
...
This is a follow-up to commit 0d353b06ec
.
* po/doc/local.mk: Fix function name in comment.
(%D%/guix-manual.pot): Refer to *all* the prerequisites via the $^ special
variable rather than $<, which only refers to the first one.
Reported-by: Julien Lepiller <julien@lepiller.eu>
2021-04-30 18:03:10 -04:00
Maxim Cournoyer
0d353b06ec
build: Make doc-po-update and doc-pot-update targets idempotent.
...
It used to be that the running the doc-po-update and doc-pot-update targets
would redo the same work on every run. This change splits the problem in
smaller chunks and specifies build dependencies in a way that outputs only get
rebuilt when their inputs changed.
* po/doc/local.mk (DOC_PO_FILES): Harmonize escapes.
(POT_OPTIONS): Re-indent uniformly.
(doc-po-update-%, doc-po-update-cookbook-%): Re-implement with...
(make-update-po-files-rule): ... this new function.
(TMP_POT_FILES): Remove variable.
(%D%/%.pot, %D%/guix-manual.pot): New pattern rules.
(doc-pot-update, doc-po-update): Adjust prerequisites accordingly.
2021-04-29 15:30:27 -04:00
Maxim Cournoyer
eaf79d319d
build: Build the guix.pot-update and contributing.pot-update targets only once.
...
* po/doc/local.mk (doc-pot-update): Fix an issue where guix.pot-update an
contributing.pot-update were built twice.
2021-04-29 14:09:23 -04:00
Ludovic Courtès
9a618ee199
po: Remove file that no longer exists.
...
This is a followup to d95168321f
.
* po/guix/POTFILES.in: Remove guix/scripts/import/nix.scm.
2021-04-25 14:34:23 +02:00
Julien Lepiller
1eb26d0e07
nls: Fix Chinese cookbook inclusion.
...
* po/doc/local.mk: zh_Hans is for the cookbook, not the manual.
2021-04-18 22:29:44 +02:00
Julien Lepiller
a209c597e2
nls: Remove 'vi' in LINGUAS
...
The po file is no longer available.
* po/packages/LINGUAS: Remove 'vi'.
2021-04-18 21:07:24 +02:00