From 4a9cb613b45432de3d5ec9711c95dec1ea18cf25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Thu, 5 Nov 2020 18:31:18 +0100 Subject: [PATCH 1/3] 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". --- website/apps/packages/templates/components.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/apps/packages/templates/components.scm b/website/apps/packages/templates/components.scm index 59b4857..2695f73 100644 --- a/website/apps/packages/templates/components.scm +++ b/website/apps/packages/templates/components.scm @@ -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. -- 2.28.0