diff --git a/templates/mobile/api/auth/end_user_authorization.html.twig b/templates/mobile/api/auth/end_user_authorization.html.twig
index 67ee696571..c63723b0e2 100644
--- a/templates/mobile/api/auth/end_user_authorization.html.twig
+++ b/templates/mobile/api/auth/end_user_authorization.html.twig
@@ -43,8 +43,8 @@
- {% trans %}
- Bonjour, veuillez vous identifier sur {{home_title}} :
+ {% trans with {'%home_title%' : home_title} %}
+ Bonjour, veuillez vous identifier sur %home_title% :
{% endtrans %}
-
{% trans %}Autorisation d'accès{% endtrans %}
+ {% trans %}Autorisation d'acces{% endtrans %}
- {% set application_name = auth.getClient.get_name() %}
+ {% set application_name = '
' ~ auth.getClient.get_name() ~ ' ' %}
- {% trans %}
- Autorisez-vous l'application "{{application_name}} " à accéder à votre contenu sur {{home_title}} ?
+ {% trans with {'%application_name%' : application_name, '%home_title%' : home_title} %}
+ Autorisez-vous l'application %application_name% a acceder a votre contenu sur %home_title% ?
{% endtrans %}
diff --git a/templates/mobile/api/auth/native_app_access_token.html.twig b/templates/mobile/api/auth/native_app_access_token.html.twig
index a9f4d1de7b..118463f159 100644
--- a/templates/mobile/api/auth/native_app_access_token.html.twig
+++ b/templates/mobile/api/auth/native_app_access_token.html.twig
@@ -41,8 +41,8 @@
{% set username = '
' ~ app['authentication'].getUser().get_display_name() ~ ' ' %}
- {% trans %}
- Hello {{username}}
+ {% trans with {'%username%' : username} %}
+ Hello %username%
{% endtrans %}
@@ -67,7 +67,7 @@
{% trans %}
- Copiez le code ci-dessous, retournez dans votre application et collez-le à l'endroit requis :
+ Copiez le code ci-dessous, retournez dans votre application et collez-le a l'endroit requis :
{% endtrans %}
diff --git a/templates/mobile/lightbox/feed.html.twig b/templates/mobile/lightbox/feed.html.twig
index 18419f4be7..0aca4f732c 100644
--- a/templates/mobile/lightbox/feed.html.twig
+++ b/templates/mobile/lightbox/feed.html.twig
@@ -21,9 +21,9 @@
{% set author = feed_entry.getAuthorName() %}
- {% trans %}Par {{ author }}{% endtrans %}
+ {% trans with {'%author%' : author} %}Par %author%{% endtrans %}
{% set entry_length = feed_entry.getItems()|length %}
- {% trans %}{{entry_length}} documents{% endtrans %}
+ {% trans with {'%entry_length%' : entry_length} %}%entry_length% documents{% endtrans %}
{% for item in feed_entry.getItems() %}
diff --git a/templates/mobile/lightbox/validate.html.twig b/templates/mobile/lightbox/validate.html.twig
index 0384c5ed91..0caa81edec 100644
--- a/templates/mobile/lightbox/validate.html.twig
+++ b/templates/mobile/lightbox/validate.html.twig
@@ -25,7 +25,7 @@
{% set basket_length = basket.getElements().count() %}
- {% trans %}{{basket_length}} documents{% endtrans %}
+ {% trans with {'%basket_length%' : basket_length} %}%basket_length% documents{% endtrans %}
{% for basket_element in basket.getElements() %}
diff --git a/templates/web/account/authorized_apps.html.twig b/templates/web/account/authorized_apps.html.twig
index aa0a6ab5ec..ead5e811c2 100644
--- a/templates/web/account/authorized_apps.html.twig
+++ b/templates/web/account/authorized_apps.html.twig
@@ -26,8 +26,8 @@
{% if application.get_creator() is not none %}
{% set user_name = application.get_creator().get_display_name() %}
- {% trans %}
- par {{ user_name }}
+ {% trans with {'%user_name%' : user_name} %}
+ par %user_name%
{% endtrans %}
{% endif%}
diff --git a/templates/web/account/base.html.twig b/templates/web/account/base.html.twig
index cfdc8f765c..a825f58482 100644
--- a/templates/web/account/base.html.twig
+++ b/templates/web/account/base.html.twig
@@ -1,5 +1,3 @@
-{% form_theme form 'web/login/common/fields.html.twig' %}
-
{% set jquery_theme = 'dark-hive' %}
{% set module = '' %}
diff --git a/templates/web/admin/collection/collection.html.twig b/templates/web/admin/collection/collection.html.twig
index 56bfa4267f..eeafd70c03 100644
--- a/templates/web/admin/collection/collection.html.twig
+++ b/templates/web/admin/collection/collection.html.twig
@@ -247,7 +247,7 @@
{% set supported_file_types = ['jpg', 'jpeg', 'pjpg', 'gif', 'png']|join(' | ') %}
- {% trans %} Invalid file type, only ({{ supported_file_types }}) file formats are supported {% endtrans %}
+ {% trans with {'%supported_file_types%' : supported_file_types} %}Invalid file type, only (%supported_file_types%) file formats are supported'{% endtrans %}