mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Various message fixes
- Capitalize 'Internet' to make it consistent across Plinth. See: https://en.wikipedia.org/wiki/Capitalization_of_%22Internet%22 - Other minor fixes
This commit is contained in:
parent
c3c44ab379
commit
a51c784457
@ -32,15 +32,15 @@ title = _('Dynamic DNS Client')
|
|||||||
|
|
||||||
description = [
|
description = [
|
||||||
format_lazy(
|
format_lazy(
|
||||||
_('If your internet provider changes your IP address periodically '
|
_('If your Internet provider changes your IP address periodically '
|
||||||
'(i.e. every 24h), it may be hard for others to find you on the '
|
'(i.e. every 24h), it may be hard for others to find you on the '
|
||||||
'internet. This will prevent others from finding services which are '
|
'Internet. This will prevent others from finding services which are '
|
||||||
'provided by this {box_name}.'),
|
'provided by this {box_name}.'),
|
||||||
box_name=_(cfg.box_name)),
|
box_name=_(cfg.box_name)),
|
||||||
|
|
||||||
_('The solution is to assign a DNS name to your IP address and '
|
_('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 '
|
'update the DNS name every time your IP is changed by your '
|
||||||
'internet provider. Dynamic DNS allows you to push your current '
|
'Internet provider. Dynamic DNS allows you to push your current '
|
||||||
'public IP address to a '
|
'public IP address to a '
|
||||||
'<a href=\'http://gnudip2.sourceforge.net/\' target=\'_blank\'> '
|
'<a href=\'http://gnudip2.sourceforge.net/\' target=\'_blank\'> '
|
||||||
'GnuDIP</a> server. Afterwards, the server will assign your DNS name '
|
'GnuDIP</a> server. Afterwards, the server will assign your DNS name '
|
||||||
|
|||||||
@ -176,13 +176,16 @@ class ConfigureForm(forms.Form):
|
|||||||
# Check if gnudip server or update URL is filled
|
# Check if gnudip server or update URL is filled
|
||||||
if not dynamicdns_update_url and not dynamicdns_server:
|
if not dynamicdns_update_url and not dynamicdns_server:
|
||||||
raise forms.ValidationError(
|
raise forms.ValidationError(
|
||||||
_('Please provide update URL or a GnuDIP server'))
|
_('Please provide an update URL or a GnuDIP server '
|
||||||
|
'address'))
|
||||||
|
|
||||||
if dynamicdns_server and not dynamicdns_user:
|
if dynamicdns_server and not dynamicdns_user:
|
||||||
raise forms.ValidationError(_('Please provide GnuDIP username'))
|
raise forms.ValidationError(
|
||||||
|
_('Please provide a GnuDIP username'))
|
||||||
|
|
||||||
if dynamicdns_server and not dynamicdns_domain:
|
if dynamicdns_server and not dynamicdns_domain:
|
||||||
raise forms.ValidationError(_('Please provide GnuDIP domain'))
|
raise forms.ValidationError(
|
||||||
|
_('Please provide a GnuDIP domain name'))
|
||||||
|
|
||||||
# Check if a password was set before or a password is set now
|
# Check if a password was set before or a password is set now
|
||||||
if dynamicdns_server and \
|
if dynamicdns_server and \
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if no_nat %}
|
{% if no_nat %}
|
||||||
{% trans "Direct connection to the internet." %}
|
{% trans "Direct connection to the Internet." %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed %}
|
||||||
Behind NAT. This means that Dynamic DNS service will poll
|
Behind NAT. This means that Dynamic DNS service will poll
|
||||||
|
|||||||
@ -87,7 +87,7 @@ def show(request, uuid):
|
|||||||
device, connection_status['wireless']['ssid'])
|
device, connection_status['wireless']['ssid'])
|
||||||
|
|
||||||
return TemplateResponse(request, 'connection_show.html',
|
return TemplateResponse(request, 'connection_show.html',
|
||||||
{'title': _('Show Connection Information'),
|
{'title': _('Connection Information'),
|
||||||
'subsubmenu': subsubmenu,
|
'subsubmenu': subsubmenu,
|
||||||
'connection': connection_status,
|
'connection': connection_status,
|
||||||
'active_connection': active_connection_status,
|
'active_connection': active_connection_status,
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
<p>
|
<p>
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed %}
|
||||||
Published services are accessible and attackable from the evil
|
Published services are accessible and attackable from the evil
|
||||||
internet.
|
Internet.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user