From 184a664bf9effe7fcee57264dc18c6f78e33ab66 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Sat, 19 Mar 2022 11:25:56 +0100 Subject: [PATCH] english text translated in thirdparty view page --- CHANGELOG.md | 1 + .../Resources/views/ThirdParty/view.html.twig | 4 ++-- src/Bundle/ChillThirdPartyBundle/translations/messages.fr.yml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff62b029c..f25611dc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ and this project adheres to * [contact] add contact button color changed plus the pipe at the side removed (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/506) * [household] create-edit household composition placed in separate page to avoid confusion (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/505) * [blur] Improved positioning of toggle icon (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/486) +* [thirdparty] Thirdparty view page, english text translated (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/534) ## Test releases diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/view.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/view.html.twig index c4f2bcfbd..759ba5918 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/view.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/view.html.twig @@ -60,7 +60,7 @@ {% if types|length > 0 %} {{ types|join(', ') }} {% else %} -

{{ 'thirdParty.Any categories' }}

+

{{ 'thirdparty.no_categories' }}

{% endif %} @@ -110,7 +110,7 @@
{{ 'Contacts'|trans }}
{% if thirdParty.activeChildren|length == 0 %} -

{{ 'Any contacts associated'|trans }}

+

{{ 'No contacts associated'|trans }}

{% else %}
{% for tp in thirdParty.activeChildren %} diff --git a/src/Bundle/ChillThirdPartyBundle/translations/messages.fr.yml b/src/Bundle/ChillThirdPartyBundle/translations/messages.fr.yml index 20b45a398..9c8091307 100644 --- a/src/Bundle/ChillThirdPartyBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillThirdPartyBundle/translations/messages.fr.yml @@ -63,13 +63,13 @@ Show thirdparty: Voir le tiers Add a contact: Ajouter un contact Remove a contact: Supprimer Contacts: Contacts -Any contact: Aucun contact +No contacts associated: Aucun contact No nameCompany given: Aucune raison sociale renseignée No acronym given: Aucun sigle renseigné No phone given: Aucun téléphone renseigné No email given: Aucune adresse courriel renseignée -thirdparty.Any categories: Aucune catégorie +thirdparty.no_categories: Aucune catégorie The party is visible in those centers: Le tiers est visible dans ces centres The party is not visible in any center: Le tiers n'est associé à aucun centre