fix(i18n): translate contextual procedure help dropdown

Cf #8665
This commit is contained in:
Colin Darie 2023-02-21 19:15:39 +01:00
parent 568c2f8f4e
commit 11fb3a5ca8
8 changed files with 22 additions and 13 deletions

View file

@ -1,8 +1,5 @@
%li{ role: 'none' }
= mail_to CONTACT_EMAIL, role: 'menuitem' do
%span.icon.mail
.dropdown-description
%span.help-dropdown-title
= t('help_dropdown.technical_contact_title')
%p
= t('help_dropdown.technical_contact_description', contact_email: CONTACT_EMAIL)
= mail_to CONTACT_EMAIL, role: 'menuitem' do
%span.fr-icon-mail-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" }
.dropdown-description.fr-text--sm
%span.help-dropdown-title= t('help_dropdown.technical_contact_title')
%p.fr-text--sm= t('help_dropdown.technical_contact_description', contact_email: CONTACT_EMAIL)

View file

@ -1,5 +1,6 @@
= link_to messagerie_dossier_path(dossier), role: 'menuitem' do
%span.icon.mail
.dropdown-description
.dropdown-description.fr-text--sm
%span.help-dropdown-title= title
%p Envoyez directement un message à linstructeur.
%p.fr-text--sm= t('help_dropdown.contact_instructeur')

View file

@ -2,7 +2,7 @@
.dropdown-description
%span.help-dropdown-title= title
.help-dropdown-service-action
%p Contactez directement ladministration :
%p= t('help_dropdown.contact_administration')
%p.help-dropdown-service-item
%span.icon.small.mail
= link_to service.email, "mailto:#{service.email}", role: 'menuitem'