Restructure the site to allow for i18n
This commit is contained in:
parent
a58b5811aa
commit
7262d7b1f2
8
_data/lang/en/general.yml
Normal file
8
_data/lang/en/general.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
subheading: >
|
||||
You are being watched. Private and state-sponsored organizations are monitoring and recording
|
||||
your online activities. privacytools.io provides knowledge and tools to protect your privacy
|
||||
against global mass surveillance.
|
||||
translations_disclaimer: Translations of privacytools.io were done by volunteers. They might be not up to date.
|
||||
Read also: Read also
|
||||
---
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"title": "Key Disclosure Law",
|
||||
"subtitle": "Who is required to hand over the encryption keys to authorities?",
|
||||
"description": "Mandatory key disclosure laws require individuals to turn over encryption keys to law enforcement conducting a criminal investigation. How these laws are implemented (who may be legally compelled to assist) vary from nation to nation, but a warrant is generally required. Defenses against key disclosure laws include steganography and encrypting data in a way that provides plausible deniability.\n\nSteganography involves hiding sensitive information (which may be encrypted) inside of ordinary data (for example, encrypting an image file and then hiding it in an audio file). With plausible deniability, data is encrypted in a way that prevents an adversary from being able to prove that the information they are after exists (for example, one password may decrypt benign data and another password, used on the same file, could decrypt sensitive data)."
|
||||
}
|
17
_data/lang/en/nothing_to_hide.yml
Normal file
17
_data/lang/en/nothing_to_hide.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Privacy? I don't have anything to hide.
|
||||
quote: >
|
||||
Over the last 16 months, as I've debated this issue around the world,
|
||||
every single time somebody has said to me, "I don't really worry about
|
||||
invasions of privacy because I don't have anything to hide." I always
|
||||
say the same thing to them. I get out a pen, I write down my email address.
|
||||
I say, "Here's my email address. What I want you to do when you get home
|
||||
is email me the passwords to all of your email accounts, not just the
|
||||
nice, respectable work one in your name, but all of them, because I want
|
||||
to be able to just troll through what it is you're doing online, read
|
||||
what I want to read and publish whatever I find interesting. After all,
|
||||
if you're not a bad person, if you're doing nothing wrong, you should
|
||||
have nothing to hide." <strong>Not a single person hsa taken me up on
|
||||
that offer</strong>
|
||||
talk_name: Why privacy matters
|
||||
---
|
7
_data/lang/it/general.yml
Normal file
7
_data/lang/it/general.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
subheading: >
|
||||
You are being watched. Private and state-sponsored organizations are monitoring and recording
|
||||
your online activities. privacytools.io provides knowledge and tools to protect your privacy
|
||||
against global mass surveillance.
|
||||
read_also: Read
|
||||
---
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"title": "Key Disclosure Law (but in Italian)",
|
||||
"description": "Mandatory key disclosure laws require individuals to turn over encryption keys to law enforcement conducting a criminal investigation. How these laws are implemented (who may be legally compelled to assist) vary from nation to nation, but a warrant is generally required. Defenses against key disclosure laws include steganography and encrypting data in a way that provides plausible deniability.\n\nSteganography involves hiding sensitive information (which may be encrypted) inside of ordinary data (for example, encrypting an image file and then hiding it in an audio file). With plausible deniability, data is encrypted in a way that prevents an adversary from being able to prove that the information they are after exists (for example, one password may decrypt benign data and another password, used on the same file, could decrypt sensitive data). (but in Italian)"
|
||||
}
|
17
_data/lang/it/nothing_to_hide.yml
Normal file
17
_data/lang/it/nothing_to_hide.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
title: Privacy? I don't have anything to hide.
|
||||
quote: >
|
||||
Over the last 16 months, as I've debated this issue around the world,
|
||||
every single time somebody has said to me, "I don't really worry about
|
||||
invasions of privacy because I don't have anything to hide." I always
|
||||
say the same thing to them. I get out a pen, I write down my email address.
|
||||
I say, "Here's my email address. What I want you to do when you get home
|
||||
is email me the passwords to all of your email accounts, not just the
|
||||
nice, respectable work one in your name, but all of them, because I want
|
||||
to be able to just troll through what it is you're doing online, read
|
||||
what I want to read and publish whatever I find interesting. After all,
|
||||
if you're not a bad person, if you're doing nothing wrong, you should
|
||||
have nothing to hide." <strong>Not a single person hsa taken me up on
|
||||
that offer</strong>
|
||||
talk_name: Why privacy matters
|
||||
---
|
@ -30,7 +30,7 @@
|
||||
{% endif %}
|
||||
</a>
|
||||
{% if include.tor %}
|
||||
<a class="mb-1" data-toggle="tooltip" data-placement="bottom" data-original-title="{{include.tor}} Requires specific software to access: torproject.org" href="{{include.tor}}"><img alt="Tor" src="assets/img/layout/tor.png" width="35"></a>
|
||||
<a class="mb-1" data-toggle="tooltip" data-placement="bottom" data-original-title="{{include.tor}} Requires specific software to access: torproject.org" href="{{include.tor}}"><img alt="Tor" src="/assets/img/layout/tor.png" width="35"></a>
|
||||
{% endif %}
|
||||
|
||||
{% if include.extra_button %}
|
@ -1,6 +0,0 @@
|
||||
{% assign lang = site.data.lang.[include.lang].kdl %}
|
||||
{% assign english = site.data.lang.en.kdl %}
|
||||
|
||||
# {{ lang.title | default: english.title }}
|
||||
## {{ lang.subtitle | default: english.subtitle }}
|
||||
{{ lang.description | default: english.description }}
|
15
_includes/content/nothing_to_hide.html
Normal file
15
_includes/content/nothing_to_hide.html
Normal file
@ -0,0 +1,15 @@
|
||||
{% assign lang = site.data.lang.[include.lang].nothing_to_hide %}
|
||||
{% assign en = site.data.lang.en.nothing_to_hide %}
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{{ lang.title | default: en.title }}</h1>
|
||||
</div>
|
||||
<blockquote class="blockquote">
|
||||
<p>
|
||||
<a href="http://www.ted.com/talks/glenn_greenwald_why_privacy_matters" title="Glenn Greenwald - {{ lang.talk_name | default: en.talk_name }} - TED Talk"><img
|
||||
src="/assets/img/layout/Glenn-Greenwald-Why-privacy-matters.jpg" class="img-fluid float-right ml-2" alt="Glenn Greenwald: Why privacy matters"></a>
|
||||
{{ lang.quote | default: en.quote }}
|
||||
</p>
|
||||
<footer class="blockquote-footer">Glenn Greenwald in <cite title="{{ lang.talk_name | default: en.talk_name }} - TED Talk"><a href="http://www.ted.com/talks/glenn_greenwald_why_privacy_matters">
|
||||
{{ lang.talk_name | default: en.talk_name }} - TED Talk</a></cite></footer>
|
||||
</blockquote>
|
File diff suppressed because it is too large
Load Diff
@ -23,28 +23,28 @@
|
||||
{% endif %}
|
||||
|
||||
<!-- icons -->
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="assets/img/favicons/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="assets/img/favicons/apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/favicons/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/favicons/apple-touch-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/favicons/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="assets/img/favicons/apple-touch-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/favicons/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="assets/img/favicons/apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="assets/img/favicons/apple-touch-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" href="assets/img/favicons/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="assets/img/favicons/android-chrome-192x192.png" sizes="192x192">
|
||||
<link rel="icon" type="image/png" href="assets/img/favicons/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="assets/img/favicons/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="manifest" href="assets/img/favicons/manifest.json">
|
||||
<link rel="shortcut icon" href="assets/img/favicons/favicon.ico">
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/assets/img/favicons/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="/assets/img/favicons/apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/assets/img/favicons/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="/assets/img/favicons/apple-touch-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/assets/img/favicons/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="/assets/img/favicons/apple-touch-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/assets/img/favicons/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/assets/img/favicons/apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicons/apple-touch-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/android-chrome-192x192.png" sizes="192x192">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="/assets/img/favicons/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="manifest" href="/assets/img/favicons/manifest.json">
|
||||
<link rel="shortcut icon" href="/assets/img/favicons/favicon.ico">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="msapplication-TileImage" content="assets/img/favicons/mstile-144x144.png">
|
||||
<meta name="msapplication-config" content="assets/img/favicons/browserconfig.xml">
|
||||
<meta name="msapplication-TileImage" content="/assets/img/favicons/mstile-144x144.png">
|
||||
<meta name="msapplication-config" content="/assets/img/favicons/browserconfig.xml">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<!-- CSS stylesheets -->
|
||||
<link href="assets/css/style.css?v=5" rel="stylesheet">
|
||||
<link href="/assets/css/style.css?v=5" rel="stylesheet">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="js/html5shiv.min.js"></script>
|
||||
@ -190,10 +190,10 @@
|
||||
</div>
|
||||
|
||||
<!-- add jQuery, Popper, Bootstrap, Sortable, and tooltip libraries -->
|
||||
<script src="assets/js/jquery-3.3.1.min.js?v=4"></script>
|
||||
<script src="assets/js/popper.min.js?v=4"></script>
|
||||
<script src="assets/js/bootstrap.min.js?v=4"></script>
|
||||
<script src="assets/js/sortable.min.js?v=4"></script>
|
||||
<script src="/assets/js/jquery-3.3.1.min.js?v=4"></script>
|
||||
<script src="/assets/js/popper.min.js?v=4"></script>
|
||||
<script src="/assets/js/bootstrap.min.js?v=4"></script>
|
||||
<script src="/assets/js/sortable.min.js?v=4"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$("[data-toggle='tooltip']").tooltip();
|
||||
|
@ -1,12 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="content">
|
||||
|
||||
{% capture kdl %}
|
||||
{% include content/kdl.md lang="it" %}
|
||||
{% endcapture %}
|
||||
{{ kdl | markdownify }}
|
||||
|
||||
</div>
|
6
languages/en.html
Normal file
6
languages/en.html
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
layout: default
|
||||
permalink: /
|
||||
---
|
||||
|
||||
{% include index.html lang="en" %}
|
6
languages/it.html
Normal file
6
languages/it.html
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
layout: default
|
||||
permalink: /it/
|
||||
---
|
||||
|
||||
{% include index.html lang="it" %}
|
Reference in New Issue
Block a user