emails: Update text for confirm_registration.

This commit is contained in:
Rishi Gupta
2018-12-19 10:47:58 -08:00
parent 0844c9a6ec
commit bf8db6f634
3 changed files with 10 additions and 19 deletions

View File

@@ -5,25 +5,18 @@
{% endblock %}
{% block content %}
<p>
{{ _('Hello there.') }}
</p>
<p>
{{ _('You recently signed up for Zulip. Awesome!') }}
</p>
<p>
{{ _('To complete signup, please click here:') }}
{{ _('Click the button below to complete registration.') }}
<a class="button" href="{{ activate_url }}">{{ _('Complete registration') }}</a>
</p>
<p>
{% trans %}
Feel free to give us a shout at
<a href="mailto:{{ support_email }}">{{ support_email }}</a>,
if you have any questions.
Contact us any time at
<a href="mailto:{{ support_email }}">{{ support_email }}</a>
if you run into trouble, have any feedback, or just want to chat!
{% endtrans %}
</p>
<p>
{{ _("Cheers,") }}<br />
{{ _("Team Zulip") }}
</p>
{% endblock %}

View File

@@ -1,11 +1,9 @@
{{ _('Hello there.') }}
{{ _('You recently signed up for Zulip. Awesome!') }}
{{ _('To complete signup, please click here:') }}
{{ _('Click the link below to complete registration.') }}
<{{ activate_url }}>
{% trans %}Feel free to give us a shout at <{{ support_email }}> if you have any questions.{% endtrans %}
{{ _("Cheers,") }}
{{ _("Team Zulip") }}
{% trans %}
Contact us any time at {{ support_email }} if you run into trouble,
have any feedback, or just want to chat!
{% endtrans %}

View File

@@ -43,7 +43,7 @@ class EmailTranslationTestCase(ZulipTestCase):
self.login(hamlet.email)
check_translation("Viele Grüße", "patch", "/json/settings", {"email": "hamlets-new@zulip.com"})
check_translation("Felicidades", "post", "/accounts/home/", {"email": "new-email@zulip.com"}, HTTP_ACCEPT_LANGUAGE="pt")
check_translation("Incrível!", "post", "/accounts/home/", {"email": "new-email@zulip.com"}, HTTP_ACCEPT_LANGUAGE="pt")
check_translation("Danke, dass Du", "post", '/accounts/find/', {'emails': hamlet.email})
check_translation("Hallo", "post", "/json/invites", {"invitee_emails": "new-email@zulip.com", "stream": ["Denmark"]})