diff mbox series

[bug#44709,PATH,artwork] Fix conference banner i18n

Message ID 87ima3vrhe.fsf@gmail.com
State Accepted
Headers show
Series [bug#44709,PATH,artwork] Fix conference banner i18n | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Miguel Arruga Vivas Nov. 17, 2020, 5:10 p.m. UTC
Attached patch to fix i18n on the banner.

Happy hacking!
Miguel

Comments

Julien Lepiller Nov. 17, 2020, 6:18 p.m. UTC | #1
Le Tue, 17 Nov 2020 18:10:53 +0100,
Miguel Ángel Arruga Vivas <rosen644835@gmail.com> a écrit :

> Attached patch to fix i18n on the banner.
> 
> Happy hacking!
> Miguel
> 

Thank you! I applied and pushed as
de4f6efb24984c4b59d82d0fe080d37ba73de39f.

Note that you have commit access to every guix repo now, so you could
have done it yourself :)
diff mbox series

Patch

From ef902bce643f3ee5edfd268f67a991cf5b17e968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?=
 <rosen644835@gmail.com>
Date: Tue, 17 Nov 2020 18:06:54 +0100
Subject: [PATCH] website: Fix i18n for conference banner.

* website/apps/base/templates/theme.scm (theme)[confbar]: Call G_ to
translate link tags.
---
 website/apps/base/templates/theme.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/website/apps/base/templates/theme.scm b/website/apps/base/templates/theme.scm
index af78d3c..179adab 100644
--- a/website/apps/base/templates/theme.scm
+++ b/website/apps/base/templates/theme.scm
@@ -121,13 +121,13 @@ 
       (div (@ (id "confbar"))
            (p ,(G_ `("Online conference November 22nd. "
                      "Watch the "
-                     (a
-                      (@ (href "https://xana.lepiller.eu/guix-days-2020/"))
-                      "pre-recorded talks")
+                     ,(G_ `(a
+			    (@ (href "https://xana.lepiller.eu/guix-days-2020/"))
+			    "pre-recorded talks"))
                      ". Learn "
-                     (a
-                      (@ (href ,(guix-url "blog/2020/online-guix-day-announce-2/")))
-                      "more")
+                     ,(G_ `(a
+			    (@ (href ,(guix-url "blog/2020/online-guix-day-announce-2/")))
+			    "more"))
                      "!"))))
       ,(navbar #:active-item active-menu-item)
 
-- 
2.29.2