[tor-commits] [tpo/staging] Fix download link in spanish

emmapeel at torproject.org emmapeel at torproject.org
Wed May 29 07:43:25 UTC 2019


commit ee0e4fc9c4bbf128fc3732f6577502b1c3069434
Author: hiro <hiro at torproject.org>
Date:   Tue Apr 23 10:12:03 2019 +0200

    Fix download link in spanish
---
 templates/macros/downloads.html | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/templates/macros/downloads.html b/templates/macros/downloads.html
index 6bddbb0..742e115 100644
--- a/templates/macros/downloads.html
+++ b/templates/macros/downloads.html
@@ -2,6 +2,8 @@
   {% set download_prefix = 'https://www.torproject.org/dist/torbrowser/' + version + '/' %}
   {% if alt == 'en' %}
     {% set alt = 'en-US' %}
+  {% elif alt == 'es' %}
+    {% set alt = 'es-ES' %}
   {% endif %}
   {% set download_link_64 = download_prefix + 'torbrowser-install-win64-' + version + '_' + alt + '.exe' %}
   {% set download_link_32 = download_prefix + 'torbrowser-install-' + version + '_' + alt + '.exe' %}
@@ -15,6 +17,8 @@
   {% set download_prefix = 'https://www.torproject.org/dist/torbrowser/' + version + '/' %}
   {% if alt == 'en' %}
     {% set alt = 'en-US' %}
+  {% elif alt == 'es' %}
+    {% set alt = 'es-ES' %}
   {% endif %}
   {% set download_link = download_prefix + 'TorBrowser-' + version + '-osx64' + '_' + alt + '.dmg' %}
   {% set sig_link = download_link + '.asc' %}
@@ -26,6 +30,8 @@
   {% set download_prefix = 'https://www.torproject.org/dist/torbrowser/' + version + '/' %}
   {% if alt == 'en' %}
     {% set alt = 'en-US' %}
+  {% elif alt == 'es' %}
+    {% set alt = 'es-ES' %}
   {% endif %}
   {% set download_link_64 = download_prefix + 'tor-browser-linux64-' + version + '_' + alt + '.tar.xz' %}
   {% set download_link_32 = download_prefix + 'tor-browser-linux32-' + version + '_' + alt + '.tar.xz' %}





More information about the tor-commits mailing list