diff --git a/_includes/card.html b/_includes/card.html index 31ffe830..01703fe9 100644 --- a/_includes/card.html +++ b/_includes/card.html @@ -5,7 +5,7 @@ {% else %}
{% endif %} -

{{include.title}}

+

{{include.title | translate_text}}

{% if include.labels %} @@ -17,10 +17,10 @@ {% assign text = label_data[1] %} {% assign tooltip = label_data[2] | default: "" %} {% assign help_icon = '' %} - {{text}} {{ help_icon + {{text | translate_text}} {{ help_icon }} {% else %} - >{{text}} + >{{text | translate_text}} {% endif %} {% endfor %} @@ -41,7 +41,7 @@ {% if include.url %} {% if include.website %} - {{include.website}} + {{include.website | translate_text }} {% else %} {{ include.url | remove: "https://" | remove: "http://" | remove: "www." | remove: "/" | remove: "github.com" }} {% endif %} @@ -49,7 +49,7 @@ {% elsif include.page %} {% if include.moretext %} - {{include.moretext}} + {{include.moretext | translate_text}} {% else %} {% t Learn More %} {% endif %} diff --git a/_includes/sections/resources.html b/_includes/sections/resources.html index baa8e79d..5f3c9a4a 100644 --- a/_includes/sections/resources.html +++ b/_includes/sections/resources.html @@ -36,9 +36,6 @@ description="Find out how your operating system is compromising your privacy, and what simple alternatives exist." %} - {% capture services_title %}{% t %}{% endcapture %} - {% capture services_page %}/{% if page.language %}{{ page.language }}/{% endif %}services/{% endcapture %} - {% capture services_description %}{% t The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!%}{% endcapture %} {% include card.html color="secondary" title="PrivacyTools Services"