[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit aef993493e46110e6fa24de023b89ff053bbdd7d
Author: emma peel <emma.peel@xxxxxxxxxx>
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 %}



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits