[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tpo/master] easier to localize
commit 0edb2a7602f9589bd16cd63c221bd5ce3f127389
Author: emma peel <emma.peel@xxxxxxxxxx>
Date: Sat Mar 2 02:05:22 2019 +0100
easier to localize
---
templates/footer.html | 2 +-
templates/macros/downloads.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/footer.html b/templates/footer.html
index 364e704..af22b33 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -53,7 +53,7 @@
<div class="col-12 d-flex justify-content-center">
<div class="col-sm-6 offset-lx-1 offset-sm-0 mt-5">
{% from "macros/footer.html" import render_faq %}
- <p class="text-primary text-light">{{ _('Trademark, copyright notices, and rules for use by third parties can be found in our %s')|format(render_faq())|safe }}.</p>
+ <p class="text-primary text-light">{{ _('Trademark, copyright notices, and rules for use by third parties can be found in our %(link_to_faq)s')|format(link_to_faq=render_faq())|safe }}.</p>
</div>
<div class="col-sm-2 mt-5 d-none d-sm-block">
<div class="btn-group dropdown float-right">
diff --git a/templates/macros/downloads.html b/templates/macros/downloads.html
index 2ceaef2..a080cf2 100644
--- a/templates/macros/downloads.html
+++ b/templates/macros/downloads.html
@@ -44,5 +44,5 @@
{% endmacro %}
{% macro render_tor_browser_manual() %}
- <a class="mx-auto" href="https://tb-manual.torproject.org" target="_blank"><u>tor browser manual</u></a>
+<a class="mx-auto" href="https://tb-manual.torproject.org" target="_blank"><u>{{ _('tor browser manual') }}</u></a>
{% endmacro %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits