email: Update "Log in" string in digest emails.

This commit is contained in:
opmkumar
2025-04-14 21:07:28 +05:30
committed by Tim Abbott
parent 5530981db9
commit 8c556cafbb
3 changed files with 3 additions and 7 deletions

View File

@@ -28,10 +28,7 @@
<p class="digest_paragraph">{{ new_channels.html|display_list(1000)|safe }}.</p>
{% endif %}
<br />
<p class="digest_paragraph"><a href="{{ realm_url }}">{% trans %}Click here to log in to Zulip and catch up.{% endtrans %}</a></p>
<p class="digest_paragraph">{% trans %}<a href="{{ realm_url }}">Log in</a> to Zulip to catch up.{% endtrans %}</p>
{% endblock %}
{% block manage_preferences %}

View File

@@ -8,8 +8,7 @@
{% if new_channels.plain %}** {% trans %}New channels{% endtrans %} **
{{ new_channels.plain|display_list(1000) }}.
{% endif %}
{% trans organization_url=realm_url %}Click here to log in to Zulip and catch up: {{ organization_url }}.{% endtrans %}
{% trans organization_url=realm_url %}Log in to Zulip to catch up: {{ organization_url }}.{% endtrans %}
--
{% trans %}Manage email preferences:{% endtrans %}

View File

@@ -555,7 +555,7 @@ class TestDigestContentInBrowser(ZulipTestCase):
def test_get_digest_content_in_browser(self) -> None:
self.login("hamlet")
result = self.client_get("/digest/")
self.assert_in_success_response(["Click here to log in to Zulip and catch up."], result)
self.assert_in_success_response(["Log in to Zulip to catch up"], result)
class TestDigestTopics(ZulipTestCase):