diff --git a/analytics/tests/test_support_views.py b/analytics/tests/test_support_views.py index d5fe08f70b..83f197751b 100644 --- a/analytics/tests/test_support_views.py +++ b/analytics/tests/test_support_views.py @@ -78,7 +78,7 @@ class TestSupportEndpoint(ZulipTestCase): f"First human user: {first_human_user.delivery_email}\n", f'", - '', + '', '', 'input type="number" name="discount" value="None"', '', @@ -96,7 +96,7 @@ class TestSupportEndpoint(ZulipTestCase): [ f'", - '', + '', '', 'input type="number" name="discount" value="None"', '', @@ -353,7 +353,7 @@ class TestSupportEndpoint(ZulipTestCase): ) m.assert_called_once_with(get_realm("zulip"), 2, acting_user=iago) self.assert_in_success_response( - ["Plan type of zulip changed from self hosted to limited"], result + ["Plan type of zulip changed from self-hosted to limited"], result ) with mock.patch("analytics.views.support.do_change_realm_plan_type") as m: @@ -362,7 +362,7 @@ class TestSupportEndpoint(ZulipTestCase): ) m.assert_called_once_with(get_realm("zulip"), 10, acting_user=iago) self.assert_in_success_response( - ["Plan type of zulip changed from self hosted to plus"], result + ["Plan type of zulip changed from self-hosted to plus"], result ) def test_change_org_type(self) -> None: diff --git a/analytics/views/support.py b/analytics/views/support.py index e6012472b0..3301c9fe4c 100644 --- a/analytics/views/support.py +++ b/analytics/views/support.py @@ -59,7 +59,7 @@ if settings.BILLING_ENABLED: def get_plan_name(plan_type: int) -> str: return { - Realm.PLAN_TYPE_SELF_HOSTED: "self hosted", + Realm.PLAN_TYPE_SELF_HOSTED: "self-hosted", Realm.PLAN_TYPE_LIMITED: "limited", Realm.PLAN_TYPE_STANDARD: "standard", Realm.PLAN_TYPE_STANDARD_FREE: "open source", diff --git a/docs/overview/release-lifecycle.md b/docs/overview/release-lifecycle.md index 5ae3fa66f0..adb5371bc3 100644 --- a/docs/overview/release-lifecycle.md +++ b/docs/overview/release-lifecycle.md @@ -72,7 +72,7 @@ in a stable release. to chat.zulip.org to facilitate design feedback. - We maintain Git branches with names like `4.x` containing backported commits from `main` that we plan to include in the next maintenance - release. Self hosters can [upgrade][upgrade-from-git] to these + release. Self-hosters can [upgrade][upgrade-from-git] to these stable release branches to get bug fixes staged for the next stable release (which is very useful when you reported a bug whose fix we choose to backport). We support these branches as though they were a diff --git a/templates/analytics/realm_details.html b/templates/analytics/realm_details.html index 8320f2abf5..fe4aa74053 100644 --- a/templates/analytics/realm_details.html +++ b/templates/analytics/realm_details.html @@ -67,7 +67,7 @@ {{ csrf_input }}