[tor-commits] [tpo/develop] make strings localizable

hiro at torproject.org hiro at torproject.org
Fri Oct 25 22:15:01 UTC 2019


commit 4d54d9ba630fe16d228a54bda31e0b5d5ac9c771
Author: emma peel <emma.peel at riseup.net>
Date:   Thu Oct 24 08:40:37 2019 +0200

    make strings localizable
---
 templates/download-tor.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/templates/download-tor.html b/templates/download-tor.html
index 0bc79c5..132ea86 100644
--- a/templates/download-tor.html
+++ b/templates/download-tor.html
@@ -5,11 +5,11 @@
 </div>
 <div class="container py-3">
   <div class="row">
-    <h2 class="text-primary">Tor Source</h2>
+    <h2 class="text-primary">{{ _('Tor Source') }}</h2>
     <table class="table">
       <thead>
         <tr>
-          <th scope="col">Version</th>
+          <th scope="col">{{ _('Version') }}</th>
           <th></th>
         </tr>
       </thead>
@@ -34,13 +34,13 @@
     </table>
   </div>
   <div class="row">
-    <h2 class="text-primary">Windows Expert Bundle</h2>
+    <h2 class="text-primary">{{ _('Windows Expert Bundle') }}</h2>
     {% set t = bag('versions', 'torbrowser-stable') %}
     <table class="table">
       <tbody>
         <tr>
-          <td>Windows 10, 8, 7, Vista, XP, 2000, 2003 Server, ME, and Windows 98SE</td>
-          <td>Contains just Tor and nothing else.</td>
+          <td>{{ _('Windows 10, 8, 7, Vista, XP, 2000, 2003 Server, ME, and Windows 98SE') }}</td>
+          <td>{{ _('Contains just Tor and nothing else.') }}</td>
           <td class="text-right">
             {% from "macros/downloads.html" import render_windows_expert %}
             {{ render_windows_expert(t.version, t.win32) }}





More information about the tor-commits mailing list