[tor-commits] [community/staging] Update localization section layout

emmapeel at torproject.org emmapeel at torproject.org
Mon May 27 13:27:26 UTC 2019


commit baae82783eb6116ba211952f47e9d3d5f6fc262c
Author: Pili Guerra <pili at piliguerra.com>
Date:   Fri May 17 12:28:22 2019 +0200

    Update localization section layout
---
 content/localization/pick-a-project/contents.lr    |  2 +-
 content/localization/translate-strings/contents.lr |  2 +-
 templates/localization.html                        | 61 ++++------------------
 3 files changed, 11 insertions(+), 54 deletions(-)

diff --git a/content/localization/pick-a-project/contents.lr b/content/localization/pick-a-project/contents.lr
index 323ce32..f8db961 100644
--- a/content/localization/pick-a-project/contents.lr
+++ b/content/localization/pick-a-project/contents.lr
@@ -10,7 +10,7 @@ title: Pick a project
 ---
 subtitle: How to find things ... 
 ---
-key: 2
+key: 3
 ---
 html: localization.html
 ---
diff --git a/content/localization/translate-strings/contents.lr b/content/localization/translate-strings/contents.lr
index 803e52e..04d403e 100644
--- a/content/localization/translate-strings/contents.lr
+++ b/content/localization/translate-strings/contents.lr
@@ -10,7 +10,7 @@ title: Translate strings
 ---
 subtitle: How to do this ...
 ---
-key: 3
+key: 4
 ---
 html: localization.html
 ---
diff --git a/templates/localization.html b/templates/localization.html
index fb18348..9e6e6f4 100644
--- a/templates/localization.html
+++ b/templates/localization.html
@@ -9,58 +9,6 @@
     </div>
   </div>
   <div class="row">
-    <div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-4">
-      <h4 class="text-primary text-uppercase">Tier 1</h4>
-      <table class="table table-hover">
-        <thead>
-          <tr>
-            <th scope="col">{{ _('Language') }}</th>
-            <th scope="col">{{ _('Projects supported') }}</th>
-          </tr>
-        </thead>
-        <tbody>
-          <tr>
-            <td>{{ _('English') }}</td>
-            <td>{{ _('Tor Browser, Website') }}</td>
-          </tr>
-          <tr>
-            <td>{{ _('German') }}</td>
-            <td>{{ _('Tor Browser, Website') }}</td>
-          </tr>
-          <tr>
-            <td>{{ _('French') }}</td>
-            <td>{{ _('Tor Browser, Website') }}</td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-    <div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-4">
-      <h4 class="text-primary text-uppercase">Tier 2</h4>
-      <table class="table table-hover">
-        <thead>
-          <tr>
-            <th scope="col">{{ _('Language') }}</th>
-            <th scope="col">{{ _('Projects supported') }}</th>
-          </tr>
-        </thead>
-        <tbody>
-          <tr>
-            <td>{{ _('Portuguese') }}</td>
-            <td>{{ _('Tor Browser, Website') }}</td>
-          </tr>
-          <tr>
-            <td>{{ _('Arabic') }}</td>
-            <td>{{ _('Tor Browser, Website') }}</td>
-          </tr>
-          <tr>
-            <td>{{ _('Greek') }}</td>
-            <td>{{ _('Tor Browser, Website') }}</td>
-          </tr>
-        </tbody>
-      </table>
-    </div>
-  </div>
-  <div class="row">
     {% for child in this.children|sort(attribute='key') %}
       <div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-4">
         <div class="card h-100 border-0">
@@ -75,4 +23,13 @@
       </div>
     {% endfor %}
   </div>
+    <div class="row py-5 text-center mx-auto">
+    <h2 class="display-4 text-primary text-center mx-auto">{{ _('Help us to improve our translations!') }}</h2>
+    <p class="text-center">
+      {{ _('Notice any improvements we could make to our translations?') }}</p>
+      {{ _('Don't hesitate to reach out to us here.) }}</p>
+    <h3 class="text-primary text-center mx-auto"><u>{{ _('Translators list') }}
+      <i class="fas fa-arrow-right"></i></u>
+    </h3>
+  </div>
 </div>





More information about the tor-commits mailing list