Added translation tags to index page and global includes

This commit is contained in:
str4d
2012-09-17 22:55:32 +00:00
parent 0eab5f512a
commit 715dc78038
6 changed files with 55 additions and 59 deletions

View File

@@ -1,26 +1,26 @@
{% extends "global/layout.html" %}
{% block title %}The Invisible Internet Project{% endblock %}
{% block title %}{% trans %}The Invisible Internet Project{% endtrans %}{% endblock %}
{% block content_outer %}
<div class="main">
<h1>What does I2P do for you?</h1>
<p>The I2P network provides strong privacy protections for communication over the Internet. Many activities that would risk your privacy on the public Internet can be conducted anonymously on I2P.</p>
<a class="get-i2p" href="{{ url_for('downloads_list', lang=g.lang) }}">Get I2P 0.9.1</a>
<h1>{% trans %}What does I2P do for you?{% endtrans %}</h1>
<p>{% trans %}The I2P network provides strong privacy protections for communication over the Internet. Many activities that would risk your privacy on the public Internet can be conducted anonymously on I2P.{% endtrans %}</p>
<a class="get-i2p" href="{{ url_for('downloads_list', lang=g.lang) }}">{% trans version='0.9.1' %}Get I2P {{ version }}{% endtrans %}</a>
</div>
<div class="aside-wrap">
<div class="aside">
<h1>Who Uses I2P?</h1>
<p>I2P is used by many people who care about their privacy, as well as those in high-risk situations such as:</p>
<h1>{% trans %}Who Uses I2P?{% endtrans %}</h1>
<p>{% trans %}I2P is used by many people who care about their privacy, as well as those in high-risk situations such as:{% endtrans %}</p>
<ul>
<li><a href='#'>Activists</a></li>
<li><a href='#'>Oppressed People</a></li>
<li><a href='#'>Journalists</a></li>
<li><a href='#'>Whistleblowers</a></li>
<li><a href='#'>The Privacy-Conscious</a></li>
<li><a href='#'>Ur Mom</a></li>
<li><a href='#'>{{ _('Activists') }}</a></li>
<li><a href='#'>{{ _('Oppressed People') }}</a></li>
<li><a href='#'>{{ _('Journalists') }}</a></li>
<li><a href='#'>{{ _('Whistleblowers') }}</a></li>
<li><a href='#'>{{ _('The Privacy-Conscious') }}</a></li>
<li><a href='#'>{{ _('Ur Mom') }}</a></li>
</ul>
</div>
<div class="aside">
<h1>Supported Software</h1>
<h1>{{ _('Supported Software') }}</h1>
<ul>
<li>
<a href="supported_applications_email.html">Email</a> Integrated web mail interface, plugin for serverless email.
@@ -49,7 +49,7 @@
</ul>
</div>
<div class="aside">
<h1>News & Updates</h1>
<h1>{% trans %}News &amp; Updates{% endtrans %}</h1>
<ul>
<li>2012-07-30 - <a href="release-0.9.1.html">I2P 0.9.1 Released</a></li>
<li>2012-05-02 - <a href="release-0.9.html">I2P 0.9 Released</a></li>