pull/5688/head
parent
f83c8a0b13
commit
790f7eb87e
@ -1,21 +1,24 @@ |
|||||||
|
{% set user_locale = locale is defined ? locale : 'en' %} |
||||||
|
{% trans_default_domain 'messages' %} |
||||||
|
|
||||||
{% autoescape false %} |
{% autoescape false %} |
||||||
<p>{{ 'Dear'|trans }} {{ complete_name }},</p> |
<p>{{ 'Dear'|trans({}, 'messages', user_locale) }} {{ complete_name }},</p> |
||||||
<p>{{ 'Welcome to this platform'|trans }}</p> |
<p>{{ 'Welcome to this platform'|trans({}, 'messages', user_locale) }}</p> |
||||||
<p>{{ 'You are registered to'|trans }} {{ 'platform.site_name' | api_get_setting }} {{ 'with the following settings:'|trans }}</p> |
<p>{{ 'You are registered to'|trans({}, 'messages', user_locale) }} {{ 'platform.site_name' | api_get_setting }} {{ 'with the following settings:'|trans({}, 'messages', user_locale) }}</p> |
||||||
<p>{{ 'Username'|trans }} : {{ login_name }}<br> |
<p>{{ 'Username'|trans({}, 'messages', user_locale) }} : {{ login_name }}<br> |
||||||
{{ 'Pass'|trans }} : {{ original_password }}</p> |
{{ 'Pass'|trans({}, 'messages', user_locale) }} : {{ original_password }}</p> |
||||||
<p>{{ 'For more details visit %s'|trans|format(search_link) }}</p> |
<p>{{ 'For more details visit %s'|trans({'%s': search_link}, 'messages', user_locale) }}</p> |
||||||
<p>{{ 'In case of trouble, contact us.'|trans }}</p> |
<p>{{ 'In case of trouble, contact us.'|trans({}, 'messages', user_locale) }}</p> |
||||||
|
|
||||||
<p>{{ 'Sincerely'|trans }}</p> |
<p>{{ 'Sincerely'|trans({}, 'messages', user_locale) }}</p> |
||||||
<p>{{ 'admin.administrator_name' | api_get_setting }} {{ 'admin.administrator_surname' | api_get_setting }}<br /> |
<p>{{ 'admin.administrator_name' | api_get_setting }} {{ 'admin.administrator_surname' | api_get_setting }}<br /> |
||||||
{{ 'Manager'|trans }} {{ 'platform.site_name' | api_get_setting }}<br /> |
{{ 'Manager'|trans({}, 'messages', user_locale) }} {{ 'platform.site_name' | api_get_setting }}<br /> |
||||||
|
|
||||||
{% if 'admin.administrator_phone' | api_get_setting %} |
{% if 'admin.administrator_phone' | api_get_setting %} |
||||||
{{ 'T. ' ~ 'admin.administrator_phone' | api_get_setting }}<br /> |
{{ 'T. ' ~ 'admin.administrator_phone' | api_get_setting }}<br /> |
||||||
{% endif %} |
{% endif %} |
||||||
{% if 'admin.administrator_email' | api_get_setting %} |
{% if 'admin.administrator_email' | api_get_setting %} |
||||||
{{ 'Email'|trans ~ ': ' ~ 'admin.administrator_email' | api_get_setting }} |
{{ 'Email'|trans({}, 'messages', user_locale) ~ ': ' ~ 'admin.administrator_email' | api_get_setting }} |
||||||
{% endif %} |
{% endif %} |
||||||
</p> |
</p> |
||||||
{% endautoescape %} |
{% endautoescape %} |
||||||
|
@ -1 +1,4 @@ |
|||||||
{{ '['~ 'platform.site_name' | api_get_setting ~ '] ' ~ 'Your Reg'|trans ~ ' ' ~ 'platform.site_name' | api_get_setting }} |
{% set user_locale = locale is defined ? locale : 'en' %} |
||||||
|
{% trans_default_domain 'messages' %} |
||||||
|
|
||||||
|
{{ '['~ 'platform.site_name' | api_get_setting ~ '] ' ~ 'Your Reg'|trans({}, 'messages', user_locale) ~ ' ' ~ 'platform.site_name' | api_get_setting }} |
||||||
|
Loading…
Reference in new issue