guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: website: Add context to None translation.


From: Florian Pelz
Subject: 01/04: website: Add context to None translation.
Date: Fri, 6 Nov 2020 03:55:30 -0500 (EST)

pelzflorian pushed a commit to branch master
in repository guix-artwork.

commit fc8ec5409bd3d7221afc2f9feaac4ce36d5c1192
Author: Miguel Ángel Arruga Vivas <rosen644835@gmail.com>
AuthorDate: Thu Nov 5 18:31:18 2020 +0100

    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>
---
 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]