| Index: includes/install-button-templates.tmpl |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/includes/install-button-templates.tmpl |
| @@ -0,0 +1,21 @@ |
| +{% for browser in browsers %} |
| +<script id="download-label-{{ browser.id }}" type="text/template"> |
| + {% if locale in ["en", "de", "fr"] %} |
| + {{ get_string("agree-and-install-for-" + browser.id, "install-button") }} |
| + {% else %} |
| + {{ get_string("install-for-" + browser.id, "install-button") }} |
| + {% endif %} |
| +</script> |
| +{% endfor %} |
|
ire
2018/07/31 00:10:08
NIT/Suggest: Is there a need to end and start 3 di
|
| + |
| +{% for browser in browsers %} |
|
juliandoucette
2018/07/30 16:46:12
FIXME / Detail: I added these (temporarily) becaus
ire
2018/07/31 00:10:07
Acknowledged.
|
| +<script id="install-label-{{ browser.id }}" type="text/template"> |
| + {{ get_string("install-for-" + browser.id, "install-button") }} |
| +</script> |
| +{% endfor %} |
| + |
| +{% for browser in browsers %} |
| +<script id="agree-and-install-label-{{ browser.id }}" type="text/template"> |
| + {{ get_string("agree-and-install-for-" + browser.id, "install-button") }} |
| +</script> |
| +{% endfor %} |