diff --git a/kalite/coachreports/static/js/coachreports/coach_reports/views.js b/kalite/coachreports/static/js/coachreports/coach_reports/views.js
index 9e06c6ee6a..4f94eda88c 100644
--- a/kalite/coachreports/static/js/coachreports/coach_reports/views.js
+++ b/kalite/coachreports/static/js/coachreports/coach_reports/views.js
@@ -317,7 +317,7 @@ var CoachSummaryView = BaseView.extend({
$('#topic-list').multiselect({
- nonSelectedText: 'Default: Overview',
+ nonSelectedText: gettext('Default: Overview'),
buttonWidth: '75%',
numberDisplayed: 2,
maxHeight: 350,
diff --git a/kalite/control_panel/templates/control_panel/base.html b/kalite/control_panel/templates/control_panel/base.html
index 88339cfa8d..cbc6a5995e 100644
--- a/kalite/control_panel/templates/control_panel/base.html
+++ b/kalite/control_panel/templates/control_panel/base.html
@@ -52,7 +52,7 @@
{% if is_central %}
{% trans "New Sharing Network" %}
{% else %}
- Unregistered Device {{ device.name }} - Register Now!
+ {% trans "Unregistered Device" %} {{ device.name }} - {% trans "Register Now!" %}
{% endif %}
{% endif %}
{% if facility or device %}
diff --git a/kalite/distributed/views.py b/kalite/distributed/views.py
index b3281f254e..2f0da911e5 100755
--- a/kalite/distributed/views.py
+++ b/kalite/distributed/views.py
@@ -47,10 +47,10 @@ def check_setup_status_wrapper_fn(request, *args, **kwargs):
# TODO(bcipolli): move this to the client side?
if not request.session.get("registered", True) and BaseClient().test_connection() == "success":
# Being able to register is more rare, so prioritize.
- messages.warning(request, mark_safe("Please follow the directions to register your device, so that it can synchronize with the central server." % reverse("register_public_key")))
+ messages.warning(request, mark_safe(_("Please follow the directions to register your device, so that it can synchronize with the central server.") % reverse("register_public_key")))
elif not request.session["facility_exists"]:
zone_id = (Zone.objects.all() and Zone.objects.all()[0].id) or "None"
- messages.warning(request, mark_safe("Please create a facility now. Users will not be able to sign up for accounts until you have made a facility." % reverse("add_facility", kwargs={"zone_id": zone_id})))
+ messages.warning(request, mark_safe(_("Please create a facility now. Users will not be able to sign up for accounts until you have made a facility.") % reverse("add_facility", kwargs={"zone_id": zone_id})))
elif not request.is_logged_in:
if not request.session.get("registered", True) and BaseClient().test_connection() == "success":
@@ -64,7 +64,7 @@ def check_setup_status_wrapper_fn(request, *args, **kwargs):
redirect_url = None
if redirect_url:
messages.warning(request, mark_safe(
- "Please login with the admin account you created, then create your facility and register this device to complete the setup."))
+ _("Please login with the admin account you created, then create your facility and register this device to complete the setup.")))
return handler(request, *args, **kwargs)
return check_setup_status_wrapper_fn