forked from I2P_Developers/i2p.www
Added translation tags to index page and global includes
This commit is contained in:
@ -1,21 +1,13 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title -%}
|
||||
{% if g.lang == 'de' %}
|
||||
Nicht gefunden
|
||||
{% elif g.lang == 'zh' %}
|
||||
未找到
|
||||
{% else %}
|
||||
{% trans -%}
|
||||
Not found
|
||||
{% endif %}
|
||||
{%- endtrans %}
|
||||
{%- endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if g.lang == 'de' %}
|
||||
Yep... die Information nach der du suchst, nennt sich anders, existiert nicht oder wurde entfernt.
|
||||
{% elif g.lang == 'zh' %}
|
||||
您搜索的页面或资源的名称不正确或不存在或已被删除。
|
||||
{% else %}
|
||||
{% trans -%}
|
||||
Yep... the resource, you were searching for, is named differently, doesn't exist or was removed.
|
||||
{% endif %}
|
||||
{%- endtrans %}
|
||||
|
||||
{% endblock %}
|
||||
|
@ -1,8 +1,12 @@
|
||||
{% extends "global/layout.html" %}
|
||||
{% block title -%}
|
||||
{% trans -%}
|
||||
Server error
|
||||
{%- endtrans %}
|
||||
{%- endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% trans -%}
|
||||
Umm... the server encountered some sort of error.
|
||||
{%- endtrans %}
|
||||
{% endblock %}
|
||||
|
@ -1,19 +1,19 @@
|
||||
<div class='aside first'>
|
||||
<h1>News</h1>
|
||||
<h1>{{ _('News') }}</h1>
|
||||
<ul>
|
||||
<li><a href="{{ url_for('blog_index', lang=g.lang) }}">Announcements</a></li>
|
||||
<li><a href="{{ url_for('meetings_index', lang=g.lang) }}">Meetings</a></li>
|
||||
<li><a href="{{ url_for('blog_index', lang=g.lang) }}">{{ _('Blog') }}</a></li>
|
||||
<li><a href="{{ url_for('meetings_index', lang=g.lang) }}">{{ _('Meetings') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='aside second'>
|
||||
<h1>About I2P</h1>
|
||||
<h1>{{ _('About I2P') }}</h1>
|
||||
<ul>
|
||||
<li><a href="team.html">I2P Team</a></li>
|
||||
<li><a href="halloffame.html">Hall of Fame</a></li>
|
||||
<li><a href="team.html">{{ _('I2P Team') }}</a></li>
|
||||
<li><a href="halloffame.html">{{ _('Hall of Fame') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='aside third'>
|
||||
<h1>Mirrors</h1>
|
||||
<h1>{{ _('Mirrors') }}</h1>
|
||||
<ul>
|
||||
<li><a rel="nofollow" href="http://i2pproject.net/">http://i2pproject.net</a></li>
|
||||
<li><a rel="nofollow" href="http://i2p.us/">http://i2p.us</a></li>
|
||||
@ -21,20 +21,20 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class='aside fourth'>
|
||||
<h1>Secure</h1>
|
||||
<h1>{{ _('Secure') }}</h1>
|
||||
<ul>
|
||||
<li><a rel="nofollow" href="https://www.i2p2.de/">https://www.i2p2.de</a></li>
|
||||
<li><a rel="nofollow" href="https://i2p.us/">https://i2p.us</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='aside fifth'>
|
||||
<h1>Misc.</h1>
|
||||
<h1>{{ _('Misc.') }}</h1>
|
||||
<ul>
|
||||
<li><a href="http://syndie.i2p2.de/">Syndie</a></li>
|
||||
<li><a href="links.html">Links</a></li>
|
||||
<li><a href="impressum.html">Impressum</a></li>
|
||||
<li><a href="links.html">{{ _('Links') }}</a></li>
|
||||
<li><a href="impressum.html">{{ _('Impressum') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='aside sixth'>
|
||||
<a class='button' href="{{ site_url('volunteer/donate') }}">Donate</a>
|
||||
<a class='button' href="{{ site_url('volunteer/donate') }}">{{ _('Donate') }}</a>
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<meta name="robots" content="NOODP" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="hide"><a href="#content" title="Skip navigation" accesskey="2">Skip navigation</a></div>
|
||||
<div class="hide"><a href="#content" title="Skip navigation" accesskey="2">{{ _('Skip navigation') }}</a></div>
|
||||
<div id="branding">
|
||||
<h1 id="logo"><a href="{{ site_url() }}"><img src="{{ url_for('static', filename='images/logo_medium.png') }}" alt="I2P" /></a></h1>
|
||||
<div class="title">{{ self.title() }}</div>
|
||||
|
@ -1,41 +1,41 @@
|
||||
<div id="cssmenu">
|
||||
<ul>
|
||||
<li><a href="{{ site_url() }}"><span>Home</span></a></li>
|
||||
<li><a href="{{ url_for('downloads_list', lang=g.lang) }}"><span>Download</span></a></li>
|
||||
<li class="has-sub"><a href="#"><span>Docs</span></a>
|
||||
<li><a href="{{ site_url() }}"><span>{{ _('Home') }}</span></a></li>
|
||||
<li><a href="{{ url_for('downloads_list', lang=g.lang) }}"><span>{{ _('Download') }}</span></a></li>
|
||||
<li class="has-sub"><a href="#"><span>{{ _('Docs') }}</span></a>
|
||||
<ul>
|
||||
<li class="has-sub"><a href="{{ site_url('docs/how') }}"><span>How does it work?</span></a>
|
||||
<li class="has-sub"><a href="{{ site_url('docs/how') }}"><span>{{ _('How does it work?') }}</span></a>
|
||||
<ul>
|
||||
<li><a href="{{ site_url('docs/how/intro') }}"><span>Gentle intro</span></a></li>
|
||||
<li><a href="{{ site_url('docs/techintro') }}"><span>Tech intro</span></a></li>
|
||||
<li><a href="{{ site_url('docs/how/intro') }}"><span>{{ _('Gentle intro') }}</span></a></li>
|
||||
<li><a href="{{ site_url('docs/techintro') }}"><span>{{ _('Tech intro') }}</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="howto.html"><span>Howto docs</span></a></li>
|
||||
<li><a href="applications.html"><span>Applications</span></a></li>
|
||||
<li><a href="howto.html"><span>{{ _('Howto docs') }}</span></a></li>
|
||||
<li><a href="applications.html"><span>{{ _('Applications') }}</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub"><a href="#"><span>Support</span></a>
|
||||
<li class="has-sub"><a href="#"><span>{{ _('Support') }}</span></a>
|
||||
<ul>
|
||||
<li><a href="{{ site_url('support/faq') }}"><span>FAQ</span></a></li>
|
||||
<li><a href="http://forum.i2p2.de/"><span>Forums</span></a></li>
|
||||
<li><a href="{{ site_url('support/faq') }}"><span>{{ _('FAQ') }}</span></a></li>
|
||||
<li><a href="http://forum.i2p2.de/"><span>{{ _('Forums') }}</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub"><a href="#"><span>Develop</span></a>
|
||||
<li class="has-sub"><a href="#"><span>{{ _('Develop') }}</span></a>
|
||||
<ul>
|
||||
<li><a href="{{ site_url('develop/api') }}"><span>API</span></a></li>
|
||||
<li><a href="{{ site_url('develop/applications') }}"><span>Applications</span></a></li>
|
||||
<li><a href="{{ site_url('develop/licenses') }}"><span>Licenses</span></a></li>
|
||||
<li><a href="{{ site_url('develop/api') }}"><span>{{ _('API') }}</span></a></li>
|
||||
<li><a href="{{ site_url('develop/applications') }}"><span>{{ _('Applications') }}</span></a></li>
|
||||
<li><a href="{{ site_url('develop/licenses') }}"><span>{{ _('Licenses') }}</span></a></li>
|
||||
<li><a href="http://trac.i2p2.i2p/"><span>Trac</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub"><a href="{{ site_url('volunteer') }}"><span>Volunteer</span></a>
|
||||
<li class="has-sub"><a href="{{ site_url('volunteer') }}"><span>{{ _('Volunteer') }}</span></a>
|
||||
<ul>
|
||||
<li><a href="{{ site_url('volunteer/bounties') }}"><span>Bounties</span></a></li>
|
||||
<li><a href="roadmap.html"><span>Roadmap</span></a></li>
|
||||
<li><a href="todo.html"><span>Task list</span></a></li>
|
||||
<li><a href="{{ site_url('volunteer/bounties') }}"><span>{{ _('Bounties') }}</span></a></li>
|
||||
<li><a href="roadmap.html"><span>{{ _('Roadmap') }}</span></a></li>
|
||||
<li><a href="todo.html"><span>{{ _('Task list') }}</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-sub right"><a href="#"><span>Language</span></a>
|
||||
<li class="has-sub right"><a href="#"><span>{{ _('Language') }}</span></a>
|
||||
{% include "global/lang.html" %}
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -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 & 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>
|
||||
|
Reference in New Issue
Block a user