unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44709] [PATH artwork] Fix conference banner i18n
@ 2020-11-17 17:10 Miguel Ángel Arruga Vivas
  2020-11-17 18:18 ` bug#44709: " Julien Lepiller
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Ángel Arruga Vivas @ 2020-11-17 17:10 UTC (permalink / raw)
  To: 44709

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Attached patch to fix i18n on the banner.

Happy hacking!
Miguel


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: banner.patch --]
[-- Type: text/x-patch, Size: 1461 bytes --]

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#44709: [PATH artwork] Fix conference banner i18n
  2020-11-17 17:10 [bug#44709] [PATH artwork] Fix conference banner i18n Miguel Ángel Arruga Vivas
@ 2020-11-17 18:18 ` Julien Lepiller
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Lepiller @ 2020-11-17 18:18 UTC (permalink / raw)
  To: Miguel Ángel Arruga Vivas; +Cc: 44709-done

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 :)




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-17 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 17:10 [bug#44709] [PATH artwork] Fix conference banner i18n Miguel Ángel Arruga Vivas
2020-11-17 18:18 ` bug#44709: " Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).