Use 't' instead of 'translate'

This commit is contained in:
djoate 2019-11-18 23:55:46 -05:00
parent 9817613736
commit 52da0f33bc
No known key found for this signature in database
GPG Key ID: E8366E2E207EFB0E
8 changed files with 37 additions and 37 deletions

View File

@ -77,6 +77,9 @@ Click_on_whatever_service_you_need_to_view_our_recommendations.: |
Cloud_Storage: |
Servidor Cloud
Find_a_cloud_storage_provider_that_wont_look_through_your_files.: |
Busque un proveedor de almacenamiento en nube que no revise sus archivos.
DNS: |
DNS

View File

@ -51,7 +51,7 @@
{% if include.moretext %}
{{include.moretext}}
{% else %}
{% translate Learn More %}
{% t Learn More %}
{% endif %}
</a>
{% endif %}

View File

@ -1,7 +1,7 @@
<h1 id="cloud" class="anchor"><a href="#cloud"><i class="fas fa-link anchor-icon"></i></a> {% translate Encrypted Cloud Storage Services%}</h1>
<h1 id="cloud" class="anchor"><a href="#cloud"><i class="fas fa-link anchor-icon"></i></a> {% t Encrypted Cloud Storage Services%}</h1>
<div class="alert alert-warning" role="alert">
<strong>{% translate If you are currently using Dropbox, Google Drive, Microsoft OneDrive or Apple iCloud, you should pick an alternative here.%}</strong>
<strong>{% t If you are currently using Dropbox, Google Drive, Microsoft OneDrive or Apple iCloud, you should pick an alternative here.%}</strong>
</div>
{% include cardv2.html
@ -23,9 +23,9 @@ googleplay="https://play.google.com/store/apps/details?id=com.nextcloud.client"
%}
<h3>{% translate Worth Mentioning%}</h3>
<h3>{% t Worth Mentioning%}</h3>
<ul>
<li><a href="https://cryptomator.org/">{% translate Cryptomator%}</a> - {% translate Free client-side AES encryption for your cloud files. Open source software: No backdoors, no registration.%} <span class="badge badge-warning" data-toggle="tooltip" title="{% translate Cryptomator's mobile apps are not open-source.%}"><a href="https://github.com/cryptomator/cryptomator-android/issues/1#issuecomment-257979375"><i class="fas fa-exclamation-triangle"></i></a></span></li>
<li><a href="https://cryptpad.fr">{% translate CryptPad%}</a> - {% translate Free and end-to-end encrypted real time collaboration sharing folders, media, and documents.%}</li>
<li><a href="https://cryptomator.org/">{% t Cryptomator%}</a> - {% t Free client-side AES encryption for your cloud files. Open source software: No backdoors, no registration.%} <span class="badge badge-warning" data-toggle="tooltip" title="{% t Cryptomator's mobile apps are not open-source.%}"><a href="https://github.com/cryptomator/cryptomator-android/issues/1#issuecomment-257979375"><i class="fas fa-exclamation-triangle"></i></a></span></li>
<li><a href="https://cryptpad.fr">{% t CryptPad%}</a> - {% t Free and end-to-end encrypted real time collaboration sharing folders, media, and documents.%}</li>
</ul>

View File

@ -1,12 +1,12 @@
<h1 id="os" class="anchor">{% translate Privacy Tools %}</h1>
<h1 id="os" class="anchor">{% t Privacy Tools %}</h1>
<p><a href="/{% if page.language %}{{ page.language }}/{% endif %}classic/"><i class="fas fa-info-circle"></i> {% translate Prefer the classic site? View a single-page layout.%}</a></p>
<p><a href="/{% if page.language %}{{ page.language }}/{% endif %}classic/"><i class="fas fa-info-circle"></i> {% t Prefer the classic site? View a single-page layout.%}</a></p>
<div class="row">
{% capture providers_title %}{% translate Providers %}{% endcapture %}
{% capture providers_title %}{% t Providers %}{% endcapture %}
{% capture providers_page %}/{% if page.language %}{{ page.language }}/{% endif %}providers/{% endcapture %}
{% capture providers_description %}{% translate Discover privacy-centric online services, including email providers, VPN operators, DNS administrators, and more!%}{% endcapture %}
{% capture providers_description %}{% t Discover privacy-centric online services, including email providers, VPN operators, DNS administrators, and more!%}{% endcapture %}
{% include card.html color="success"
title=providers_title
@ -16,9 +16,9 @@
description=providers_description
%}
{% capture browsers_title %}{% translate Web Browsers %}{% endcapture %}
{% capture browsers_title %}{% t Web Browsers %}{% endcapture %}
{% capture browsers_page %}/{% if page.language %}{{ page.language }}/{% endif %}browsers/{% endcapture %}
{% capture browsers_description %}{% translate Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks.%}{% endcapture %}
{% capture browsers_description %}{% t Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks.%}{% endcapture %}
{% include card.html color="primary"
title=browsers_title
@ -28,9 +28,9 @@
description=browsers_description
%}
{% capture software_title %}{% translate Software %}{% endcapture %}
{% capture software_title %}{% t Software %}{% endcapture %}
{% capture software_page %}/{% if page.language %}{{ page.language }}/{% endif %}software/{% endcapture %}
{% capture software_description %}{% translate Discover a variety of open source software built to protect your privacy and keep your digital data secure.%}{% endcapture %}
{% capture software_description %}{% t Discover a variety of open source software built to protect your privacy and keep your digital data secure.%}{% endcapture %}
{% include card.html color="warning"
title=software_title
@ -40,9 +40,9 @@
description=software_description
%}
{% capture os_title %}{% translate Operating Systems%}{% endcapture %}
{% capture os_title %}{% t Operating Systems%}{% endcapture %}
{% capture os_page %}/{% if page.language %}{{ page.language }}/{% endif %}operating-systems/{% endcapture %}
{% capture os_description %}{% translate Find out how your operating system is compromising your privacy, and what simple alternatives exist.%}{% endcapture %}
{% capture os_description %}{% t Find out how your operating system is compromising your privacy, and what simple alternatives exist.%}{% endcapture %}
{% include card.html color="info"
title=os_title
@ -52,9 +52,9 @@
description=os_description
%}
{% capture services_title %}{% translate PrivacyTools Services%}{% endcapture %}
{% capture services_title %}{% t PrivacyTools Services%}{% endcapture %}
{% capture services_page %}/{% if page.language %}{{ page.language }}/{% endif %}services/{% endcapture %}
{% capture services_description %}{% translate The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!%}{% 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=services_title
@ -64,9 +64,9 @@
description=services_description
%}
{% capture donate_title %}{% translate Donate%}{% endcapture %}
{% capture donate_title %}{% t Donate%}{% endcapture %}
{% capture donate_page %}/{% if page.language %}{{ page.language }}/{% endif %}donate/{% endcapture %}
{% capture donate_description %}{% translate We can't operate this site without the generous contributions we receive from our viewers. If you love privacy and our website please consider donating.%}{% endcapture %}
{% capture donate_description %}{% t We can't operate this site without the generous contributions we receive from our viewers. If you love privacy and our website please consider donating.%}{% endcapture %}
{% include card.html color="danger"
title=donate_title

View File

@ -35,4 +35,4 @@ module Jekyll
end
Liquid::Template.register_tag('translate', Jekyll::TranslateTag)
Liquid::Template.register_tag('t', Jekyll::TranslateTag)

View File

@ -6,10 +6,10 @@ translate: true
<script src="/assets/js/redirects.js"></script>
{% include sections/header.html %}
{% include sections/resources.html %}
<h1 id="sponsors" class="anchor"><a href="#sponsors"><i class="fas fa-link anchor-icon"></i></a> {%translate Sponsors%}</h1>
<h1 id="sponsors" class="anchor"><a href="#sponsors"><i class="fas fa-link anchor-icon"></i></a> {% t Sponsors%}</h1>
<div class="alert alert-success" role="alert">
<strong>{%translate New!%}</strong> {%translate Showcase your brand as a sponsor of PrivacyTools here and support our mission of creating a world free of mass surveillance!%} <a href="/{% if page.language %}{{ page.language }}/{% endif %}sponsors/" class="alert-link">{%translate Learn more...%}</a>
<strong>{% t New!%}</strong> {% t Showcase your brand as a sponsor of PrivacyTools here and support our mission of creating a world free of mass surveillance!%} <a href="/{% if page.language %}{{ page.language }}/{% endif %}sponsors/" class="alert-link">{% t Learn more...%}</a>
</div>
{% include sections/quotes.html %}
{% include sections/privacy-resources.html %}

View File

@ -6,21 +6,21 @@ description: "There's a ton of people providing services online. Discover which
translate: true
---
<h1 id="os" class="anchor">{% translate Services%}</h1>
<h1 id="os" class="anchor">{% t Services%}</h1>
<p>{% translate Click on whatever service you need to view our recommendations.%}</p>
<p>{% t Click on whatever service you need to view our recommendations.%}</p>
<div class="card card-list">
<ul class="list-group list-group-flush">
<li class="list-group-item"><a href="/{% if page.language %}{{ page.language }}/{% endif %}providers/cloud-storage/"><span class="fas fa-cloud fa-fw"></span> {% translate Cloud Storage%}</a></li>
<li class="list-group-item"><a href="/providers/dns/"><span class="fa fa-tasks fa-fw"></span> {% translate DNS%}</a></li>
<li class="list-group-item"><a href="/providers/email/"><span class="fas fa-mail-bulk fa-fw"></span> {% translate Email%}</a></li>
<li class="list-group-item"><a href="/providers/hosting/"><span class="fas fa-database fa-fw"></span> {% translate Hosting%}</a></li>
<li class="list-group-item"><a href="/providers/paste/"><span class="fas fa-paste fa-fw"></span> {% translate Pastebins%}</a></li>
<li class="list-group-item"><a href="/providers/search-engines/"><i class="fas fa-search fa-fw"></i> {% translate Search Engines%}</a></li>
<li class="list-group-item"><a href="/providers/social-networks/"><span class="fas fa-expand-arrows-alt fa-fw"></span> {% translate Social Networks%}</a></li>
<li class="list-group-item"><a href="/providers/social-news-aggregator/"><span class="far fa-newspaper fa-fw"></span> {% translate Social News Aggregators%}</a></li>
<li class="list-group-item"><a href="/providers/vpn/"><span class="far fa-eye-slash fa-fw"></span> {% translate VPN%}</a></li>
<li class="list-group-item"><a href="/{% if page.language %}{{ page.language }}/{% endif %}providers/cloud-storage/"><span class="fas fa-cloud fa-fw"></span> {% t Cloud Storage%}</a></li>
<li class="list-group-item"><a href="/providers/dns/"><span class="fa fa-tasks fa-fw"></span> {% t DNS%}</a></li>
<li class="list-group-item"><a href="/providers/email/"><span class="fas fa-mail-bulk fa-fw"></span> {% t Email%}</a></li>
<li class="list-group-item"><a href="/providers/hosting/"><span class="fas fa-database fa-fw"></span> {% t Hosting%}</a></li>
<li class="list-group-item"><a href="/providers/paste/"><span class="fas fa-paste fa-fw"></span> {% t Pastebins%}</a></li>
<li class="list-group-item"><a href="/providers/search-engines/"><i class="fas fa-search fa-fw"></i> {% t Search Engines%}</a></li>
<li class="list-group-item"><a href="/providers/social-networks/"><span class="fas fa-expand-arrows-alt fa-fw"></span> {% t Social Networks%}</a></li>
<li class="list-group-item"><a href="/providers/social-news-aggregator/"><span class="far fa-newspaper fa-fw"></span> {% t Social News Aggregators%}</a></li>
<li class="list-group-item"><a href="/providers/vpn/"><span class="far fa-eye-slash fa-fw"></span> {% t VPN%}</a></li>
</ul>
</div>

View File

@ -119,6 +119,3 @@ Social_News_Aggregators: |
VPN: |
VPN
Prefer_the_classic_site?_View_a_singlepage_layout.: |
Prefer the classic site? View a single-page layout.