move text into strings

This commit is contained in:
John Hess 2024-06-07 19:41:23 -05:00
parent 8091f87a30
commit dd99d8b6f5
5 changed files with 71 additions and 31 deletions

View file

@ -5,8 +5,8 @@
<img class="btn-android" src="{{ site.baseurl}}/assets/images/btr-android.svg">
</div>
<div class="btn-text">
<span class="button-main-text">{{ include.main_cta }}</span><br>
<span class="button-sub-text">{{ include.sub_cta }}</span>
<span class="button-main-text">{% t include.main_cta %}</span><br>
<span class="button-sub-text">{% t include.sub_cta %}</span>
</div>
</div>
</a>

View file

@ -4,27 +4,24 @@
<main class="modal__content" id="product-modal-content">
<div class="modal__content__header">
<div class="header__text">
<h2 class="modal__title ls-40" id="product-modal-title">Continue With Confidence</h2>
<h2 class="modal__title ls-40" id="product-modal-title">{% t sideloading_modal.heading %}</h2>
</div>
</div>
<div class="modal__content__description">
{% for paragraph in site.translations[site.lang].sideloading_modal.paragraphs %}
<p class="modal__text ls-40">
Downloading apps from unknown sources can expose your device to malicious software. For this
reason, your phone will warn against it.
</p>
<p class="modal__text ls-40">
The Butter App Store and the apps in it are checked for malware before they are shared. Consider
it a safe source.
{{ paragraph }}
</p>
{% endfor %}
</div>
<a class="modal__close" aria-label="Close modal" data-micromodal-close>
Go Back
{% t sideloading_modal.go_back %}
</a>
<hr style="color: #00000033">
<a class="modal__close modal__continue"
onclick="MicroModal.close(); window.location='{{ site.baseurl }}/assets/download/butter.apk'"
aria-label="Download App Store">
Continue to Download
{% t sideloading_modal.confirm %}
</a>
</main>
</div>