Skip to content

Commit

Permalink
Localize PNI template strings (#4239)
Browse files Browse the repository at this point in the history
* PNI i18n (note: localised years are now longform)
  • Loading branch information
TheoChevalier authored Mar 19, 2020
1 parent 544df47 commit 6f070b1
Show file tree
Hide file tree
Showing 18 changed files with 537 additions and 247 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load bg_nav_tags %}
{% load bg_nav_tags i18n %}

{% with request.get_full_path as current_url %}
{% url 'why-view' as why_url %}
Expand All @@ -10,12 +10,12 @@

<div class="col-lg-3">
<div class="vertical-nav mt-5 pt-sm-2" id="multipage-nav">
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url why_url %}" href="{{ why_url }}">Why we made this guide</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url how_to_use_url %}" href="{{ how_to_use_url }}">How to use this guide</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url minimum_security_url %}" href="{{ minimum_security_url }}">Minimum Security Standards explained</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url methodology_url %}" href="{{ methodology_url }}">Methodology</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url contact_url %}" href="{{ contact_url }}">Contact us</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url press_url %}" href="{{ press_url }}">Press</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url why_url %}" href="{{ why_url }}">{% trans "Why we made this guide" %}</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url how_to_use_url %}" href="{{ how_to_use_url }}">{% trans "How to use this guide" %}</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url minimum_security_url %}" href="{{ minimum_security_url }}">{% trans "Minimum Security Standards explained" %}</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url methodology_url %}" href="{{ methodology_url }}">{% trans "Methodology" %}</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url contact_url %}" href="{{ contact_url }}">{% trans "Contact us" %}</a></div>
<div class="multipage-link-wrapper"><a class="multipage-link {% bg_active_nav current_url press_url %}" href="{{ press_url }}">{% trans "Press" %}</a></div>
</div>
</div>

Expand Down
20 changes: 14 additions & 6 deletions network-api/networkapi/buyersguide/templates/about/contact.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
{% extends "../bg_about.html" %}

{% load i18n %}

{% block main_about_class %}short-content{% endblock %}

{% block about_guts %}
<h1 class="h2-heading">
Contact Us
{% trans "Contact Us" %}
</h1>

<p>For any questions about the guide or to offer constructive feedback, please email Jen Caltrider <a href="mailto:jen@mozillafoundation.org">jen@mozillafoundation.org</a></p>
<p>
{% blocktrans with name="Jen Caltrider" email="jen@mozillafoundation.org" trimmed %}
For any questions about the guide or to offer constructive feedback, please email {{name}} at <a href="mailto:{{email}}">{{email}}</a>.
{% endblocktrans %}
</p>

<p>For members of the press with questions about this guide, please email Kevin Zawacki at
<a href="mailto:kevin@mozillafoundation.org">kevin@mozillafoundation.org</a>.
<p>
{% blocktrans with name="Kevin Zawacki" email="kevin@mozillafoundation.org" trimmed %}
For members of the press with questions about this guide, please email {{name}} at <a href="mailto:{{email}}">{{email}}</a>.
{% endblocktrans %}
</p>

<div class="recommend-product">
<p>We don’t want to miss any products that might be important to you. Tell us what connected products you want reviewed in our holiday buyer’s guide and we’ll do our best to include them.</p>
<a href="https://forms.gle/UefDgjEU85Xwcf8C8" target="_blank" class="btn btn-secondary btn-recommend">Submit a product</a>
<p>{% trans "We don’t want to miss any products that might be important to you. Tell us what connected products you want reviewed in our holiday buyer’s guide and we’ll do our best to include them." %}</p>
<a href="https://forms.gle/UefDgjEU85Xwcf8C8" target="_blank" class="btn btn-secondary btn-recommend">{% trans "Submit a product" %}</a>
</div>
{% endblock %}
160 changes: 102 additions & 58 deletions network-api/networkapi/buyersguide/templates/about/how_to_use.html

Large diffs are not rendered by default.

166 changes: 124 additions & 42 deletions network-api/networkapi/buyersguide/templates/about/methodology.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,85 +1,134 @@
{% extends "../bg_about.html" %}

{% load i18n %}

{% block main_about_class %}{% endblock %}

{% block about_guts %}
<h1 class="h2-heading mb-4">
Minimum Security Standards Explained
{% trans "Minimum Security Standards Explained" %}
</h1>

<div class="minimum-security-explained-intro">
<p class="body">
Despite growing concerns about the safety and security of internet-connected devices, many companies still build and sell connected products that are insecure. Take the <a href="https://www.npr.org/sections/thetwo-way/2018/06/05/617196788/s-c-mom-says-baby-monitor-was-hacked-experts-say-many-devices-are-vulnerable">FREDI wireless baby camera monitor</a>, for instance, which has been repeatedly hacked. Further, many companies don’t provide clear information about the data privacy of the devices they sell. Is your personal data being used in ways you may not have anticipated or expected?
{% blocktrans with npr="https://www.npr.org/sections/thetwo-way/2018/06/05/617196788/s-c-mom-says-baby-monitor-was-hacked-experts-say-many-devices-are-vulnerable" trimmed %}
Despite growing concerns about the safety and security of internet-connected devices, many companies still build
and sell connected products that are insecure. Take the <a href="{{npr}}">FREDI wireless baby camera monitor</a>,
for instance, which has been repeatedly hacked. Further, many companies don’t provide clear information about the
data privacy of the devices they sell. Is your personal data being used in ways you may not have anticipated or
expected?
{% endblocktrans %}
</p>

<p class="body">
In 2018,
<a href="https://foundation.mozilla.org/en/">Mozilla</a>,
<a href="https://www.consumersinternational.org/">Consumers International</a>, and the
<a href="https://www.internetsociety.org/">Internet Society</a>,
decided to take a more proactive approach to these gaps. We believe that industry should start talking about what some of the initial ‘red lines’ are in this space, and should phase out practices that lead to the most egregious failings in connected devices.
{% blocktrans with mozilla="https://foundation.mozilla.org/" ci="https://www.consumersinternational.org/" isoc="https://www.internetsociety.org/" trimmed %}
In 2018, <a href="{{mozilla}}">Mozilla</a>, <a href="{{ci}}">Consumers International</a>, and the
<a href="{{isoc}}">Internet Society</a>, decided to take a more proactive approach to these gaps. We believe that
industry should start talking about what some of the initial ‘red lines’ are in this space, and should phase out
practices that lead to the most egregious failings in connected devices.
{% endblocktrans %}
</p>

<p class="body">
Together, the three organizations proposed five minimum standards that companies making connected devices should reasonably be expected to satisfy.
{% blocktrans trimmed %}
Together, the three organizations proposed five minimum standards that companies making connected devices should
reasonably be expected to satisfy.
{% endblocktrans %}
</p>
</div>

<div class="mt-5 mb-4 minimum-security-standards">
<h3>
Minimum Security Standards
{% trans "Minimum Security Standards" %}
</h3>

<section aria-labelledby="encryption">
<p id="encryption"><b>Encryption</b></p>
<p id="encryption"><b>{% trans "Encryption" %}</b></p>
<p class="body">
The product must use encryption for all of its network communications functions and capabilities. This ensures that all communications are not eavesdropped or modified in transit. The product must also use encryption at rest to ensure that customer data is protected in storage.
{% blocktrans trimmed %}
The product must use encryption for all of its network communications functions and capabilities. This ensures
that all communications are not eavesdropped or modified in transit. The product must also use encryption at
rest to ensure that customer data is protected in storage.
{% endblocktrans %}
</p>
</section>

<section aria-labelledby="security-updates" aria-describedby="security-updates-footnote">
<p id="security-updates"><b>Security updates [1]</b></p>
<p id="security-updates"><b>{% trans "Security updates [1]" %}</b></p>
<p class="body">
The product must support automatic updates for a reasonable period after sale, and be enabled by default. This ensures that when a vulnerability is known, the vendor can make security updates available for consumers, which are verified and then installed seamlessly. Updates must not make the product unavailable for an extended period.
{% blocktrans trimmed %}
The product must support automatic updates for a reasonable period after sale, and be enabled by default. This
ensures that when a vulnerability is known, the vendor can make security updates available for consumers, which
are verified and then installed seamlessly. Updates must not make the product unavailable for an extended period.
{% endblocktrans %}
</p>
</section>

<section aria-labelledby="strong-passwords"
aria-describedby="strong-passwords-footnote">
<p id="strong-passwords"><b>Strong passwords [2]</b></p>
<p id="strong-passwords"><b>{% trans "Strong passwords [2]" %}</b></p>
<p class="body">
If the product uses passwords for remote authentication, it must require that strong passwords are used, including having password strength requirements. Any non-unique default passwords must also be reset as part of the device’s initial setup. This helps protect the device from vulnerability to guessable password attacks, which could result in a compromised device.
{% blocktrans trimmed %}
If the product uses passwords for remote authentication, it must require that strong passwords are used,
including having password strength requirements. Any non-unique default passwords must also be reset as part of
the device’s initial setup. This helps protect the device from vulnerability to guessable password attacks,
which could result in a compromised device.
{% endblocktrans %}
</p>
</section>

<section aria-labelledby="vulnerability-management">
<p id="vulnerability-management"><b>Vulnerability management</b></p>
<p id="vulnerability-management"><b>{% trans "Vulnerability management" %}</b></p>
<p class="body">
The vendor must have a system in place to manage vulnerabilities in the product. This must also include a point of contact for reporting vulnerabilities or an equivalent bug bounty program. This ensures that vendors are actively managing vulnerabilities throughout the product’s lifecycle.
{% blocktrans trimmed %}
The vendor must have a system in place to manage vulnerabilities in the product. This must also include a point
of contact for reporting vulnerabilities or an equivalent bug bounty program. This ensures that vendors are
actively managing vulnerabilities throughout the product’s lifecycle.
{% endblocktrans %}
</p>
</section>

<section aria-labelledby="privacy-practices" aria-describedby="privacy-practices-footnote">
<p id="privacy-practices"><b>Privacy Practices [3]</b></p>
<p id="privacy-practices"><b>{% trans "Privacy Practices [3]" %}</b></p>
<p class="body">
The product must have privacy information that applies specifically to the device, not a generic privacy policy that is written to cover just the company web properties.
{% blocktrans trimmed %}
The product must have privacy information that applies specifically to the device, not a generic privacy policy
that is written to cover just the company web properties.
{% endblocktrans %}
</p>
</section>
</div>

<div class="minimum-security-footnotes mt-5">
<p id="security-updates-footnote">
<em><b>[1]</b> Automatic updates are critical to creating a secure product ecosystem. Nonetheless, we have heard concerns that automatic updates can also be used in ways that are adversarial towards users. These standards are not intended in any way to encourage or condone the use of update mechanisms to push software that would weaken the privacy properties of products or modify security or privacy settings in ways that are inconsistent with users’ choices and expectations.
<em>
{% blocktrans trimmed %}
<b>[1]</b> Automatic updates are critical to creating a secure product ecosystem. Nonetheless, we have heard
concerns that automatic updates can also be used in ways that are adversarial towards users. These standards are
not intended in any way to encourage or condone the use of update mechanisms to push software that would weaken
the privacy properties of products or modify security or privacy settings in ways that are inconsistent with
users’ choices and expectations.
{% endblocktrans %}
</em>
</p>

<p id="strong-passwords-footnote">
<em><b>[2]</b> These standards are also not intended to require that all devices have a password. It is intended for devices that use passwords for remote authentication, rather than devices that are in hand. For instance, many connected devices use secure methods for Bluetooth authentication that does not involve passwords.
<em>
{% blocktrans trimmed %}
<b>[2]</b> These standards are also not intended to require that all devices have a password. It is intended for
devices that use passwords for remote authentication, rather than devices that are in hand. For instance, many
connected devices use secure methods for Bluetooth authentication that does not involve passwords.
{% endblocktrans %}
</em>
</p>

<p id="privacy-practices-footnote">
<em><b>[3]</b> In the Mozilla *Privacy Not Included Buyer’s Guide, we evaluate additional privacy considerations including how data is shared with third parties, whether data can be deleted, and the readability of the privacy information.
<em>
{% blocktrans trimmed %}
<b>[3]</b> In the Mozilla *Privacy Not Included Buyer’s Guide, we evaluate additional privacy considerations
including how data is shared with third parties, whether data can be deleted, and the readability of the privacy
information.
{% endblocktrans %}
</em>
</p>
</div>
Expand Down
26 changes: 18 additions & 8 deletions network-api/networkapi/buyersguide/templates/about/press.html
Original file line number Diff line number Diff line change
@@ -1,47 +1,57 @@
{% extends "../bg_about.html" %}

{% load i18n %}

{% block main_about_class %}short-content{% endblock %}

{% block about_guts %}
<h1 class="h2-heading">
Press
{% trans "Press" %}
</h1>

<p>If you're a member of the press interested in learning more about *Privacy Not Included, please email Kevin Zawacki at <a href="mailto:kevin@mozillafoundation.org">kevin@mozillafoundation.org</a>. Below, peruse past coverage of *Privacy Not Included:</p>
<p>
{% blocktrans with name="Kevin Zawacki" email="kevin@mozillafoundation.org" trimmed %}
If you’re a member of the press interested in learning more about *Privacy Not Included, please email {{name}}
at <a href="mailto:{{email}}">{{email}}</a>. Below, peruse past coverage of *Privacy Not Included:
{% endblocktrans %}
</p>

<ul class="about-press-list">
<li>2018 | WIRED:
<li>2018 | WIRED:
<a href="https://www.wired.com/story/mozilla-privacy-not-included-internet-connected-toys/">
Mozilla Makes a Naughty List of Gifts That Aren't Secure
</a>
</li>

<li>2018 | NPR:
<li>2018 | NPR:
<a href="https://www.npr.org/2018/12/01/672511667/a-tech-foundation-discusses-security-and-privacy-when-it-comes-to-smart-devices">
A Tech Foundation Discusses Security And Privacy When It Comes To Smart Devices
</a>
</li>

<li>2018 | USA Today:
<li>2018 | USA Today:
<a href="https://eu.usatoday.com/story/tech/columnist/2018/11/23/top-tech-gifts-privacy-may-not-included/2059892002/">
Looking at top tech toys and tools for the holidays? For many, privacy may not be included
</a>
</li>

<li>2017 | New York Times:
<li>2017 | New York Times:
<a href="https://www.nytimes.com/2017/12/08/opinion/holiday-gifts-toys-spying.html">
Don’t Give Kids Holiday Gifts That Can Spy on Them
</a>
</li>

<li>2017 | ABC San Francisco:
<li>2017 | ABC San Francisco:
<a href="http://abc7news.com/technology/your-privacy-may-be-at-risk-with-some-toys-gadgets/2827339/">
Your privacy may be at risk with some toys, gadgets
</a>
</li>
</ul>

<p>
Seeking more background? Mozilla’s Internet Health Report have created a brief companion piece to our guide called <a href="https://foundation.mozilla.org/en/privacy-included/" target="_blank">*Privacy Included: Rethinking the Smart Home</a>.
{% blocktrans with link_args='href="https://foundation.mozilla.org/privacy-included/" target="_blank"' trimmed %}
Seeking more background? Mozilla’s Internet Health Report have created a brief companion piece to our guide
called <a {{link_args}}>*Privacy Included: Rethinking the Smart Home</a>.
{% endblocktrans %}
</p>
{% endblock %}
Loading

0 comments on commit 6f070b1

Please sign in to comment.