[tor-commits] [lego/master] i18lize template

emmapeel at torproject.org emmapeel at torproject.org
Wed Oct 2 13:37:24 UTC 2019


commit 714daa22a7e27d533647dc4655e8f31b76841f59
Author: emma peel <emma.peel at riseup.net>
Date:   Wed Oct 2 15:36:08 2019 +0200

    i18lize template
---
 templates/secure-connections.html | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/templates/secure-connections.html b/templates/secure-connections.html
index af01c00..838526e 100644
--- a/templates/secure-connections.html
+++ b/templates/secure-connections.html
@@ -1,18 +1,18 @@
-<p>The following visualization shows what information is visible to eavesdroppers with and without Tor Browser and HTTPS encryption:</p>
+<p>{{ _("The following visualization shows what information is visible to eavesdroppers with and without Tor Browser and HTTPS encryption:") }}</p>
 
 <ul>
-  <li>Click the “Tor” button to see what data is visible to observers when you're using Tor. The button will turn green to indicate that Tor is on.</li>
-  <li>Click the “HTTPS” button to see what data is visible to observers when you're using HTTPS. The button will turn green to indicate that HTTPS is on.</li>
-  <li>When both buttons are green, you see the data that is visible to observers when you are using both tools.</li>
-  <li>When both buttons are grey, you see the data that is visible to observers when you don't use either tool.</li>
+    <li>{{ _("Click the “Tor” button to see what data is visible to observers when you're using Tor. The button will turn green to indicate that Tor is on.") }}</li>
+    <li>{{ _("Click the “HTTPS” button to see what data is visible to observers when you're using HTTPS. The button will turn green to indicate that HTTPS is on.") }}</li>
+    <li>{{ _("When both buttons are green, you see the data that is visible to observers when you are using both tools.") }}</li>
+    <li>{{ _("When both buttons are grey, you see the data that is visible to observers when you don't use either tool.") }}</li>
 </ul>
 
 <br />
-<label>HTTPS</label>
+<label>{{ _("HTTPS") }}</label>
 <input class="toggle" type="checkbox" id="https-switch"/>
 
 <br />
-<label>TOR</label>
+<label>{{ _("Tor") }}</label>
 <input class="toggle" type="checkbox" id="tor-switch"/>
 
 <br />
@@ -29,43 +29,43 @@
   <img src="{{ '/static/images/tor-https-3.png'|asseturl }}" />
 </div>
 
-<h5>POTENTIALLY VISIBLE DATA</h5>
+<h5>{{ _("POTENTIALLY VISIBLE DATA") }}</h5>
 
 <dl>
 
 <dt>
-Site.com
+{{ _("Site.com") }}
 </dt>
   <dd>
-    The site being visited.
+    {{ _("The site being visited.") }}
   </dd>
 
 <dt>
-user / pw
+{{ _("user / pw") }}
 </dt>
   <dd>
-    Username and password used for authentication.
+    {{ _("Username and password used for authentication.") }}
   </dd>
 
 <dt>
-data
+{{ _("data") }}
 </dt>
   <dd>
-    Data being transmitted.
+    {{ _("Data being transmitted.") }}
   </dd>
 
 <dt>
-location
+{{ _("location") }}
 </dt>
   <dd>
-    Network location of the computer used to visit the website (the public IP address).
+      {{ _("Network location of the computer used to visit the website (the public IP address).") }}
   </dd>
 
 <dt>
-Tor
+{{ _("Tor") }}
 </dt>
   <dd>
-    Whether or not Tor is being used.
+      {{ _("Whether or not Tor is being used.") }}
   </dd>
 
 </dl>



More information about the tor-commits mailing list