unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Miguel Ángel Arruga Vivas" <rosen644835@gmail.com>
To: 44709@debbugs.gnu.org
Subject: [bug#44709] [PATH artwork] Fix conference banner i18n
Date: Tue, 17 Nov 2020 18:10:53 +0100	[thread overview]
Message-ID: <87ima3vrhe.fsf@gmail.com> (raw)

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


             reply	other threads:[~2020-11-17 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 17:10 Miguel Ángel Arruga Vivas [this message]
2020-11-17 18:18 ` bug#44709: [PATH artwork] Fix conference banner i18n Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ima3vrhe.fsf@gmail.com \
    --to=rosen644835@gmail.com \
    --cc=44709@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).