Prevent double translation
{% block body %}
<table class="header">
<tr>
{% block body %}
<table class="header">
<tr>
- <td><a href="{{ site_url|escape('html_attr') }}"><img src="{{ email.image(site_logo) }}" alt="{{ site_title|escape('html_attr') }}" /></a></td>
- <td><h1><a href="{{ site_url|escape('html_attr') }}">{{ site_title }}</a></h1></td>
+ <td><a href="{{ site.url|escape('html_attr') }}"><img src="{{ email.image(site.logo) }}" alt="{{ site.title|escape('html_attr') }}" /></a></td>
+ <td><h1><a href="{{ site.url|escape('html_attr') }}">{{ site.title }}</a></h1></td>
</tr>
</table>
{% block content %}{% endblock %}
<table class="footer">
<tr>
</tr>
</table>
{% block content %}{% endblock %}
<table class="footer">
<tr>
- <td>{{ copy_long }} - {{ copy_short }}</td>
+ <td>{{ copy.long }} - {{ copy.short }}</td>
</tr>
</table>
{% endblock %}
</tr>
</table>
{% endblock %}
-{{ copy_long }} - {{ copy_short }}
+{{ copy.long }} - {{ copy.short }}
<tr>
<td> </td>
<td>
<tr>
<td> </td>
<td>
- <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome back to %site_title%'|trans({'%site_title%': site_title})|raw}) }}</h2>
- <p>{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site_title}) }}</p>
+ <h2>{{ 'Subject: %subject%'|trans({'%subject%': subject})|raw }}</h2>
+ <p>{{ 'Thanks so much for rejoining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}</p>
<p>{{ 'To recover your account you can follow this link: '|trans }}</p>
<p><a href="{{ recover_url|escape('html_attr') }}">{{ recover_url }}</a></p>
</td>
<p>{{ 'To recover your account you can follow this link: '|trans }}</p>
<p><a href="{{ recover_url|escape('html_attr') }}">{{ recover_url }}</a></p>
</td>
{% for i in range(1, subject|length) %}={% endfor %}
{% for i in range(1, subject|length) %}={% endfor %}
-*{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site_title|trans}) }}*
+*{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site.title}) }}*
{{ 'To recover your account you can follow this link: %recover_url%'|trans({'%recover_url%': recover_url}) }}
--
{{ 'To recover your account you can follow this link: %recover_url%'|trans({'%recover_url%': recover_url}) }}
--
-{{ copy_long }} - {{ copy_short }}
+{{ copy.long }} - {{ copy.short }}
<tr>
<td> </td>
<td>
<tr>
<td> </td>
<td>
- <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome back to %site_title%'|trans({'%site_title%': site_title})|raw}) }}</h2>
- <p>{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site_title}) }}</p>
+ <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome back to %site.title%'|trans({'%site.title%': site.title})|raw}) }}</h2>
+ <p>{{ 'Thanks so much for rejoining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}</p>
<p>{{ 'Your account password has been changed, to recover your account you can follow this link: '|trans }}</p>
<p><a href="{{ recover_url|escape('html_attr') }}">{{ recover_url }}</a></p>
</td>
<p>{{ 'Your account password has been changed, to recover your account you can follow this link: '|trans }}</p>
<p><a href="{{ recover_url|escape('html_attr') }}">{{ recover_url }}</a></p>
</td>
{% for i in range(1, subject|length) %}={% endfor %}
{% for i in range(1, subject|length) %}={% endfor %}
-*{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site_title|trans}) }}*
+*{{ 'Thanks so much for rejoining %site.title%, the space reservation program.'|trans({'%site.title%': site.title|trans}) }}*
{{ 'Your account password has been changed, to recover your account you can follow this link: %recover_url%'|trans({'%recover_url%': recover_url}) }}
--
{{ 'Your account password has been changed, to recover your account you can follow this link: %recover_url%'|trans({'%recover_url%': recover_url}) }}
--
-{{ copy_long }} - {{ copy_short }}
+{{ copy.long }} - {{ copy.short }}
<tr>
<td> </td>
<td>
<tr>
<td> </td>
<td>
- <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site_title%'|trans({'%site_title%': site_title})|raw}) }}</h2>
+ <h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome to %site.title%'|trans({'%site.title%': site.title})|raw}) }}</h2>
<h3>{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}</h3>
<h3>{{ 'Hi %recipient_name%,'|trans({'%recipient_name%': recipient_name}) }}</h3>
- <p>{{ 'Thanks so much for joining %site_title%, the space reservation program.'|trans({'%site_title%': site_title}) }}</p>
+ <p>{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}</p>
</td>
<td> </td>
</tr>
</td>
<td> </td>
</tr>
{% for i in range(1, subject|length) %}={% endfor %}
{% for i in range(1, subject|length) %}={% endfor %}
-*{{ 'Thanks so much for joining %site_title%, the space reservation program.'|trans({'%site_title%': site_title|trans}) }}*
+*{{ 'Thanks so much for joining %site.title%, the space reservation program.'|trans({'%site.title%': site.title|trans}) }}*
-{{ copy_long }} - {{ copy_short }}
+{{ copy.long }} - {{ copy.short }}