Internationalize strings in template files

This commit is contained in:
Sunil Mohan Adapa committed 2015-11-13 22:02:17 +05:30
1 parent 139db064a9
commit 02cd89b60d
64 files changed
+1331 -815

No files matched your search

+49 -28
View File
@@ -19,41 +19,62 @@
#
{% endcomment %}
{% load i18n %}
{% block content %}
<img src="{% static 'theme/img/freedombox-logo-250px.png' %}"
class="main-graphic" />
<img src="{% static 'theme/img/freedombox-logo-250px.png' %}"
class="main-graphic" />
<p>FreedomBox is a community project to develop, design and promote
personal servers running free software for private, personal
communications. It is a networking appliance designed to allow
interfacing with the rest of the Internet under conditions of
protected privacy and data security. It hosts applications such as
blog, wiki, website, social network, email, web proxy and a Tor relay
on a device that can replace your Wi-Fi router so that your data stays
with you.</p>
<p>
{% blocktrans trimmed %}
FreedomBox is a community project to develop, design and promote
personal servers running free software for private, personal
communications. It is a networking appliance designed to allow
interfacing with the rest of the Internet under conditions of
protected privacy and data security. It hosts applications such
as blog, wiki, website, social network, email, web proxy and a
Tor relay on a device that can replace your Wi-Fi router so that
your data stays with you.
{% endblocktrans %}
</p>
<p>We live in a world where our use of the network is mediated by
those who often do not have our best interests at heart. By building
software that does not rely on a central service, we can regain
control and privacy. By keeping our data in our homes, we gain useful
legal protections over it. By giving back power to the users over
their networks and machines, we are returning the Internet to its
intended peer-to-peer architecture.</p>
<p>
{% blocktrans trimmed %}
We live in a world where our use of the network is mediated by
those who often do not have our best interests at heart. By
building software that does not rely on a central service, we
can regain control and privacy. By keeping our data in our
homes, we gain useful legal protections over it. By giving back
power to the users over their networks and machines, we are
returning the Internet to its intended peer-to-peer
architecture.
{% endblocktrans %}
</p>
<p>There are a number of projects working to realize a future of
distributed services; FreedomBox aims to bring them all together in a
convenient package.</p>
<p>
{% blocktrans trimmed %}
There are a number of projects working to realize a future of
distributed services; FreedomBox aims to bring them all together
in a convenient package.
{% endblocktrans %}
</p>
<p>For more information about the FreedomBox project, see the
<a href="https://wiki.debian.org/FreedomBox">FreedomBox Wiki</a>.</p>
<p>
{% blocktrans trimmed %}
For more information about the FreedomBox project, see the
<a href="https://wiki.debian.org/FreedomBox">FreedomBox Wiki</a>.
{% endblocktrans %}
</p>
<p><a class="btn btn-primary btn-lg"
href="https://wiki.debian.org/FreedomBox" target="_blank">Learn more
&raquo;</a></p>
<p><a class="btn btn-primary btn-lg"
href="https://wiki.debian.org/FreedomBox"
target="_blank">{% trans "Learn more &raquo;" %}</a></p>
<p style='margin-top:30px'>
You are running Plinth version {{ version }}.
</p>
<p style='margin-top:30px'>
{% blocktrans trimmed %}
You are running Plinth version {{ version }}.
{% endblocktrans %}
</p>
{% endblock %}
+31 -13
View File
@@ -18,24 +18,42 @@
#
{% endcomment %}
{% load i18n %}
{% block content %}
<h2>Help</h2>
<h2>{% trans "Help" %}</h2>
<p>The <a href={% url 'help:manual' %}>FreedomBox Manual</a> is the
best place to start for information regarding {{ cfg.box_name }}.</p>
<p>
{% url 'help:manual' as manual_url %}
{% blocktrans trimmed %}
The <a href="{{ manual_url }}">FreedomBox Manual</a> is the
best place to start for information regarding {{ cfg.box_name }}.
{% endblocktrans %}
</p>
<p><a href="http://wiki.debian.org/FreedomBox"
target="_blank">FreedomBox project wiki </a> contains further
information.</p>
<p>
{% blocktrans trimmed %}
<a href="http://wiki.debian.org/FreedomBox" target="_blank">
FreedomBox project wiki </a> contains further information.
{% endblocktrans %}
</p>
<p>To seek help from FreedomBox community, queries may be posted on
the
<a href="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">
mailing list</a>. The list archives also contain information about
problems faced by other users and possible solutions.</p>
<p>
{% blocktrans trimmed %}
To seek help from FreedomBox community, queries may be posted on
the
<a href="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">
mailing list</a>. The list archives also contain information
about problems faced by other users and possible solutions.
{% endblocktrans %}
</p>
<p>Many FreedomBox contributors and users are also available on the
#freedombox channel of the irc.oftc.net IRC network.</p>
<p>
{% blocktrans trimmed %}
Many FreedomBox contributors and users are also available on the
#freedombox channel of the irc.oftc.net IRC network.
{% endblocktrans %}
</p>
{% endblock %}
@@ -18,6 +18,8 @@
#
{% endcomment %}
{% load i18n %}
{% block page_head %}
<style type="text/css">
dd {
@@ -29,4 +31,3 @@
{% block content %}
{{ content|safe }}
{% endblock %}