Commit Graph

331 Commits

Author SHA1 Message Date
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
Julien Lepiller 0cfe02cf55
nls: Update 'ru' translation. 2021-04-18 13:18:34 +02:00
Julien Lepiller 8830930e2b
nls: Add Chinese (Traditional) translation.
* po/doc/guix-cookbook.zh_Hans.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_COOKBOOK_PO_FILES): Add it.
2021-04-18 13:18:29 +02:00
Julien Lepiller 2fd9582558
nls: Add Russian translation.
* po/guix/ru.po: New file.
* po/guix/LINGUAS: Add 'ru'.
2021-04-18 13:18:26 +02:00
Julien Lepiller e18a3020f4
nls: Add Dutch translation.
* po/guix/nl.po: New file.
* po/guix/LINGUAS: Add 'nl'.
2021-04-18 13:18:24 +02:00
Julien Lepiller 0f355124af
nls: Add Korean translation.
* po/doc/guix-cookbook.ko.po: New file.
* po/doc/guix-manual.ko.po: New file.
* doc/local.mk (info_TEXINFOS): Add them.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* po/guix/ko.po: New file.
* po/guix/LINGUAS: Add 'ko'.
* po/packages/ko.po: New file.
* po/packages/LINGUAS: Add 'ko'.
2021-04-18 13:18:22 +02:00
Julien Lepiller d2d6c20fee
nls: Add Italian translation.
* po/doc/guix-manual.it.po: New file.
* po/doc/local.mk (DOC_PO_FILES): Add it.
* doc/local.mk (info_TEXINFOS): Add it.
* po/guix/it.po: New file.
* po/guix/LINGUAS: Add 'it'.
2021-04-18 13:18:20 +02:00
Julien Lepiller 43fb84da67
nls: Add Persian translation.
* po/packages/fa.po: New file.
* po/packages/LINGUAS: Add 'fa'.
* po/doc/guix-cookbook.fa.po: New file.
* po/doc/guix-manual.fa.po: New file.
* po/doc/local.mk (DOC_PO_FILES, DOC_COOKBOOK_PO_FILES): Add them.
* doc/local.mk (info_TEXINFOS): Add them.
2021-04-18 13:18:17 +02:00
Julien Lepiller 25bd0aefe5
nls: Update 'sk' translation. 2021-04-18 13:18:15 +02:00
Julien Lepiller 77c6c0aa57
nls: Add Slovak translation.
* po/packages/sk.po: New file.
* po/packages/LINGUAS: Add 'sk'.
* po/doc/guix-manual.sk.po: New file.
* doc/local.mk (info_TEXINFOS): Add it.
* po/doc/local.mk (DOC_PO_FILES): Add it.
2021-04-18 13:18:13 +02:00
Julien Lepiller 5cb08cca27
nls: Update 'pt_BR' translation. 2021-04-18 13:18:11 +02:00
Julien Lepiller c3eaff8a21
nls: Add Portuguese (Brazil) translation of the manual. 2021-04-18 13:18:08 +02:00
Julien Lepiller a36ffecfd7
nls: Update 'vi' translation. 2021-04-18 13:18:06 +02:00
Julien Lepiller 89162676b5
nls: Remove Vietnamese translations of packages.
No translated string is used in Guix anymore.
2021-04-18 13:18:04 +02:00
Julien Lepiller 5d1f110b45
nls: Update 'zh_CN' translations. 2021-04-18 13:18:02 +02:00
Julien Lepiller 0ff1d5ac7e
nls: Update 'ta' translation. 2021-04-18 13:18:00 +02:00
Julien Lepiller 49e6cf58af
gnu: Update 'sv' translation. 2021-04-18 13:17:58 +02:00
Julien Lepiller de4617105c
nls: Update 'sr' translations. 2021-04-18 13:17:56 +02:00
Julien Lepiller 8a0195fcad
nls: Update 'pl' translations. 2021-04-18 13:17:53 +02:00
Julien Lepiller 4f35328689
nls: Update 'hu' translations. 2021-04-18 13:17:51 +02:00
Julien Lepiller ff7309b001
nls: Update 'da' translations. 2021-04-18 13:17:49 +02:00
Julien Lepiller 8b6b62e0fd
nls: Update 'cs' translation. 2021-04-18 13:17:46 +02:00
Julien Lepiller 70250e1853
nls: Update 'eo' translations. 2021-04-18 13:17:43 +02:00
Julien Lepiller 959eca8a92
nls: Update 'es' translations. 2021-04-18 13:17:40 +02:00
Julien Lepiller 2a18bcbfd3
nls: Update 'de' translations. 2021-04-18 13:17:37 +02:00
Julien Lepiller 5ebe6904ea
nls: Update 'fr' translations. 2021-04-18 13:17:35 +02:00
Julien Lepiller 58c5911652
nls: Add French translation of the cookbook. 2021-04-18 13:17:31 +02:00
Julien Lepiller 9b976cfe1d
nls: Add Slovak translation.
* po/guix/LINGUAS: Add 'sk'.
* po/guix/sk.po: New file.
2021-04-13 14:28:01 +02:00
Katherine Cox-Buday 02e2e093e8
import: Add Go importer.
This patch adds a 'guix import go' command.

* doc/guix.texi (Requirements): Mention Guile-Lib dependency.
(Invoking guix import): Document 'guix import go'.
* gnu/packages/package-management.scm (guix)[inputs, propagated-inputs]:
Add GUILE-LIB.
* guix/self.scm (compiled-guix)[guile-lib]: New variable.
[dependencies]: Add it.
(specification->package): Add "guile-lib".
* guix/build-system/go.scm (go-version->git-ref): New procedure.
* guix/import/go.scm, guix/scripts/import/go.scm, tests/go.scm: New files.
* guix/scripts/import.scm: Declare subcommand guix import go
* po/guix/POTFILES.in: Add 'guix/scripts/import/go.scm'.
* Makefile.am (MODULES): Add 'guix/import/go.scm' and
'guix/scripts/import/go.scm'.
(SCM_TESTS): Add 'tests/go.scm'.

Co-Authored-By: Helio Machado <0x2b3bfa0@gmail.com>
Co-Authored-By: Francois Joulaud <francois.joulaud@radiofrance.com>
Co-Authored-By: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-Authored-by: Ludovic Courtès <ludo@gnu.org>
2021-03-10 18:01:48 +01:00
Simon South db6b9d2f4b
services: Add transmission-daemon service.
* gnu/services/file-sharing.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* po/packages/POTFILES.in: Add it.
* tests/services/file-sharing.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* doc/guix.texi (File-Sharing Services): New section.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-02-12 15:11:36 +08:00
Julien Lepiller a00af77904
nls: Update 'fr' translation. 2021-01-28 16:41:18 +01:00
Ludovic Courtès 02e5c95db9
Revert "nls: Update 'fr' translation."
This reverts commit 5d03ef73c3, which led
to these errors:

  /gnu/store/…-guix/fr.po:7206: 'msgstr' is not a valid Scheme format string, unlike 'msgid'. Reason: In the directive number 3, the character ' ' is not a valid conversion specifier.
  /gnu/store/…-guix/fr.po:7554: format specifications in 'msgid' and 'msgstr' are not equivalent
  /gnu/store/…-gettext-minimal-0.20.1/bin/msgfmt: found 2 fatal errors
2021-01-22 08:48:00 +01:00
Julien Lepiller 5d03ef73c3
nls: Update 'fr' translation. 2021-01-22 00:31:28 +01:00
Christopher Baines 681af17460
guix: Move narinfo code from substitute script to module.
This separation between the code for dealing with narinfos from the code doing
that for a purpose should make things clearer, and better support components
other that the substitute script in using this code.

This is just moving the code around, no code should have been significantly
changed.

* guix/scripts/substitute.scm (<narinfo>): Move record type to (guix narinfo).
(fields->alist, narinfo-hash-algorithm+value, narinfo-hash->sha256,
narinfo-signature->canonical-sexp, narinfo-maker, read-narinfo,
narinfo-sha256, valid-narinfo?, write-narinfo, narinfo->string,
string->narinfo, equivalent-narinfo?, supported-compression?,
compresses-better?, narinfo-best-uri): Move procedures to (guix narinfo).
(%compression-methods): Move variable to (guix narinfo).
* guix/narinfo.scm: New file.
* Makefile.am (MODULES): Add it.
* po/guix/POTFILES.in: Add 'guix/narinfo.scm'.
2021-01-16 11:51:03 +00:00
Mathieu Othacehe 8361817bf6
install: Discover local substitute servers.
* gnu/installer/substitutes.scm: New file.
* gnu/installer/newt/substitutes.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add them.
* po/guix/POTFILES.in: Add gnu/installer/newt/substitutes.scm.
* gnu/installer/proxy.scm (with-silent-shepherd): Move to ...
* gnu/installer/utils.scm: ... here.
* gnu/installer/record.scm (<installer>)[substitutes-page]: New field.
* gnu/installer/newt.scm (substitutes-page): New procedure,
(newt-installer): register it.
* gnu/installer.scm (installer-steps): Add "substitutes-page" step.
* gnu/system/install.scm (%installation-services): Add avahi-service-type and
enable substitute server discover in guix-service-type.
[<name-service-switch>]: Set it to %mdns-host-lookup-nss.
2020-12-11 21:37:07 +01:00
Ludovic Courtès 41fb3d5a9a
nls: Update 'fr' translation of the manual. 2020-12-03 16:18:45 +01:00
Ludovic Courtès cf53ea79dd
nls: Update 'fr' translation of the manual. 2020-11-21 15:49:36 +01:00
Miguel Ángel Arruga Vivas c1eb04e6fd
nls: Update add missing script files.
* po/guix/POTFILES.in: Add missing script files.
2020-11-18 21:01:35 +01:00
Ludovic Courtès ef1107e2cc
nls: Update string translations. 2020-11-12 10:13:45 +01:00