Commit fc9568b5 authored by Bedřich Košata's avatar Bedřich Košata

fix some typos in both eng and czech text

parent 4ecb8a2c
......@@ -97,8 +97,8 @@ class PasswordHandler(BaseConfigHandler):
# form definitions
pw_form = fapi.ForisForm("password", self.data)
pw_main = pw_form.add_section(name="set_password", title=_(self.userfriendly_title),
description=_("Set your password for this administation site."
" The password must be at least 6 charaters long."))
description=_("Set your password for this administration interface."
" The password must be at least 6 characters long."))
if self.change:
pw_main.add_field(Password, name="old_password", label=_("Old password"))
pw_main.add_field(Password, name="password", label=_("Password"), required=True,
......@@ -106,9 +106,9 @@ class PasswordHandler(BaseConfigHandler):
pw_main.add_field(Password, name="password_validation", label=_("Password (repeat)"),
required=True, validators=validators.EqualTo("password", "password_validation",
_("Passwords are not equal.")))
pw_main.add_field(Checkbox, name="set_system_pw", label=_("Use this password for advanced configuration"),
pw_main.add_field(Checkbox, name="set_system_pw", label=_("Use the same password for advanced configuration"),
hint=_("Same password would be used for accessing this administration "
"site, for root user in LuCI web interface and for SSH login. "
"interface, for root user in LuCI web interface and for SSH login. "
"Use a strong password! (If you choose not to set the password "
"for advanced configuration here, you will have the option to do "
"so later. Until then, the root account will be blocked.)"))
......@@ -510,7 +510,7 @@ class WifiHandler(BaseConfigHandler):
nuci_path="uci.wireless.@wifi-iface[0].key",
required=True,
validators=validators.ByteLenRange(8, 63),
hint=_("WPA2 preshared key, that is required to connect to the network. "
hint=_("WPA2 pre-shared key, that is required to connect to the network. "
"Minimum length is 8 characters."))\
.requires("wifi_enabled", True)
......
This diff is collapsed.
......@@ -19,7 +19,7 @@
<div id="page-dns" class="config-page">
<h2>{{ trans("DNS setup") }}</h2>
%include _messages
<p>{{ trans("Router Turris uses its own DNS resolver with DNSSEC support. It is capable of working alone or it can forward your DNS queris through your internet service provider's DNS resolver.") }}</p>
<p>{{ trans("Router Turris uses its own DNS resolver with DNSSEC support. It is capable of working alone or it can forward your DNS queries through your internet service provider's DNS resolver.") }}</p>
<p>{{ trans("The following setting determines the behavior of the DNS resolver. It is usually better to use the ISP's resolver in networks where it works properly. In case this does not work for some reason, it is necessary to use direct resolving without forwarding.") }}</p>
<form id="main-form" class="dns-form" action="{{ request.fullpath }}" method="post" enctype="multipart/form-data" autocomplete="off" novalidate>
<input type="hidden" name="csrf_token" value="{{ get_csrf_token() }}">
......
......@@ -19,7 +19,7 @@
<h1>{{ trans("Device registration") }}</h1>
<p>
{{! _("Device was succesfully installed. Last step that is required is a registration of your device in your user profile on the Turris website <a href=\"%(url)s\">%(url)s</a>.") % {'url': "https://www.turris.cz/user/register-router"} }}
{{! _("Device was successfully installed. Last step that is required is a registration of your device in your user profile on the Turris website <a href=\"%(url)s\">%(url)s</a>.") % {'url': "https://www.turris.cz/user/register-router"} }}
</p>
<p class="activation-code">{{ code }}</p>
<p>{{! _("<strong>Warning:</strong> this code is valid only for limited time. In case this code is refused, refresh this page to get a new one.") }}</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment