register: Fix period at end of heading.

This commit is contained in:
Tim Abbott
2018-08-09 17:16:49 -07:00
parent bdaff17e28
commit 83300c329b
2 changed files with 2 additions and 2 deletions

View File

@@ -1549,7 +1549,7 @@ class RealmCreationTest(ZulipTestCase):
# Create new realm with the email, but no creation key. # Create new realm with the email, but no creation key.
result = self.client_post('/new/', {'email': email}) result = self.client_post('/new/', {'email': email})
self.assertEqual(result.status_code, 200) self.assertEqual(result.status_code, 200)
self.assert_in_response('New organization creation disabled.', result) self.assert_in_response('New organization creation disabled', result)
@override_settings(OPEN_REALM_CREATION=True) @override_settings(OPEN_REALM_CREATION=True)
def test_create_realm_with_subdomain(self) -> None: def test_create_realm_with_subdomain(self) -> None:

View File

@@ -382,7 +382,7 @@ def create_realm(request: HttpRequest, creation_key: Optional[str]=None) -> Http
if not settings.OPEN_REALM_CREATION: if not settings.OPEN_REALM_CREATION:
if key_record is None: if key_record is None:
return render(request, "zerver/realm_creation_failed.html", return render(request, "zerver/realm_creation_failed.html",
context={'message': _('New organization creation disabled.')}) context={'message': _('New organization creation disabled')})
# When settings.OPEN_REALM_CREATION is enabled, anyone can create a new realm, # When settings.OPEN_REALM_CREATION is enabled, anyone can create a new realm,
# subject to a few restrictions on their email address. # subject to a few restrictions on their email address.