emails: Add translation tags to confirm_registration.

This commit is contained in:
Vishnu Ks
2018-04-26 20:43:47 +05:30
committed by Tim Abbott
parent e3314be114
commit 078dac9496
3 changed files with 19 additions and 14 deletions

View File

@@ -5,20 +5,25 @@
{% endblock %}
{% block content %}
<p>Hello there.
<p>
{{ _('Hello there.') }}
</p>
<p>
You recently signed up for Zulip. Awesome!
{{ _('You recently signed up for Zulip. Awesome!') }}
</p>
<p>
To complete signup, please click here:
<a class="button" href="{{ activate_url }}">Complete registration</a>
{{ _('To complete signup, please click here:') }}
<a class="button" href="{{ activate_url }}">{{ _('Complete registration') }}</a>
</p>
<p>
Feel free to give us a shout at <a href="mailto:{{ support_email }}">{{ support_email }}</a>, if you have any questions.
{% 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 />
Team Zulip
{{ _("Cheers,") }}<br />
{{ _("Team Zulip") }}
</p>
{% endblock %}

View File

@@ -1 +1 @@
Activate your Zulip account
{{ _("Activate your Zulip account") }}

View File

@@ -1,11 +1,11 @@
Hello there.
{{ _('Hello there.') }}
You recently signed up for Zulip. Awesome!
{{ _('You recently signed up for Zulip. Awesome!') }}
To complete signup, visit this link below:
{{ _('To complete signup, please click here:') }}
<{{ activate_url }}>
Feel free to give us a shout at <{{ support_email }}> if you have any questions.
{% trans %}Feel free to give us a shout at <{{ support_email }}> if you have any questions.{% endtrans %}
Cheers,
Team Zulip
{{ _("Cheers,") }}
{{ _("Team Zulip") }}