mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Internationalize strings in template files
This commit is contained in:
1 parent
139db064a9
commit
02cd89b60d
64 files changed
+1331
-815
No files matched your search
@@ -19,42 +19,55 @@
|
||||
{% endcomment %}
|
||||
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2>Web Proxy (Privoxy)</h2>
|
||||
<h2>{% trans "Web Proxy (Privoxy)" %}</h2>
|
||||
|
||||
<p>Privoxy is a non-caching web proxy with advanced filtering
|
||||
capabilities for enhancing privacy, modifying web page data and HTTP
|
||||
headers, controlling access, and removing ads and other obnoxious
|
||||
Internet junk.</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
Privoxy is a non-caching web proxy with advanced filtering
|
||||
capabilities for enhancing privacy, modifying web page data and
|
||||
HTTP headers, controlling access, and removing ads and other
|
||||
obnoxious Internet junk.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>You can use Privoxy by modifying your browser proxy settings to
|
||||
your {{ cfg.box_name }} hostname (or IP address) with port 8118.
|
||||
While using Privoxy, you can see its configuration details and
|
||||
documentation
|
||||
at <a href="http://config.privoxy.org">http://config.privoxy.org/</a>
|
||||
or <a href="http://p.p">http://p.p</a></p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
You can use Privoxy by modifying your browser proxy settings to
|
||||
your {{ cfg.box_name }} hostname (or IP address) with port 8118.
|
||||
While using Privoxy, you can see its configuration details and
|
||||
documentation at
|
||||
<a href="http://config.privoxy.org">http://config.privoxy.org/</a>
|
||||
or <a href="http://p.p">http://p.p</a>
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<h3>Status</h3>
|
||||
<h3>{% trans "Status" %}</h3>
|
||||
|
||||
<p class="running-status-parent">
|
||||
{% if status.is_running %}
|
||||
<span class="running-status active"></span> Privoxy is running
|
||||
{% else %}
|
||||
<span class="running-status inactive"></span> Privoxy is not running
|
||||
{% endif %}
|
||||
</p>
|
||||
{% include "diagnostics_button.html" with module="privoxy" %}
|
||||
<p class="running-status-parent">
|
||||
{% if status.is_running %}
|
||||
<span class="running-status active"></span>
|
||||
{% trans "Privoxy is running" %}
|
||||
{% else %}
|
||||
<span class="running-status inactive"></span>
|
||||
{% trans "Privoxy is not running" %}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<h3>Configuration</h3>
|
||||
{% include "diagnostics_button.html" with module="privoxy" %}
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
<h3>{% trans "Configuration" %}</h3>
|
||||
|
||||
{{ form|bootstrap }}
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
<input type="submit" class="btn btn-primary" value="Update setup"/>
|
||||
</form>
|
||||
{{ form|bootstrap }}
|
||||
|
||||
<input type="submit" class="btn btn-primary"
|
||||
value="{% trans "Update setup" %}"/>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user