diff --git a/templates/mobile/api/auth/end_user_authorization.html.twig b/templates/mobile/api/auth/end_user_authorization.html.twig index abb7ec1fe3..67ee696571 100644 --- a/templates/mobile/api/auth/end_user_authorization.html.twig +++ b/templates/mobile/api/auth/end_user_authorization.html.twig @@ -40,19 +40,19 @@ {% endfor %} {% if errorMessage %} -

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

+

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

{% endif %}

{% trans %} Bonjour, veuillez vous identifier sur {{home_title}} : {% endtrans %}

- - - + + +

- {% trans 'Problèmes de connexion ?' %} + {{ 'Problèmes de connexion ?' | trans }}

{% else %} @@ -87,14 +87,14 @@ {% endfor %} - +
{% for key,value in auth.getParams %} {% endfor %} - +
{% endif %} 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 eb11163e4f..a9f4d1de7b 100644 --- a/templates/mobile/api/auth/native_app_access_token.html.twig +++ b/templates/mobile/api/auth/native_app_access_token.html.twig @@ -4,9 +4,9 @@ {% if error is defined %} - {% trans 'Fail' %} + {{ 'Fail' | trans }} {% else %} - {% trans 'Success' %} + {{ 'Success' | trans }} {% endif %} diff --git a/templates/mobile/lightbox/basket_element.html.twig b/templates/mobile/lightbox/basket_element.html.twig index f98d193a67..9736e9a1bb 100644 --- a/templates/mobile/lightbox/basket_element.html.twig +++ b/templates/mobile/lightbox/basket_element.html.twig @@ -39,14 +39,14 @@ {% if basket_element.getBasket().getValidation().getParticipant(app['authentication'].getUser(), app).getCanAgree() %}
- + - +
{% endif %}
- {% trans 'validation:: editer ma note' %} + {{ 'validation:: editer ma note' | trans }}
diff --git a/templates/mobile/lightbox/error.html.twig b/templates/mobile/lightbox/error.html.twig index ada374a922..7df94e735a 100644 --- a/templates/mobile/lightbox/error.html.twig +++ b/templates/mobile/lightbox/error.html.twig @@ -12,10 +12,10 @@

{{module_name}}

-

{% trans 'Erreur !' %}

-

{% trans 'Le panier demande nexiste plus' %}

+

{{ 'Erreur !' | trans }}

+

{{ 'Le panier demande nexiste plus' | trans }}

{{error}}

-

{% trans 'Retour a l\'accueil' %}

+

{{ 'Retour a l\'accueil' | trans }}

diff --git a/templates/mobile/lightbox/feed.html.twig b/templates/mobile/lightbox/feed.html.twig index c16994b940..18419f4be7 100644 --- a/templates/mobile/lightbox/feed.html.twig +++ b/templates/mobile/lightbox/feed.html.twig @@ -13,7 +13,7 @@

{{feed_entry.getTitle()}}

- {% trans 'Home' %} + {{ 'Home' | trans }}

diff --git a/templates/mobile/lightbox/index.html.twig b/templates/mobile/lightbox/index.html.twig index 2f10b3cbef..8952785d68 100644 --- a/templates/mobile/lightbox/index.html.twig +++ b/templates/mobile/lightbox/index.html.twig @@ -36,21 +36,21 @@

{{module_name}}

- {% trans 'a propos'%} + {{ 'a propos' | trans }}
@@ -60,7 +60,7 @@
-

{% trans 'a propos'%}

+

{{ 'a propos' | trans }}

Phraseanet Version {{ app['phraseanet.version'].getName() }} - {{ app['phraseanet.version'].getNumber() }}

@@ -79,12 +79,12 @@
- {% trans 'Back' %} -

{% trans 'Validations'%}

+ {{ 'Back' | trans }} +

{{ 'Validations' | trans }}

- {% trans 'Voici vos validations en cours' %} + {{ 'Voici vos validations en cours' | trans }}