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

emmapeel at torproject.org emmapeel at torproject.org
Thu Apr 25 15:18:01 UTC 2019


commit 9c82cc2840839248b790b949f76a4aed1f35761d
Author: hiro <hiro at torproject.org>
Date:   Tue Apr 23 10:10:11 2019 +0200

    Fix download link in spanish
---
 templates/hero-download.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/hero-download.html b/templates/hero-download.html
index cae7d12..3bbba3f 100644
--- a/templates/hero-download.html
+++ b/templates/hero-download.html
@@ -12,6 +12,8 @@
         {% set download_prefix = 'https://www.torproject.org/dist/torbrowser/' + t.version + '/' %}
         {% if alt == 'en' %}
           {% set alt = 'en-US' %}
+        {% elif alt == 'es' %}
+          {% set alt = 'es-ES' %}
         {% endif %}
         {% if id == 'windows' %}
           {% set download_link = download_prefix + 'torbrowser-install-win64-' + t.version + '_' + alt + '.exe' %}



More information about the tor-commits mailing list