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

[tor-commits] [lego/master] translate banner



commit 16c2890e5f5a8bbf05d243716786f4eeb0675197
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Tue Oct 29 09:33:29 2019 +0100

    translate banner
---
 templates/banner.html | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/templates/banner.html b/templates/banner.html
index bafd248..93e6943 100644
--- a/templates/banner.html
+++ b/templates/banner.html
@@ -1,24 +1,24 @@
 <div class="banner__containter banner align-middle d-flex justify-content-center p-0">
-  <input id="trigger" type="checkbox" title="Close banner" />
+        <input id="trigger" type="checkbox" title="{{ _('Close banner') }}" />
     <label for="trigger" class="footer__close text-white">X</label>
-  <span class="eoy-sr-only text-white">Close banner</span>
+    <span class="eoy-sr-only text-white">{{ _('Close banner') }}</span>
   <div class="eoy-banner row col-md-12" id="banner-header" role="contentinfo">
     <div class="col-lg-3 col-md-1"></div>
     <div class="col-lg-6 col-md-10">
       <div class="col-12 p-5">
         <div class="row">
-          <h4 class="tracking-surveillan">Tracking, surveillance, and censorship are widespread online.</h4>
+          <h4 class="tracking-surveillan">{{ _('Tracking, surveillance, and censorship are widespread online.') }}</h4>
         </div>
         <div class="row">
           <h2 class="take-back-the-intern display-3 py-3">
-            TAKE BACK<br />
+            {{ _('TAKE BACK<br />
             THE INTERNET<br />
-            WITH TOR
+            WITH TOR') }}
           </h2>
         </div>
         <div class="row">
-          <a class="btn-lg rectangle mb-3 mr-3" href="https://torproject.org/donate/donate-tbi-hp1";>DONATE NOW</a>
-          <p class="give-today-and-mozi">Give today, and Mozilla will match your donation.</p>
+          <a class="btn-lg rectangle mb-3 mr-3" href="https://torproject.org/donate/donate-tbi-hp1";>{{ _('DONATE NOW') }}</a>
+          <p class="give-today-and-mozi">{{ _('Give today, and Mozilla will match your donation.') }}</p>
         </div>
       </div>
     </div>

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