[tor-commits] [tpo/master] translate section labels

hiro at torproject.org hiro at torproject.org
Mon Mar 25 14:53:43 UTC 2019


commit aef993493e46110e6fa24de023b89ff053bbdd7d
Author: emma peel <emma.peel at riseup.net>
Date:   Mon Mar 18 10:22:42 2019 +0100

    translate section labels
---
 templates/pagenav.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/pagenav.html b/templates/pagenav.html
index d572da1..84e2794 100644
--- a/templates/pagenav.html
+++ b/templates/pagenav.html
@@ -6,7 +6,7 @@
         {% for id, item in bag(menubag).items() %}
         <li{% if this.path == '/' + item.path %} class="nav-item active border-active" {% else %} class="nav-item" {% endif %}>
           {% set item_path = site.get(item.path) %}
-          <a class="nav-link" href="{{ this.url_to(item_path) }}">{{ item.label }}
+          <a class="nav-link" href="{{ this.url_to(item_path) }}">{{ _(item.label) }}
           {% if this.path == '/' + item.path %}
             <span class="sr-only">(current)</span>
           {% endif %}





More information about the tor-commits mailing list