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 %}
{% block content %}
<p>Hi!
<p>{{ _('Hi!') }}
</p>
<p>
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 to confirm this change, please click here:
<a class="button" href="{{ activate_url }}">Confirm email change</a>
{% trans %}
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
to confirm this change, please click below:
{% endtrans %}
<a class="button" href="{{ activate_url }}">{{_('Confirm email change') }}</a>
</p>
<p>
{% trans %}
If you did not request this change, please contact us immediately at
<a href="mailto:{{ support_email }}">{{ support_email }}</a>.
{% endtrans %}
</p>
<p>
Cheers,<br />
Team Zulip
{{ _("Cheers,") }}<br />
{{ _("Team Zulip") }}
</p>
{% 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
{{ 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 }}
{% trans %}
If you did not request this change, please contact us immediately at
<{{ support_email }}>.
{% endtrans %}
Cheers,
Team Zulip
{{ _("Cheers,") }}
{{ _("Team Zulip") }}

View File

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