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

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



commit 9c82cc2840839248b790b949f76a4aed1f35761d
Author: hiro <hiro@xxxxxxxxxxxxxx>
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' %}

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