Browse Source

fix #530: translatable footers

Rafał Pitoń 10 years ago
parent
commit
78aeebd6de

+ 1 - 1
misago/templates/_misago/emails/base.html

@@ -69,7 +69,7 @@
             <br>
             <div style="border-top: 1px solid #ddd; color: #666; font-size: 12px; line-height: 18px;">
               {% if misago_settings.email_footer %}<br>{{ misago_settings.email_footer }}{% endif %}
-              <br><a href="{{ SITE_ADDRESS }}" style="color: #888; text-decoration: underline;">Sent from {{ SITE_HOST }}</a>
+              <br><a href="{{ SITE_ADDRESS }}" style="color: #888; text-decoration: underline;">{% blocktrans with site_host=SITE_HOST %}Sent from {{ site_host }}{% endblocktrans %}</a>
             </div>
 
             <!-- ### END CONTENT ### -->

+ 1 - 1
misago/templates/_misago/emails/base.txt

@@ -8,4 +8,4 @@
 
 ------------------------------------------------
 {% if misago_settings.email_footer %}{{ misago_settings.email_footer }}{% endif %}
-Sent from {{ SITE_ADDRESS }}
+{% blocktrans with site_host=SITE_HOST %}Sent from {{ site_host }}{% endblocktrans %}