nls: Update translations.

* po/doc/guix-cookbook.zh_CN.po: New file.
* po/doc/local.mk: Add 'zh_CN' cookbook.
* po/packages/ru.po: New file.
* po/packages/LINGUAS: Add 'ru'.
* doc/local.mk: Add 'zh_CN' cookbook.
* doc/htmlxref.cnf: Update URLs for cookbook.
* doc/build.scm (%cookbook-languages): Add 'zh_CN'.
* doc/guix-cookbook.texi (Top): Mention 'zh_CN' cookbook.

Change-Id: Ic15114f01ee826a72060eebcbf1baf3bf619284f
This commit is contained in:
Florian Pelz 2025-09-01 00:57:53 +02:00
parent 0a88ef867a
commit f799d148ad
No known key found for this signature in database
GPG key ID: 300888CB39C63817
41 changed files with 214208 additions and 501381 deletions

View file

@ -70,7 +70,7 @@
(define %cookbook-languages
;; Available translations for the 'guix-cookbook' text domain.
'("de" "en" "es" "fr" "it" "ko" "pt_BR" "ru" "sk" "sv"))
'("de" "en" "es" "fr" "it" "ko" "pt_BR" "ru" "sk" "sv" "zh_CN"))
(define %languages
;; Available translations for the document being built.

View file

@ -65,7 +65,8 @@ its API, and related concepts.
@c TRANSLATORS: You can replace the following paragraph with information on
@c how to join your own translation team and how to report issues with the
@c translation.
This manual is also available in French (@pxref{Top,,, guix-cookbook.fr,
This manual is also available in Simplified Chinese (@pxref{Top,,,
guix-cookbook.zh_CN, GNU Guix 烹饪书}), French (@pxref{Top,,, guix-cookbook.fr,
Livre de recettes de GNU Guix}), German (@pxref{Top,,, guix-cookbook.de,
GNU-Guix-Kochbuch}), Korean (@pxref{Top,,, guix-cookbook.ko, GNU Guix 쿡북}),
Spanish (@pxref{Top,,, guix-cookbook.es, Libro de recetas de GNU Guix}),

View file

@ -2,7 +2,7 @@
# Modified by Ludovic Courtès <ludo@gnu.org> for the GNU Guix manual.
# Further modified by Tomas Volf <~@wolfsden.cz>.
htmlxrefversion=2025-07-10.09; # UTC
htmlxrefversion=2025-08-31.16; # UTC
# Copyright 2010-2020, 2022 Free Software Foundation, Inc.
#
@ -455,6 +455,8 @@ GUIX_COOKBOOK = ${GUIX_ROOT}/cookbook
guix-cookbook.sv node ${GUIX_COOKBOOK}/sv/html_node/
guix-cookbook mono ${GUIX_COOKBOOK}/en/guix-cookbook.html
guix-cookbook node ${GUIX_COOKBOOK}/en/html_node/
guix-cookbook.zh_CN mono ${GUIX_COOKBOOK}/zh-cn/guix-cookbook.zh_CN.html
guix-cookbook.zh_CN node ${GUIX_COOKBOOK}/zh-cn/html_node/
gv mono ${GS}/gv/manual/gv.html
gv node ${GS}/gv/manual/html_node/

View file

@ -26,7 +26,7 @@
# If adding a language, update the following variables, and info_TEXINFOS.
MANUAL_LANGUAGES = de es fr it pt_BR ru zh_CN
COOKBOOK_LANGUAGES = de es fr it ko pt_BR ru sk sv
COOKBOOK_LANGUAGES = de es fr it ko pt_BR ru sk sv zh_CN
# Arg1: A list of languages codes.
# Arg2: The file name stem.
@ -51,7 +51,8 @@ info_TEXINFOS = %D%/guix.texi \
%D%/guix-cookbook.pt_BR.texi \
%D%/guix-cookbook.ru.texi \
%D%/guix-cookbook.sk.texi \
%D%/guix-cookbook.sv.texi
%D%/guix-cookbook.sv.texi \
%D%/guix-cookbook.zh_CN.texi
%C%_guix_TEXINFOS = \
$(OS_CONFIG_EXAMPLES_TEXI) \