Translate more of the index.html

* Translate more of index.html, with translations sourced from
deepl.com

* Relax the plugin to allow capitalization, periods, exclamation 
marks, and question marks in the Weblate ID for YAML src. 
This helps differentiate between similar but different strings.
This commit is contained in:
djoate 2019-11-18 01:18:12 +00:00 committed by GitHub
parent c36002d851
commit 95f87e234c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 157 additions and 27 deletions

2
.gitignore vendored
View File

@ -6,4 +6,4 @@ font/assets/
font/_sass/
font/.fontcustom-manifest.json
assets/webfonts/ptio-font-preview.html
weblate-source-file.yml
# weblate-source-file.yml

View File

@ -1,13 +1,55 @@
---
sponsors: |
Prefer_the_classic_site?_View_a_singlepage_layout.: |
¿Prefieres el sitio clásico? Ver un diseño de una sola página.
Providers: |
Proveedores
Discover_privacycentric_online_services_including_email_providers_VPN_operators_DNS_administrator: |
Descubra servicios en línea centrados en la privacidad, incluyendo proveedores de correo electrónico, operadores de VPN, administradores de DNS y mucho más!
Learn_More: |
Aprenda Más
Web_Browsers: |
Navegadores Web
Find_a_web_browser_that_respects_your_privacy_and_discover_how_to_harden_your_browser_against_tracki: |
Encuentre un navegador web que respete su privacidad y descubra cómo proteger su navegador contra el rastreo y las fugas.
Software: |
Software
Discover_a_variety_of_open_source_software_built_to_protect_your_privacy_and_keep_your_digital_data_s: |
Descubra una variedad de software de código abierto creado para proteger su privacidad y mantener sus datos digitales seguros.
Operating_Systems: |
Sistemas Operativos
Find_out_how_your_operating_system_is_compromising_your_privacy_and_what_simple_alternatives_exist.: |
Descubra cómo su sistema operativo está comprometiendo su privacidad y qué alternativas sencillas existen.
PrivacyTools_Services: |
Servicios de PrivacyTools
The_PrivacyTools_team_is_proud_to_launch_a_variety_of_privacycentric_online_services_including_a_Ma: |
El equipo de PrivacyTools se enorgullece de lanzar una variedad de servicios en línea centrados en la privacidad, incluyendo una instancia de Mastodon, un motor de búsqueda y mucho más.
Donate: |
Donaciones
We_cant_operate_this_site_without_the_generous_contributions_we_receive_from_our_viewers._If_you_lov: |
No podemos operar este sitio sin las generosas contribuciones que recibimos de nuestros televidentes. Si usted ama la privacidad y nuestro sitio web por favor considere donar.
Sponsors: |
Patrocinadores
new: |
New: |
Nuevo!
showcase_your_brand_as_a_sponsor_of_privacytools_here_and_support_our_mission_of_creating_a_world_fre: |
Showcase_your_brand_as_a_sponsor_of_PrivacyTools_here_and_support_our_mission_of_creating_a_world_fre: |
Presente su marca como patrocinador de PrivacyTools aquí y apoye nuestra misión de crear un mundo libre de vigilancia masiva!
learn_more: |
Conozca más...
Learn_more...: |
Aprenda más...

View File

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

View File

@ -1,55 +1,79 @@
<h1 id="os" class="anchor">Privacy Tools</h1>
<p><a href="/classic/"><i class="fas fa-info-circle"></i> 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> {% translate Prefer the classic site? View a single-page layout.%}</a></p>
<div class="row">
{% capture providers_title %}{% translate 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 %}
{% include card.html color="success"
title="Providers"
title=providers_title
icon="fas fa-server"
iconcolor="dark"
page="/providers/"
description="Discover privacy-centric online services, including email providers, VPN operators, DNS administrators, and more!"
page=providers_page
description=providers_description
%}
{% capture browsers_title %}{% translate 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 %}
{% include card.html color="primary"
title="Web Browsers"
title=browsers_title
icon="far fa-compass"
iconcolor="dark"
page="/browsers/"
description="Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks."
page=browsers_page
description=browsers_description
%}
{% capture software_title %}{% translate 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 %}
{% include card.html color="warning"
title="Software"
title=software_title
icon="far fa-window-restore"
iconcolor="dark"
page="/software/"
description="Discover a variety of open source software built to protect your privacy and keep your digital data secure."
page=software_page
description=software_description
%}
{% capture os_title %}{% translate 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 %}
{% include card.html color="info"
title="Operating Systems"
title=os_title
icon="fas fa-desktop"
iconcolor="dark"
page="/operating-systems/"
description="Find out how your operating system is compromising your privacy, and what simple alternatives exist."
page=os_page
description=os_description
%}
{% capture services_title %}{% translate 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 %}
{% include card.html color="secondary"
title="PrivacyTools Services"
title=services_title
icon="far fa-eye-slash"
iconcolor="dark"
page="/services/"
description="The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!"
page=services_page
description=services_description
%}
{% capture donate_title %}{% translate 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 %}
{% include card.html color="danger"
title="Donate"
title=donate_title
icon="fas fa-donate"
iconcolor="dark"
page="/donate/"
description="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."
page=donate_page
description=donate_description
%}
</div>

View File

@ -10,7 +10,7 @@ module Weblate
class ID
def self.get(source_text)
source_text.nil? ? source_text : source_text.strip[0..100].gsub(/[^\w\d\s]/, '').tr(' ', '_').downcase
source_text.nil? ? source_text : source_text.strip[0..100].gsub(/[^\w\d\s\.\?\!]/, '').tr(' ', '_')
end
end

64
weblate-source-file.yml Normal file
View File

@ -0,0 +1,64 @@
---
Prefer_the_classic_site?_View_a_singlepage_layout.: |
Prefer the classic site? View a single-page layout.
Providers: |
Providers
Discover_privacycentric_online_services_including_email_providers_VPN_operators_DNS_administrator: |
Discover privacy-centric online services, including email providers, VPN operators, DNS administrators, and more!
Learn_More: |
Learn More
Web_Browsers: |
Web Browsers
Find_a_web_browser_that_respects_your_privacy_and_discover_how_to_harden_your_browser_against_tracki: |
Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks.
Software: |
Software
Discover_a_variety_of_open_source_software_built_to_protect_your_privacy_and_keep_your_digital_data_s: |
Discover a variety of open source software built to protect your privacy and keep your digital data secure.
Operating_Systems: |
Operating Systems
Find_out_how_your_operating_system_is_compromising_your_privacy_and_what_simple_alternatives_exist.: |
Find out how your operating system is compromising your privacy, and what simple alternatives exist.
PrivacyTools_Services: |
PrivacyTools Services
The_PrivacyTools_team_is_proud_to_launch_a_variety_of_privacycentric_online_services_including_a_Ma: |
The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!
Donate: |
Donate
We_cant_operate_this_site_without_the_generous_contributions_we_receive_from_our_viewers._If_you_lov: |
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.
Sponsors: |
Sponsors
New!: |
New!
Showcase_your_brand_as_a_sponsor_of_PrivacyTools_here_and_support_our_mission_of_creating_a_world_fre: |
Showcase your brand as a sponsor of PrivacyTools here and support our mission of creating a world free of mass surveillance!
Learn_more...: |
Learn more...
Prefer_the_classic_site?_View_a_singlepage_layout.: |
Prefer the classic site? View a single-page layout.
Prefer_the_classic_site?_View_a_singlepage_layout.: |
Prefer the classic site? View a single-page layout.
Prefer_the_classic_site?_View_a_singlepage_layout.: |
Prefer the classic site? View a single-page layout.