From: Raphaƫl Gertz Date: Wed, 28 Jul 2021 07:37:59 +0000 (+0200) Subject: Rename section to page.title X-Git-Tag: 0.2.4~11 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/ffd28a6faa3000d015df032542f6a8308979ba9b?ds=inline Rename section to page.title Rename description to page.description Rename site_title to site.title Cleanup --- diff --git a/Resources/views/form/contact.html.twig b/Resources/views/form/contact.html.twig index ee75ed0..783bc6e 100644 --- a/Resources/views/form/contact.html.twig +++ b/Resources/views/form/contact.html.twig @@ -2,8 +2,8 @@ {% block content %}
-

{{ section }}

-

{{ description }}

+

{{ page.title }}

+

{{ page.description }}

{% if sent %}

{% trans %}Your message has been sent{% endtrans %}

diff --git a/Resources/views/mail/recover.text.twig b/Resources/views/mail/recover.text.twig index c6ef6df..f33fc09 100644 --- a/Resources/views/mail/recover.text.twig +++ b/Resources/views/mail/recover.text.twig @@ -2,7 +2,7 @@ {% for i in range(1, subject|length) %}={% endfor %} -*{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site.title}) }}* +*{{ '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}) }} diff --git a/Resources/views/mail/recover_mail.text.twig b/Resources/views/mail/recover_mail.text.twig index 6acbc4a..b5e09ea 100644 --- a/Resources/views/mail/recover_mail.text.twig +++ b/Resources/views/mail/recover_mail.text.twig @@ -2,7 +2,7 @@ {% 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}) }}* {{ 'Your account password has been changed, to recover your account you can follow this link: %recover_url%'|trans({'%recover_url%': recover_url}) }} diff --git a/Resources/views/mail/register.text.twig b/Resources/views/mail/register.text.twig index 347ac5a..06360f5 100644 --- a/Resources/views/mail/register.text.twig +++ b/Resources/views/mail/register.text.twig @@ -2,7 +2,7 @@ {% 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}) }}* --