website: Add context to None translation.

* website/apps/packages/templates/components.scm (patches->shtml): Add
context "patches" for the translation of "None".
(supported-systems->shtml): Add context "systems" for the translation
of "None".

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
This commit is contained in:
Miguel Ángel Arruga Vivas 2020-11-05 18:31:18 +01:00 committed by Florian Pelz
parent 2d89811902
commit fc8ec5409b
No known key found for this signature in database
GPG Key ID: 300888CB39C63817
1 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@
If the list of patches is empty, return the string 'None'.
Otherwise, return a list of links to patches."
(if (null? patches)
(G_ "None")
(C_ "patches" "None")
(separate
(map (lambda (patch)
(link-subtle #:label (ilink-name patch)
@ -267,7 +267,7 @@
%hydra-supported-systems
(package-transitive-supported-systems package))))
(if (null? systems)
(G_ "None")
(C_ "systems" "None")
;; TODO: There's currently no way to refer to a job like
;; 'coreutils-8.32' in the Cuirass web UI. Add such a link once it's
;; become available.