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

gus at torproject.org gus at torproject.org
Mon May 11 16:59:46 UTC 2020


commit 9814b738eed040569f7c409abb6d2785aa439e4d
Author: Nicolei Ocana <nicoleiocana at gmail.com>
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>



More information about the tor-commits mailing list