[tor-commits] [tpo/master] Create databag for alpha releases

hiro at torproject.org hiro at torproject.org
Mon Mar 25 16:40:43 UTC 2019


commit 02d22d538ec5cec8cb76df5f34bbe5a4a9b21b54
Author: hiro <hiro at torproject.org>
Date:   Mon Mar 25 17:40:37 2019 +0100

    Create databag for alpha releases
---
 databags/download-alternatives-alpha.ini | 99 ++++++++++++++++++++++++++++++++
 templates/download-options.html          |  2 +-
 2 files changed, 100 insertions(+), 1 deletion(-)

diff --git a/databags/download-alternatives-alpha.ini b/databags/download-alternatives-alpha.ini
new file mode 100644
index 0000000..2fdf984
--- /dev/null
+++ b/databags/download-alternatives-alpha.ini
@@ -0,0 +1,99 @@
+[en]
+url =  /en/
+language = English (en)
+
+[ar]
+url = /ar/
+language = عربية (ar)
+
+[ca]
+url = /ca/
+language = Catalá (ca)
+
+[da]
+url = /da/
+language = Dansk (da)
+
+[de]
+url = /de/
+language = Deutsch (de)
+
+[es-ES]
+url = /es/
+language = Español (es)
+
+[fa]
+url = /fa/
+language = Farsi (fa)
+
+[fr]
+url = /fr/
+language = Français (fr)
+
+[ga]
+url = /ga/
+language = Gaeilge (ga)
+
+[he]
+url = /he/
+language =  עברית (he)
+
+[id]
+url = /id/
+language = Indonesia (id)
+
+[is]
+url = /is/
+language = Islenska (is)
+
+[it]
+url = /it/
+language = Italiano (it)
+
+[ja]
+url = /ja/
+language = 日本語 (ja)
+
+[ko]
+url = /ko/
+language = 한국어 (ko)
+
+[nb-NO]
+url = /nb-NO/
+language = Norsk Bokmål (nb-NO)
+
+[nl]
+url = /nl/
+language = Nederlands (nl)
+
+[pl]
+url = /pl/
+language = Polszczyzna (pl)
+
+[pt-BR]
+url = /pt-BR/
+language = Português Brasil(pt-BR)
+
+[ru]
+language = Русский (ru)
+url = /ru/
+
+[sv]
+url = /sv/
+language = Svenska (sv)
+
+[tr]
+url = /tr/
+language = Türkçe (tr)
+
+[vi]
+url = /vi/
+language = Tiếng Việt (vi)
+
+[zh-CN]
+url = /zh-CN/
+language  = 中文简 (zh-CN)
+
+[zh-TW]
+url = /zh-TW/
+language =  正體字 (zh-TW)
diff --git a/templates/download-options.html b/templates/download-options.html
index 0634f0e..8698e73 100644
--- a/templates/download-options.html
+++ b/templates/download-options.html
@@ -16,7 +16,7 @@
       </thead>
       <tbody>
         {% set t = bag('versions', 'torbrowser-alpha') %}
-        {% for id, item in bag('download-alternatives').items() %}
+        {% for id, item in bag('download-alternatives-alpha').items() %}
           <tr>
             <td>{{ item.language }}</td>
             <td>



More information about the tor-commits mailing list