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.

emails: Use trans tag for ladap username in followup day 1 email.

Vishnu KS1c08ea813498
diff --git a/templates/zerver/emails/followup_day1.source.html b/templates/zerver/emails/followup_day1.source.html
index 21603fcbff8..11fcb231a91 100644
--- a/templates/zerver/emails/followup_day1.source.html
+++ b/templates/zerver/emails/followup_day1.source.html
@@ -20,7 +20,7 @@
<li>{% trans organization_url=macros.link_tag(realm_uri) %}Organization URL: {{ organization_url }}{% endtrans %}<br></li>
{% if ldap %}
{% if ldap_username %}
- <li>{{ _('Username:') }} {{ ldap_username }}<br></li>
+ <li>{% trans %}Username: {{ ldap_username }}{% endtrans %}<br></li>
{% else %}
<li>{{ _('Use your LDAP account to log in') }}<br></li>
{% endif %}
diff --git a/templates/zerver/emails/followup_day1.txt b/templates/zerver/emails/followup_day1.txt
index 999bf15f1ed..98e9e6347db 100644
--- a/templates/zerver/emails/followup_day1.txt
+++ b/templates/zerver/emails/followup_day1.txt
@@ -11,7 +11,7 @@
* {% trans organization_url=realm_uri %}Organization URL: {{ organization_url }}{% endtrans %}
{% if ldap %}
{% if ldap_username %}
-* {{ _('Username:') }} {{ ldap_username }}
+* {% trans %}Username: {{ ldap_username }}{% endtrans %}
{% else %}
* {{ _('Use your LDAP account to log in') }}
{% endif %}