[tor-commits] [tpo/staging] i18n updates

emmapeel at torproject.org emmapeel at torproject.org
Thu Feb 7 23:48:50 UTC 2019


commit debf31fc69a11c7d6e861d15e0444277e4ae29ec
Author: emma peel <emma.peel at riseup.net>
Date:   Fri Feb 8 00:48:36 2019 +0100

    i18n updates
---
 templates/reports.html  | 10 +++++-----
 templates/sponsors.html |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/templates/reports.html b/templates/reports.html
index 80cef40..97a5ffc 100644
--- a/templates/reports.html
+++ b/templates/reports.html
@@ -1,5 +1,5 @@
 <div class="container py-3">
-  <h3 class="text-primary display-5">Founding Documents</h3>
+<h3 class="text-primary display-5">{{ _('Founding Documents') }}</h3>
 </div>
 <div class="container py-3">
   <table class="table">
@@ -13,15 +13,15 @@
 </table>
 </div>
 <div class="container py-3">
-  <h3 class="text-primary display-5">Reports</h3>
+<h3 class="text-primary display-5">{{ _('Reports') }}</h3>
 </div>
 <div class="container py-3">
   <table class="table">
   <thead>
     <tr>
-      <th scope="col">Year</th>
-      <th scope="col">Type</th>
-      <th scope="col">Title</th>
+      <th scope="col">{{ _('Year') }}</th>
+      <th scope="col">{{ _('Type') }}</th>
+      <th scope="col">{{ _('Title') }}</th>
       <th scope="col"></th>
     </tr>
   </thead>
diff --git a/templates/sponsors.html b/templates/sponsors.html
index bcc0974..5498217 100644
--- a/templates/sponsors.html
+++ b/templates/sponsors.html
@@ -1,8 +1,8 @@
 <div class="container">
-  <p> Thank you to all the people and groups who have made Tor possible so far, and thank you especially to the individual volunteers who have made non-financial contributions: coding, testing, documenting, educating, researching, and running the relays that make up the Tor network.</p>
+<p>{{ _('Thank you to all the people and groups who have made Tor possible so far, and thank you especially to the individual volunteers who have made non-financial contributions: coding, testing, documenting, educating, researching, and running the relays that make up the Tor network.') }}</p>
 </div>
 <div class="container py-3">
-<h3 class="text-primary display-5">Active Sponsors</h3>
+<h3 class="text-primary display-5">{{ _('Active Sponsors') }}</h3>
 </div>
 <div class="fluid-container">
   <div class="row">
@@ -14,7 +14,7 @@
   </div>
 </div>
 <div class="container py-3">
-<h3 class="text-primary display-5">Past Sponsors</h3>
+<h3 class="text-primary display-5">{{ _('Past Sponsors') }}</h3>
 </div>
 <div class="container">
 <div class="row">
@@ -32,7 +32,7 @@
   <div class="container">
     <div class="row border-bottom border-light"><p></p></div>
     <div class="row py-5">
-      <p>This sponsors page is based upon un-audited and un-reviewed financial and in-kind donations, contract, and other data. Further details about our audited and reviewed funding can be found on our <a href="/about/reports" title="Reports" >Financial Reports page.</a></p>
+        <p>{{ _('This sponsors page is based upon un-audited and un-reviewed financial and in-kind donations, contract, and other data. Further details about our audited and reviewed funding can be found on our <a href="/about/reports" title="Reports" >Financial Reports page.</a>') }}</p>
     </div>
   </div>
 </div>



More information about the tor-commits mailing list