diff --git a/analytics/tests/test_views.py b/analytics/tests/test_views.py index 8c52d72d2f..af83e9f3d7 100644 --- a/analytics/tests/test_views.py +++ b/analytics/tests/test_views.py @@ -28,7 +28,7 @@ class TestStatsEndpoint(ZulipTestCase): result = self.client_get('/stats') self.assertEqual(result.status_code, 200) # Check that we get something back - self.assert_in_response("Zulip Analytics for", result) + self.assert_in_response("Zulip analytics for", result) class TestGetChartData(ZulipTestCase): def setUp(self): diff --git a/templates/analytics/stats.html b/templates/analytics/stats.html index c208d7fc09..7c42453cb9 100644 --- a/templates/analytics/stats.html +++ b/templates/analytics/stats.html @@ -13,43 +13,43 @@
-

Zulip Analytics for {{ realm_name }}

+

{% trans %}Zulip analytics for {{ realm_name }}{% endtrans %}

-

Messages Sent Over Time

+

{{ _("Messages sent over time") }}

- +
- - - - + + + +
- Me: + {{ _("Me") }}: - Humans: + {{ _("Humans") }}: - Bots: + {{ _("Bots") }}:
-

Messages Sent by Client

+

{{ _("Messages sent by client") }}

- - - - - - + + + + + +
@@ -58,26 +58,26 @@
-

Messages Sent by Recipient Type

+

{{ _("Messages sent by recipient type") }}

- - - - - - + + + + + +
-

Active Users

+

{{ _("Active users") }}

- Users: + {{ _("Users") }}:
@@ -85,8 +85,8 @@
- Last Update: - + {{ _("Last update") }}: +