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

[tor-commits] [community/staging] small i18n fixes



commit e448d15d4c27d56e9a736c2a4d008021193234dc
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Sat Mar 16 15:07:55 2019 +0100

    small i18n fixes
---
 templates/footer.html | 6 +++---
 templates/navbar.html | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/footer.html b/templates/footer.html
index 28eacd0..bf724a5 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -33,7 +33,7 @@
           {% else %}
             <a class="nav-link text-light" href="{{ item.path }}">
           {% endif %}
-          {{ item.label }}
+          {{ _(item.label) }}
               {% if this.is_child_of(item.path) %}
               <span class="sr-only">(current)</span>
               {% endif %}
@@ -46,8 +46,8 @@
     <div class="col-12 d-flex justify-content-center">
       <div class="col-md-8 mt-5 pb-5 border">
         <p class="text-primary-light text-uppercase">{{ _('Subscribe to our Newsletter') }}</p>
-        <p class="text-light">{{ _('Get monthly updates and opportunities from the Tor Project') }}:</p>
-        <p class="w"><a class="btn btn-small btn-dark mt-2 text-white text-uppercase active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/";>Sign up</a></p>
+        <p class="text-light">{{ _('Get monthly updates and opportunities from the Tor Project:') }}</p>
+        <p class="w"><a class="btn btn-small btn-dark mt-2 text-white text-uppercase active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/";>{{ _('Sign up') }}</a></p>
       </div>
     </div>
 
diff --git a/templates/navbar.html b/templates/navbar.html
index 08557eb..d187224 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -27,7 +27,7 @@
             {% else %}
               <a class="nav-link" href="{{ item.path }}">
             {% endif %}
-            {{ item.label }}
+            {{ _(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