Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

i18n: Tag confirmation templates for translation.

Vishnu KS2d2ea9af6e8b
diff --git a/templates/confirmation/confirm_email_change.html b/templates/confirmation/confirm_email_change.html
index d14a499fbf6..ff77e4a5e26 100644
--- a/templates/confirmation/confirm_email_change.html
+++ b/templates/confirmation/confirm_email_change.html
@@ -9,8 +9,10 @@
</div>
<div class="app-main white-box">
+ {% trans %}
This confirms that the email address for your Zulip account has changed
from <a href="mailto:{{old_email}}">{{old_email}}</a> to <a href="mailto:{{new_email}}">{{new_email}}</a>.
+ {% endtrans %}
</div>
</div>
</div>
diff --git a/templates/confirmation/link_does_not_exist.html b/templates/confirmation/link_does_not_exist.html
index 6076e166d58..b7f481e3d55 100644
--- a/templates/confirmation/link_does_not_exist.html
+++ b/templates/confirmation/link_does_not_exist.html
@@ -6,8 +6,12 @@
<img src="/static/images/400art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
- <h1 class="lead">Whoops. We couldn't find your confirmation link in the system.</h1>
- <p>Anyway, shoot us a line at <a href="mailto:{{ support_email }}">{{ support_email }}</a> and we'll get this resolved shortly.</p>
+ <h1 class="lead">{{ _("Whoops. We couldn't find your confirmation link in the system.") }}</h1>
+ <p>
+ {% trans %}
+ Anyway, shoot us a line at <a href="mailto:{{ support_email }}">{{ support_email }}</a> and we'll get this resolved shortly.
+ {% endtrans %}
+ </p>
</div>
</div>
</div>
diff --git a/templates/confirmation/link_expired.html b/templates/confirmation/link_expired.html
index c53c71cec2d..6694776a7f8 100644
--- a/templates/confirmation/link_expired.html
+++ b/templates/confirmation/link_expired.html
@@ -7,8 +7,8 @@
<img class="hourglass-img" src="/static/images/timeout_hourglass.png" alt=""/>
<div class="errorbox">
<div class="errorcontent">
- <h1 class="lead">Whoops. The confirmation link has expired or been deactivated.</h1>
- <p>Please contact your organization administrator for a new one.</p>
+ <h1 class="lead">{{ _("Whoops. The confirmation link has expired or been deactivated.") }}</h1>
+ <p>{{ _("Please contact your organization administrator for a new one.") }}</p>
</div>
</div>
</div>
diff --git a/templates/confirmation/link_malformed.html b/templates/confirmation/link_malformed.html
index 1fcee40f1d8..59f765b522e 100644
--- a/templates/confirmation/link_malformed.html
+++ b/templates/confirmation/link_malformed.html
@@ -6,9 +6,13 @@
<img src="/static/images/500art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
- <h1 class="lead">Whoops. The confirmation link is malformed.</h1>
- <p>Make sure you copied the link correctly in to your browser. If you're still encountering this page, it's probably our fault. We're sorry.</p>
- <p>Anyway, shoot us a line at <a href="mailto:{{ support_email }}">{{ support_email }}</a> and we'll get this resolved shortly.</p>
+ <h1 class="lead">{{ _("Whoops. The confirmation link is malformed.") }}</h1>
+ <p>{{ _("Make sure you copied the link correctly in to your browser. If you're still encountering this page, it's probably our fault. We're sorry.") }}</p>
+ <p>
+ {% trans %}
+ Anyway, shoot us a line at <a href="mailto:{{ support_email }}">{{ support_email }}</a> and we'll get this resolved shortly.
+ {% endtrans %}
+ </p>
</div>
</div>
</div>