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 @@

{{ 'Erreur de login / mot de passe' | trans }}

{% endif %}

- {% trans %} - Bonjour, veuillez vous identifier sur {{home_title}} : + {% trans with {'%home_title%' : home_title} %} + Bonjour, veuillez vous identifier sur %home_title% : {% endtrans %}

@@ -60,8 +60,8 @@ {% set username = '' ~ app['authentication'].getUser().get_display_name() ~ '' %}

- {% trans %} - Hello {{username}} + {% trans with {'%username%' : username} %} + Hello %username% {% endtrans %}

@@ -69,13 +69,13 @@ {% if auth.getClient() is not none %}
-

{% 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() ~ '' %}
@@ -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 %}