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
@@ -18,29 +18,50 @@
|
||||
#
|
||||
{% endcomment %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h2>DynamicDNS client</h2>
|
||||
<p>If your internet provider changes your IP address periodic (i.e. every 24h)
|
||||
it may be hard for others to find you in the WEB. And for this reason nobody
|
||||
may find the services which are provided by FreedomBox (like your ownCloud).
|
||||
</br> </br>
|
||||
The solution is to assign a DNS name to your IP address and update the DNS
|
||||
name every time your IP is changed by your Internet provider. Dynamic DNS
|
||||
allows you to push your current public IP address to an
|
||||
<a href='http://gnudip2.sourceforge.net/' target='_blank'> gnudip </a>
|
||||
server. Afterwards the Server will assign your DNS name with the new IP
|
||||
and if someone from the internet asks for your DNS name he will get your
|
||||
current IP answered.
|
||||
</br> </br>
|
||||
If you are looking for a free dynamic DNS account, you may find a free
|
||||
GnuDIP service at <a href='http://gnudip.datasystems24.net'
|
||||
target='_blank'>gnudip.datasystems24.net</a> or you may find free update
|
||||
URL based services on
|
||||
<a href='http://freedns.afraid.org/' target='_blank'>
|
||||
freedns.afraid.org</a>
|
||||
</br> </br>
|
||||
If your freedombox is connected behind some NAT router, don't forget
|
||||
to add portforwarding (i.e. forward some standard ports like 80 and 443)
|
||||
to your freedombox device.
|
||||
</p>
|
||||
|
||||
<h2>{% trans "DynamicDNS client" %}</h2>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
If your internet provider changes your IP address periodic
|
||||
(i.e. every 24h) it may be hard for others to find you in the
|
||||
WEB. And for this reason nobody may find the services which are
|
||||
provided by FreedomBox (like your ownCloud).
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
The solution is to assign a DNS name to your IP address and
|
||||
update the DNS name every time your IP is changed by your
|
||||
Internet provider. Dynamic DNS allows you to push your current
|
||||
public IP address to an
|
||||
<a href='http://gnudip2.sourceforge.net/' target='_blank'> gnudip </a>
|
||||
server. Afterwards the Server will assign your DNS name with the
|
||||
new IP and if someone from the internet asks for your DNS name
|
||||
he will get your current IP answered.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
If you are looking for a free dynamic DNS account, you may find
|
||||
a free GnuDIP service at <a href='http://gnudip.datasystems24.net'
|
||||
target='_blank'>gnudip.datasystems24.net</a> or you may find
|
||||
free update URL based services on
|
||||
<a href='http://freedns.afraid.org/' target='_blank'>
|
||||
freedns.afraid.org</a>
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
If your freedombox is connected behind some NAT router, don't forget
|
||||
to add portforwarding (i.e. forward some standard ports like 80 and 443)
|
||||
to your freedombox device.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{% endblock %}
|
||||
@@ -19,22 +19,25 @@
|
||||
{% endcomment %}
|
||||
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
<noscript>
|
||||
You have disabled Javascript. Dynamic form mode is disabled and
|
||||
some helper functions may not work <br>
|
||||
(but the main functionality should work)
|
||||
<br><hr>
|
||||
{% blocktrans trimmed %}
|
||||
You have disabled Javascript. Dynamic form mode is disabled
|
||||
and some helper functions may not work (but the main
|
||||
functionality should work).
|
||||
{% endblocktrans %}
|
||||
</noscript>
|
||||
|
||||
{{ form|bootstrap }}
|
||||
|
||||
<input type="submit" class="btn btn-primary" value="Update setup"/>
|
||||
|
||||
<input type="submit" class="btn btn-primary"
|
||||
value="{% trans "Update setup" %}"/>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -18,25 +18,35 @@
|
||||
#
|
||||
{% endcomment %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>{% trans "NAT type" %}</h3>
|
||||
|
||||
<p>
|
||||
<h3>NAT type</h3>
|
||||
{% if nat_unchecked %}
|
||||
NAT type not detected yet, if you do not provide a "IP check URL" we will
|
||||
not detect a NAT type.
|
||||
{% else %}
|
||||
{% if no_nat %}
|
||||
Direct connection to the internet.
|
||||
{% if nat_unchecked %}
|
||||
{% blocktrans trimmed %}
|
||||
NAT type not detected yet, if you do not provide a "IP check
|
||||
URL" we will not detect a NAT type.
|
||||
{% endblocktrans %}
|
||||
{% else %}
|
||||
Behind NAT, this means that dynamic DNS service will poll the
|
||||
"IP check URL" for changes (we need the "IP check URL" for this reason
|
||||
- otherwise we will not detect IP changes).
|
||||
It may take up to {{ timer }} minutes until we update your DNS entry in
|
||||
case of WAN IP change.
|
||||
{% if no_nat %}
|
||||
{% trans "Direct connection to the internet." %}
|
||||
{% else %}
|
||||
{% blocktrans trimmed %}
|
||||
Behind NAT, this means that dynamic DNS service will poll
|
||||
the "IP check URL" for changes (we need the "IP check URL"
|
||||
for this reason - otherwise we will not detect IP changes).
|
||||
It may take up to {{ timer }} minutes until we update your
|
||||
DNS entry in case of WAN IP change.
|
||||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<h3>Last update</h3>
|
||||
{{ last_update }}
|
||||
</p>
|
||||
|
||||
<h3>{% trans "Last update" %}</h3>
|
||||
|
||||
<p>{{ last_update }}</p>
|
||||
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user