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

[tor-commits] [manual/master] Translate string with _()



commit 9814b738eed040569f7c409abb6d2785aa439e4d
Author: Nicolei Ocana <nicoleiocana@xxxxxxxxx>
Date:   Mon May 4 22:13:08 2020 +0000

    Translate string with _()
---
 templates/layout.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/layout.html b/templates/layout.html
index e58e0a8..2f8fae6 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -21,7 +21,7 @@
     </div>
     <div class="container-fluid">
       <div class="row flex-xl-nowrap">
-	      {% if this.title != "Tor Browser User Manual" %} {% include 'sidenav.html' %} {% endif %}
+        {% if this.title != _('Tor Browser User Manual') %} {% include 'sidenav.html' %} {% endif %}
         <main role="main" class="col-sm-12 col-xs-12  ml-sm-auto col-md-9 col-lg-9 {{ bag('alternatives', this.alt, 'order') }}">
           {% block body %}{% endblock %}
         </main>

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