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

[tor-commits] [community/master] fix the pagenav for showing translated terms



commit 17326481ed9b776b570ac1f0a3c23703f6811158
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Sat Mar 27 08:32:16 2021 +0100

    fix the pagenav for showing translated terms
---
 templates/pagenav.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/pagenav.html b/templates/pagenav.html
index 617242d..077df73 100644
--- a/templates/pagenav.html
+++ b/templates/pagenav.html
@@ -8,7 +8,7 @@
         <li{% if this.is_child_of(abs_path) %} class="nav-item active border-active" {% else %} class="nav-item" {% endif %}>
           {% set elm = site.get(item.path) %}
           {% if elm %}
-            <a class="nav-link" href="{{ elm.path|url }}">{{ item.label }}
+            <a class="nav-link" href="{{ elm.path|url }}">{{ _(item.label) }}
           {% endif %}
           {% if this.is_child_of(abs_path) %}
             <span class="sr-only">(current)</span>

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