me
/
guix
Archived
1
0
Fork 0
Commit Graph

411 Commits (efc0c66343a721d9742cbc6450c81e959fb5df28)

Author SHA1 Message Date
Florian Pelz ff82e0f7b4
nls: Update translations.
Change-Id: I691cef365279ee5c50208a87ef5372a47152508e
2024-07-12 18:16:48 +02:00
Florian Pelz 834a419524
nls: Update translations.
* po/doc/guix-cookbook.sv.po: New file.
* po/doc/local.mk: Add 'sv' cookbook.
* po/doc/po4a.cfg (po4a_langs): Add 'sv'.
* doc/local.mk: Add 'sv' cookbook.
* doc/htmlxref.cnf: Update URLs for cookbook.
* doc/build.scm (%cookbook-languages): Add 'sv'.
* doc/guix-cookbook.texi (Top): Mention 'sv' cookbook.

Change-Id: Ibfeb7254f583f1c8827e8c2756bbb02880bcba46
2024-06-03 00:27:12 +02:00
gemmaro f65bd477b0
build: Use the po4a command for the translation generation.
* configure.ac (Documentation translation): Remove the po4a-translate command.
This command has been replaced by the po4a command and are not used from
anywhere.
* doc/local.mk ($(srcdir)/%D%/guix.%.texi, $(srcdir)/%D%/guix-cookbook.%.texi)
($(srcdir)/%D%/contributing.%.texi): Use the po4a command instead of the
po4a-translate for the translation generation.  This eliminates the warning of
po4a-translate; "po4a-translate is deprecated.  The unified po4a(1) program is
more convenient and less error prone."
(PO4A_PARAMS): Remove the Texinfo format option.  This option is specified in
the configuration file (po/doc/po4a.cfg).
(dummy_pot): Add a variable for the temporary POT file location.

Change-Id: I542b934c3c03b8701e9f86823191224f8b0ccf81
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
gemmaro 2d4af52470
build: Update the POT creation task with the po4a command.
* configure.ac (Documentation translation): Add the po4a program and remove
the po4a-updatepo program.  The PO4A defined here can be used in
Makefiles (e.g. po/doc/local.mk below).  The po4a command integrates the
functionality of po4a-updatepo and is currently recommended for use [1].  The
po4a-updatepo command has been replaced by the po4a command and are not used
from anywhere.
* po/doc/local.mk (%D%/%.pot): Use a po4a command instead of the po4a-updatepo
for the POT generation.  This eliminates the warning of po4a-updatepo;
"po4a-updatepo is deprecated.  The unified po4a(1) program is more convenient
and less error prone."  Here, the file paths are passed using variables.  This
is because the po4a command needs to be executed for each language and each
file.  Dummy values are passed for those that are not needed to update the POT
file.
* po/doc/po4a.cfg: Add a po4a config file for the POT generation.  The po4a
command requires a configulation file.

[1] https://po4a.org/man/man7/po4a.7.php.en#lbAS

Change-Id: Ica39a0d1f77b6a64d37c592ac2e693319443d3c5
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
Florian Pelz 8bf41c80ef
nls: Update translations.
* po/packages/sv.po: New file.
* po/packages/LINGUAS: Add it.

Change-Id: I2ad4dfcb935ba0a4e79c15b86cee6826c6580729
2024-05-01 02:42:54 +02:00
Janneke Nieuwenhuizen ecf0e22dcf
maint: Use reproducible Git timestamp for POT-Creation-Date.
* po/doc/local.mk (%D%/%.pot): Replace POT-Creation-Date using timestamp from
Git.
(%D%/guix-manual.pot): Likewise.

Change-Id: I1b7f8cc147084c1804deb7be9d36e5eeda2599cb
2024-04-14 10:29:11 +02:00
Janneke Nieuwenhuizen 6c63c36677
maint: Use xgettext.scm wrapper to create .PO files reproducibly.
* build-aux/xgettext.scm: New script.
* po/guix/Makevars (XGETTEXT): Set it.
(XGETTEXT_OPTIONS): Add --xgettext option to `real' xgettext.
* po/packages/Makevars (XGETTEXT): Set it.
(XGETTEXT_OPTIONS): Add --xgettext option to `real' xgettext.

Change-Id: I71b6b843970090f765f46ac346b92a346560e3f0
2024-04-14 10:29:11 +02:00
Florian Pelz fa98837b1d
nls: Update translations.
* po/guix/ar.po: New file.
* po/guix/LINGUAS: Add 'ar'.
* po/doc/guix-cookbook.pt_BR.po: New file.
* po/doc/local.mk: Add 'pt_BR' cookbook.
* doc/local.mk: Add 'pt_BR' cookbook.
* doc/htmlxref.cnf: Update URLs for cookbook.
* doc/build.scm (%cookbook-languages): Add 'ko', 'pt_BR'.
* doc/guix-cookbook.texi (Top): Mention 'ko', 'pt_BR' cookbook.

Change-Id: Id1846ca100263b3fc1fa2ed52654c670270ee809
2024-04-01 14:09:20 +02:00
Florian Pelz 956f44b931
nls: Update translations.
Change-Id: Ic1506db5813880153b6def005011618dc4529e8f
2024-02-29 22:57:09 +01:00
Florian Pelz 6f78803b01
nls: Update translations.
Change-Id: I42b5d41bdd5cd1b096c977e132b7a85992223402
2024-02-01 18:34:22 +01:00
Giacomo Leidi 2f67528edd
home: Add home-dotfiles-service.
* gnu/home/service/dotfiles.scm: New file;
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Essential Home Services): Document it.

Change-Id: I6769169cfacefc3842faa5b31bee081c56c28743
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-01-28 22:50:49 +01:00
Florian Pelz 86b5fa1009
nls: Update translations.
Change-Id: Ib407fd37896cc8653f5bfb1f76dba9dc775c8c10
2024-01-01 00:45:47 +01:00
Florian Pelz efe1a9c9ac
nls: Update translations.
* po/guix/ca.po: New file.
* po/guix/LINGUAS: Add ca.$

Change-Id: Ibae3f58ba702d7c5a4fafdd59a19f70aa8e18212
2023-12-01 08:39:57 +01:00
Florian Pelz 938a47c86d
nls: Update translations.
Change-Id: I432aec0ea31ead192d6444c96dc42038f5c7ab9a
2023-10-31 23:01:37 +01:00
Nikolaos Chatzikonstantinou 3d4d7fec05
doc: Fix channel name typo.
When the manual has "variant-personal-packages", it actually refers to the
channel "variant-packages", as it is named so elsewhere.

To correct this, I ran the command

    grep -r -l variant-personal-packages | xargs \
    sed -i 's/variang-personal-packages/variant-packages/g'

* doc/guix.texi (Specifying Additional Channels): Fix channel name typo.
* po/doc/guix-manual.de.po: Fix channel name typo.
* po/doc/guix-manual.es.po: Fix channel name typo.
* po/doc/guix-manual.fr.po: Fix channel name typo.
* po/doc/guix-manual.pt_BR.po: Fix channel name typo.
* po/doc/guix-manual.ru.po: Fix channel name typo.
* po/doc/guix-manual.zh_CN.po: Fix channel name typo.

Signed-off-by: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-05 23:14:54 +02:00
Florian Pelz 8027ee4337
nls: Update translations. 2023-09-30 19:34:32 +02:00
Florian Pelz 57ab9536db
nls: Update translations. 2023-08-31 21:36:03 +02:00
Florian Pelz 39fbc041f9
nls: Update translations. 2023-07-31 21:08:46 +02:00
Florian Pelz 8af22b4931
nls: Update translations.
* po/packages/ja.po: New file.
* po/packages/LINGUAS: Add it.
2023-06-30 14:26:07 +02:00
Ludovic Courtès 1b7aabbc79
Add 'guix locate'.
* guix/scripts/locate.scm, tests/guix-locate.sh: New files.
* Makefile.am (MODULES): Add 'guix/scripts/locate.scm'.
(SH_TESTS): Add 'tests/guix-locate.sh'.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Invoking guix locate): New node.

Co-authored-by: Antoine R. Dumont <antoine.romain.dumont@gmail.com>
2023-06-18 23:44:29 +02:00
Remco van 't Veer 60895810ad
nls: Update translation keys for guix gc.
* po/*/*.po (guix/scripts/gc.scm): Round MiBs in user feedback.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2023-05-31 22:47:04 +02:00
Florian Pelz 8e9e6a6482
nls: Update translations.
* doc/guix-cookbook.texi (Top): Mention Slovak.
2023-05-31 17:23:21 +02:00
Ludovic Courtès 4a46883d31
nls: Make sure gnu/home/services/*.scm files are translatable.
* po/guix/POTFILES.in: Add missing gnu/home/services/*.scm files.
2023-04-08 23:01:02 +02:00
Jan (janneke) Nieuwenhuizen 70056b1b2b
gnu: home: services: Add home-kodi-service-type.
* gnu/home/services/media.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* po/guix/POTFILES.in: Likewise.
* doc/guix.texi (Media Home Services): Document it in new subsection.
2023-03-16 14:33:16 +01:00
Jan (janneke) Nieuwenhuizen 193f547ca3
gnu: home: services: Add home-znc-service-type.
* gnu/home/services/messaging.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* po/guix/POTFILES.in: Likewise.
* doc/guix.texi (Messaging Home Services): Document it in new subsection.
2023-03-16 14:32:50 +01:00
Julien Lepiller 4bb185a32c
nls: Fix more Texinfo Italiano.
po/guix/it.po: Fix `@esempio`, `@sempio`, `@fine`.
2023-03-07 22:22:07 +01:00
Julien Lepiller d333958763
nls: Update translations. 2023-03-07 21:14:57 +01:00
Tobias Geerinckx-Rice 4775460ba9
nls: Fix more Texinfo Italiano.
* po/guix/it.po: Fix ‘@opzione’, ‘@comando’.
2023-02-26 01:00:00 +01:00
Tobias Geerinckx-Rice 0609ae7897
nls: Fix typo in Italian translation.
I will, of course, fix this in Weblate or find someone who can,
but this currently breaks ‘guix system search cups’.

* po/guix/it.po: Fix ‘@dnf’ typo.

Reported by tux_life in #guix: https://issues.guix.gnu.org/61961
2023-02-26 01:00:00 +01:00
Julien Lepiller b5a3e745f9
gnu: Remove key-mon.scm.
The file is empty.

* gnu/packages/key-mon.scm: Remove file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove it.
* po/packages/POTFILES.in: Remove it.
2023-02-03 18:58:09 +01:00
Julien Lepiller dc7eb6f07a
nls: Update translations.
* po/guix/ka.po: New file.
* po/guix/LINGUAS: Add it.
* po/packages/uk.po: New file.
* po/packages/LINGUAS: Add it.
2023-01-05 08:14:55 +01:00
Ludovic Courtès 047ae5c345
doc: Use VM image file name consistently.
Previously, what "/tmp/qemu-image" refers to could be unclear at first.

* doc/guix.texi (Running Guix in a VM): Use the original image file
name instead of /tmp/qemu-image.
* po/doc/guix-manual.de.po, po/doc/guix-manual.es.po,
po/doc/guix-manual.fr.po, po/doc/guix-manual.pt_BR.po,
po/doc/guix-manual.ru.po, po/doc/guix-manual.zh_CN.po: Adjust
accordingly.
2022-12-15 00:15:36 +01:00
Julien Lepiller 29a09fa5e4
nls: Update translations.
po/packages/vi.po: New file.
po/packages/LINGUAS: Add it.
2022-12-04 23:15:02 +01:00
pelzflorian (Florian Pelz) da6c6763fa
scripts: Use translations for guix.pot for service descriptions.
Previously, service descriptions appeared in both guix.pot and
packages.pot, but only translations of packages.pot were used.
Now, translations are only done with guix.pot.

This is better, because translators are more likely to translate
guix.pot, and is also easier, because files in gnu/{home/,}services
need to be in po/guix/POTFILES.in anyway and po/guix/Makevars
already acts on the 'description' keyword because of lint checkers.

* guix/scripts/home.scm (service-type-description-string):
Use translations from guix.pot.
* guix/scripts/system/search.scm (service-type-description-string)
(service-type->recutils): Likewise.
* po/packages/POTFILES.in: Move files in gnu/services to ...
* po/guix/POTFILES.in: ... here.
2022-11-20 16:01:08 +01:00
Ludovic Courtès 514fedbf39
installer: Report known-unsupported PCI devices.
* gnu/installer/hardware.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer.scm (installer-steps): Pass #:pci-database to the
'welcome' step procedure.
* gnu/installer/newt.scm (welcome-page): Add #:pci-database and pass it
to 'run-welcome-page'.
* gnu/installer/newt/welcome.scm (check-hardware-support): Add #:pci-database.
Enumerate unsupported PCI devices and run an error page when unsupported
devices are found.
(run-welcome-page): Add #:pci-database and pass it to
'check-hardware-support' and to the recursive call.
* gnu/installer/record.scm (<installer>)[welcome-page]: Adjust comment.
* doc/guix.texi (Hardware Considerations): Mention it.
2022-11-15 12:16:43 +01:00
Julien Lepiller a65ce9dd50
nls: Update translations.
* po/guix/lt.po: New file.
* po/guix/LINGUAS: Add lt.
2022-11-04 10:56:38 +01:00
Ricardo Wurmus 39311c9a8b
po: Fix syntax error in French translation.
* po/doc/guix-manual.fr.po: Add missing space.
2022-10-08 01:22:27 +02:00
Ricardo Wurmus b60aa60590
po: Fix syntax error in German translation.
* po/doc/guix-manual.de.po: Remove double wrapping of @uref.
2022-10-08 01:22:27 +02:00
Julien Lepiller 70fc8f6d61
nls: Update translations. 2022-10-06 08:20:20 +02:00
Alexey Abramov 40ad967322
services: dhcp-client: Implement and use a configuration record.
* gnu/services/networking.scm (dhcp-client-configuration): New record
configuration.
(dhcp-client-shepherd-service): Implement a shepher service. Provide a
deprication message for legacy configurations.
(dhcp-client-service-type): Use dhcp-client-shepherd-service.
* doc/guix.texi (Networking Setup): Update.
* po/guix/POTFILES.in: Add 'gnu/services/networking.scm'.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-10-06 00:11:18 +02:00
Simon Streit d68721c55a
services: Add samba service.
* gnu/services/samba.scm: New file.
* gnu/tests/samba.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
* po/guix/POTFILES.in Add 'gnu/services/samba.scm'.
* doc/guix.texi: Document it.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:38:57 +02:00
Julien Lepiller 77e3042aef
nls: Update translations. 2022-09-04 16:52:02 +02:00
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