diff --git a/components/Blog/templates/blog/make_post.html.twig b/components/Blog/templates/blog/make_post.html.twig index 16f85f84d9..36847c55ea 100644 --- a/components/Blog/templates/blog/make_post.html.twig +++ b/components/Blog/templates/blog/make_post.html.twig @@ -1,10 +1,10 @@ {% extends 'stdgrid.html.twig' %} -{% block title %}{{ 'Create a blog post' | trans }}{% endblock %} +{% block title %}{% trans %}Create a blog post{% endtrans %}{% endblock %} {% block body %} {{ parent() }}
-

{{ 'Create a blog post' | trans }}

+

{% trans %}Create a blog post{% endtrans %}

{{ form(blog_entry_form) }}
{% endblock body %} diff --git a/components/Collection/templates/collection/collection_entry_view.html.twig b/components/Collection/templates/collection/collection_entry_view.html.twig index f0bedf5624..e67f16fa38 100644 --- a/components/Collection/templates/collection/collection_entry_view.html.twig +++ b/components/Collection/templates/collection/collection_entry_view.html.twig @@ -1,10 +1,10 @@ {% extends '/collection/notes.html.twig' %} -{% block title %}{{ page_title | trans }}{% endblock %} +{% block title %}{% trans %}%page_title%{% endtrans %}{% endblock %} {% block body %}
-

{{ page_title | trans }}

+

{% trans %}%page_title%{% endtrans %}

{% block collection_items %} {% endblock collection_items %}
diff --git a/components/Collection/templates/collection/meta_collections.html.twig b/components/Collection/templates/collection/meta_collections.html.twig index 2a591977a7..23ee41ba2e 100644 --- a/components/Collection/templates/collection/meta_collections.html.twig +++ b/components/Collection/templates/collection/meta_collections.html.twig @@ -1,17 +1,17 @@ {% extends 'stdgrid.html.twig' %} -{% block title %}{{ page_title | trans }}{% endblock %} +{% block title %}{% trans %}%page_title%{% endtrans %}{% endblock %} {% block body %}
-

{{ page_title | trans }}

+

{% trans %}%page_title%{% endtrans %}

{% if add_collection %}
{{ form(add_collection) }}
{% endif %}
-

{{ list_title | trans }}

+

{% trans %}%list_title%{% endtrans %}

{% for col in collections %}
{{ col.name }} diff --git a/components/Collection/templates/collection/notes.html.twig b/components/Collection/templates/collection/notes.html.twig index ba324f8bb3..e4c06b6a95 100644 --- a/components/Collection/templates/collection/notes.html.twig +++ b/components/Collection/templates/collection/notes.html.twig @@ -1,7 +1,7 @@ {% extends 'stdgrid.html.twig' %} {% import '/cards/macros/note/factory.html.twig' as NoteFactory %} -{% block title %}{% if page_title is defined %}{{ page_title | trans }}{% endif %}{% endblock %} +{% block title %}{% if page_title is defined %}{% trans %}%page_title%{% endtrans %}{% endif %}{% endblock %} {% block stylesheets %} {{ parent() }} @@ -19,7 +19,7 @@ {% if notes_feed_title is defined %} {{ notes_feed_title.getHtml() }} {% endif %} -