Verified Commit 467debcc authored by Josef Schlehofer's avatar Josef Schlehofer 💬
Browse files

Use Wi-Fi instead of Wifi and fix some typos

parent 91b99c45
......@@ -125,13 +125,13 @@ class SubordinatesSetupPage(CommonPage, handlers.SubordinatesConfigHandler):
if enabled:
message = {
"classes": ["success"],
"text": _("Subordinate '%(controller_id)s' was sucessfuly enabled.")
"text": _("Subordinate '%(controller_id)s' was successfully enabled.")
% dict(controller_id=controller_id),
}
else:
message = {
"classes": ["success"],
"text": _("Subordinate '%(controller_id)s' was sucessfuly disabled.")
"text": _("Subordinate '%(controller_id)s' was successfully disabled.")
% dict(controller_id=controller_id),
}
else:
......@@ -188,7 +188,7 @@ class SubordinatesSetupPage(CommonPage, handlers.SubordinatesConfigHandler):
if results["result"]:
message = {
"classes": ["success"],
"text": _("Device '%(controller_id)s' was sucessfully updated.")
"text": _("Device '%(controller_id)s' was successfully updated.")
% dict(controller_id=data["controller_id"]),
}
......@@ -212,7 +212,7 @@ class SubordinatesSetupPage(CommonPage, handlers.SubordinatesConfigHandler):
if results["result"]:
message = {
"classes": ["success"],
"text": _("Subsubordinate '%(controller_id)s' was sucessfully updated.")
"text": _("Subsubordinate '%(controller_id)s' was successfully updated.")
% dict(controller_id=data["controller_id"]),
}
......@@ -285,11 +285,11 @@ class SubordinatesWifiPage(CommonPage):
if results["result"]:
message = {
"classes": ["success"],
"text": _("Wifi settings was sucessfully updated."),
"text": _("Wi-Fi settings were successfully updated."),
}
else:
message = {"classes": ["error"], "text": _("Failed to update Wifi settings.")}
message = {"classes": ["error"], "text": _("Failed to update Wi-Fi settings.")}
return message
form.url = reverse(
......
......@@ -6,9 +6,9 @@
{% endif %}
<p>
{%- trans %}
On this tab you can set up other turris devices which can be controlled
by this device. You need to generate token on the remote tab on the device
you wan't to control. And insert the token here.
On this tab, you can set up other Turris devices which can be controlled
by this device. You need to generate a token on the remote tab on the device
you want to control and insert the token here.
{% endtrans -%}
</p>
<h3>{% trans %}Add device{% endtrans %}</h3>
......@@ -26,7 +26,7 @@
<h3>{% trans %}Device list{% endtrans %}</h3>
<div id="subordinates-message"></div>
<div id="subordinates-table">
{% trans %}Loading manged devices...{% endtrans %}
{% trans %}Loading managed devices...{% endtrans %}
</div>
<br />
<div id="subordinates-edit">
......
......@@ -6,14 +6,14 @@
{% endif %}
<p>
{%- trans %}
On this tab you can set up Wi-Fi of other devices controlled by this device.
On this tab, you can set up Wi-Fi of other devices controlled by this device.
{%- endtrans %}
</p>
{% if is_xhr is not defined %}
<h3>{% trans %}Device list{% endtrans %}</h3>
<div id="subordinates-message"></div>
<div id="subordinates-table">
{% trans %}Loading manged devices...{% endtrans %}
{% trans %}Loading managed devices...{% endtrans %}
</div>
<br />
<div id="subordinates-edit">
......
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