emails: Add translation tags to confirm_new_email.

This commit is contained in:
Vishnu Ks
2018-04-26 20:32:24 +05:30
committed by Tim Abbott
parent d504c336dc
commit e3314be114
4 changed files with 21 additions and 13 deletions

View File

@@ -5,23 +5,27 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<p>Hi! <p>{{ _('Hi!') }}
</p> </p>
<p> <p>
We received a request to change the email address for the Zulip {% trans %}
account on {{ realm_uri }} from {{ old_email }} to {{ new_email }}. We received a request to change the email address for the Zulip account on
If you would like to confirm this change, please click here: {{ realm_uri }} from {{ old_email }} to {{ new_email }}. If you would like
<a class="button" href="{{ activate_url }}">Confirm email change</a> to confirm this change, please click below:
{% endtrans %}
<a class="button" href="{{ activate_url }}">{{_('Confirm email change') }}</a>
</p> </p>
<p> <p>
{% trans %}
If you did not request this change, please contact us immediately at If you did not request this change, please contact us immediately at
<a href="mailto:{{ support_email }}">{{ support_email }}</a>. <a href="mailto:{{ support_email }}">{{ support_email }}</a>.
{% endtrans %}
</p> </p>
<p> <p>
Cheers,<br /> {{ _("Cheers,") }}<br />
Team Zulip {{ _("Team Zulip") }}
</p> </p>
{% endblock %} {% endblock %}

View File

@@ -1 +1 @@
Verify your new email address {{ _("Verify your new email address") }}

View File

@@ -1,13 +1,16 @@
Hi! {{ _("Hi!") }}
{% trans %}
We received a request to change the email address for the Zulip account on We received a request to change the email address for the Zulip account on
{{ realm_uri }} from {{ old_email }} to {{ new_email }}. If you would like {{ realm_uri }} from {{ old_email }} to {{ new_email }}. If you would like
to confirm this change, please click this link: to confirm this change, please click below:
{% endtrans %}
{{ activate_url }} {{ activate_url }}
{% trans %}
If you did not request this change, please contact us immediately at If you did not request this change, please contact us immediately at
<{{ support_email }}>. <{{ support_email }}>.
{% endtrans %}
Cheers, {{ _("Cheers,") }}
Team Zulip {{ _("Team Zulip") }}

View File

@@ -50,6 +50,7 @@ IGNORED_PHRASES = [
r"XML", r"XML",
r"Zephyr", r"Zephyr",
r"Zulip", r"Zulip",
r"Zulip Team",
r"iPhone", r"iPhone",
r"iOS", r"iOS",
r"Emoji One", r"Emoji One",