nls: Temporarily disable building of translated manuals.

* doc/local.mk (info_TEXINFOS, MANUAL_LANGUAGES, COOKBOOK_LANGUAGES):
Keep only 'en' for building with 'make'.
* guix/self.scm (translate-texi-manuals)[translate-tmp-texi]: Inhibit
calling PO4A, so none are built with 'guix pull'.

Change-Id: I1a119251f557b5f05c9e972ccb84c04e9267c692
This commit is contained in:
Florian Pelz 2025-09-16 16:35:08 +02:00
parent b5054a85c1
commit 6012fc5f7b
No known key found for this signature in database
GPG key ID: 300888CB39C63817
2 changed files with 4 additions and 28 deletions

View file

@ -318,14 +318,7 @@ DOMAIN, a gettext domain."
(define (translate-tmp-texi po source output)
"Translate Texinfo file SOURCE using messages from PO, and write
the result to OUTPUT."
(invoke #+(file-append po4a-minimal "/bin/po4a")
"--no-update"
"--variable" (string-append "localized=" output)
"--variable" (string-append "master=" source)
"--variable" (string-append "po=" po)
"--variable" (string-append "pot=" (string-append (tmpnam) ".pot"))
"--destdir=."
#+(file-append documentation-po "/po4a.cfg")))
#t)
(define (canonicalize-whitespace str)
;; Change whitespace (newlines, etc.) in STR to #\space.