emails: Update text for invitation and invitation_reminder.

This commit is contained in:
Rishi Gupta
2018-12-19 14:47:27 -08:00
parent d8e16143d4
commit fb56720054
5 changed files with 38 additions and 28 deletions

View File

@@ -9,20 +9,19 @@
</p>
<p>
{% trans %}
{{ referrer_full_name }} ({{ referrer_email }}) wants you to join
them on Zulip &mdash; the team communication tool designed for
productivity.
{{ referrer_full_name }} (<a href="mailto:{{ referrer_email }}">{{ referrer_email }}</a>)
wants you to join them on Zulip &mdash; the team communication tool designed for productivity.
{% endtrans %}
</p>
<p>
{{ _("To get started, please click here:") }}
{{ _("To get started, click the button below.") }}
<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.{% endtrans %}
</p>
<p>
{{ _("Cheers,") }}<br />
{{ _("The Zulip Team") }}
{% trans %}
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>
{% endblock %}

View File

@@ -1,11 +1,13 @@
{{ _("Hi there,") }}
{% trans %}{{ referrer_full_name }} ({{ referrer_email }}) wants you to join them on Zulip -- the team communication tool designed for productivity.{% endtrans %}
{% trans %}
{{ referrer_full_name }} ({{ referrer_email }}) wants you to join them on Zulip -- the team communication tool designed for productivity.
{% endtrans %}
{{ _("To get started, visit the link below:") }}
{{ _("To get started, click the link below.") }}
<{{ activate_url }}>
{% trans %}Feel free to give us a shout at <{{ support_email }}> if you have any questions.{% endtrans %}
{{ _("Cheers,") }}
{{ _("The Zulip Team") }}
{% trans %}
Contact us any time at {{ support_email }} if you run into trouble,
have any feedback, or just want to chat!
{% endtrans %}

View File

@@ -8,17 +8,22 @@
<p>{{ _("Hi again,") }}
</p>
<p>
{% trans %}This is a friendly reminder that {{ referrer_name }} (<a href="mailto:{{ referrer_email }}">{{ referrer_email }}</a>) wants you to join them on Zulip, a workplace chat tool that actually makes you more productive.{% endtrans %}
{% trans %}
This is a friendly reminder that
{{ referrer_name }} (<a href="mailto:{{ referrer_email }}">{{ referrer_email }}</a>)
wants you to join them on Zulip &mdash; the team communication tool designed for productivity.
{% endtrans %}
</p>
<p>
{{ _("To get started, please click here:") }}
{{ _("To get started, click the button below.") }}
<a class="button" href="{{ activate_url }}">{{ _("Complete registration") }}</a>
</p>
<p>
{% trans %}We're here for you at <a href="mailto:{{ support_email }}">{{ support_email }}</a> if you have any questions.{% endtrans %}
</p>
<p>
{{ _("Cheers,") }}<br />
{{ _("The Zulip Team") }}
{{ _("This is the last reminder you'll receive for this invitation.") }}
{% trans %}
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>
{% endblock %}

View File

@@ -1,11 +1,15 @@
{{ _("Hi again,") }}
{% trans %}This is a friendly reminder that {{ referrer_name }} ({{ referrer_email }}) wants you to join them on Zulip, a workplace chat tool that actually makes you more productive.{% endtrans %}
{% trans %}
This is a friendly reminder that {{ referrer_name }} ({{ referrer_email }}) wants you to join them on Zulip -- the team communication tool designed for productivity.
{% endtrans %}
{{ _("To get started, visit the link below:") }}
{{ _("To get started, click the link below.") }}
<{{ activate_url }}>
{% trans %}We're here for you at <{{ support_email }}> if you have any questions.{% endtrans %}
{{ _("This is the last reminder you'll receive for this invitation.") }}
{{ _("Cheers,") }}
{{ _("The Zulip Team") }}
{% trans %}
Contact us any time at {{ support_email }} if you run into trouble,
have any feedback, or just want to chat!
{% endtrans %}

View File

@@ -45,7 +45,7 @@ class EmailTranslationTestCase(ZulipTestCase):
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("Danke, dass Du", "post", '/accounts/find/', {'emails': hamlet.email})
check_translation("Viele Grüße", "post", "/json/invites", {"invitee_emails": "new-email@zulip.com", "stream": ["Denmark"]})
check_translation("Hallo", "post", "/json/invites", {"invitee_emails": "new-email@zulip.com", "stream": ["Denmark"]})
with self.settings(DEVELOPMENT_LOG_EMAILS=True):
enqueue_welcome_emails(hamlet)