[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit bc1cf651159af0fea52dcc333a7549341b701c12
Author: hiro <hiro@xxxxxxxxxxxxxx>
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 6bddbb0f..742e1150 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' %}



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits