mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
More punctuation and minor errors changed
This commit is contained in:
parent
841439ba73
commit
fad7448417
@ -49,7 +49,7 @@ class ConfigurationForm(forms.Form):
|
|||||||
label=ugettext_lazy('Server domain'), required=False,
|
label=ugettext_lazy('Server domain'), required=False,
|
||||||
help_text=\
|
help_text=\
|
||||||
ugettext_lazy('Select your pagekite server. Set "pagekite.net" to use '
|
ugettext_lazy('Select your pagekite server. Set "pagekite.net" to use '
|
||||||
'the default pagekite.net server'),
|
'the default pagekite.net server.'),
|
||||||
widget=forms.TextInput())
|
widget=forms.TextInput())
|
||||||
server_port = forms.IntegerField(
|
server_port = forms.IntegerField(
|
||||||
label=ugettext_lazy('Server port'), required=False,
|
label=ugettext_lazy('Server port'), required=False,
|
||||||
@ -65,7 +65,7 @@ class ConfigurationForm(forms.Form):
|
|||||||
label=ugettext_lazy('Kite secret'),
|
label=ugettext_lazy('Kite secret'),
|
||||||
help_text=\
|
help_text=\
|
||||||
ugettext_lazy('A secret associated with the kite or the default secret '
|
ugettext_lazy('A secret associated with the kite or the default secret '
|
||||||
'for your account if no secret is set on the kite'))
|
'for your account if no secret is set on the kite.'))
|
||||||
|
|
||||||
def save(self, request):
|
def save(self, request):
|
||||||
"""Save the form on submission after validation."""
|
"""Save the form on submission after validation."""
|
||||||
|
|||||||
@ -37,7 +37,7 @@ default directory, ensure that the new directory exists and is writable by \
|
|||||||
|
|
||||||
rpc_username = forms.CharField(
|
rpc_username = forms.CharField(
|
||||||
label=_('Username'),
|
label=_('Username'),
|
||||||
help_text=_('Username to login to the web interface'))
|
help_text=_('Username to login to the web interface.'))
|
||||||
|
|
||||||
rpc_password = forms.CharField(
|
rpc_password = forms.CharField(
|
||||||
label=_('Password'),
|
label=_('Password'),
|
||||||
|
|||||||
@ -47,7 +47,7 @@
|
|||||||
{% trans "Transmission daemon is running" %}
|
{% trans "Transmission daemon is running" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class='running-status inactive'></span>
|
<span class='running-status inactive'></span>
|
||||||
{% trans "Transmission daemon is not running" %}
|
{% trans "Transmission daemon is not running." %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@ -260,7 +260,7 @@ def _should_show_install_view(request, package_names):
|
|||||||
exception = transaction.collect_result()
|
exception = transaction.collect_result()
|
||||||
if not exception:
|
if not exception:
|
||||||
messages.success(request,
|
messages.success(request,
|
||||||
_('Installed and configured packages successfully'))
|
_('Installed and configured packages successfully.'))
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
error_string = getattr(exception, 'error_string', str(exception))
|
error_string = getattr(exception, 'error_string', str(exception))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user