wording(instructeurs management): update translations
This commit is contained in:
parent
bac54ba214
commit
59fe8b64c4
8 changed files with 38 additions and 17 deletions
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
en:
|
||||
title: Instructors
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
fr:
|
||||
title: Instructeurs
|
|
@ -1,5 +1,5 @@
|
|||
- content_for(:title, 'Instructeurs')
|
||||
%h1.fr-h2 Instructeurs
|
||||
- content_for(:title, t('.title'))
|
||||
%h1.fr-h2=t('.title')
|
||||
|
||||
= render partial: 'administrateurs/groupe_instructeurs/import_export',
|
||||
locals: { procedure: @procedure }
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
en:
|
||||
instructeurs:
|
||||
one: "%{count} instructor"
|
||||
other: "%{count} instructors"
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
.card
|
||||
= render Procedure::InvitationWithTypoComponent.new(maybe_typos: @maybe_typos, url: add_instructeur_admin_procedure_groupe_instructeur_path(@procedure, groupe_instructeur.id), title: "Avant d'ajouter l'email, veuillez confirmer" )
|
||||
.card-title Affectation des instructeurs
|
||||
.card-title= t('.instructeur_assignation')
|
||||
= form_for :instructeur, url: { action: :add_instructeur, id: groupe_instructeur.id }, html: { class: 'form' } do |f|
|
||||
.instructeur-wrapper
|
||||
- if !procedure.routing_enabled?
|
||||
%p Entrez les adresses email des instructeurs que vous souhaitez affecter à cette démarche
|
||||
%p=t('.instructeur_emails')
|
||||
|
||||
- if disabled_as_super_admin
|
||||
= f.select :emails, available_instructeur_emails, {}, disabled: disabled_as_super_admin, id: 'instructeur_emails'
|
||||
|
@ -13,7 +13,7 @@
|
|||
%react-fragment
|
||||
= render ReactComponent.new 'ComboBox/MultiComboBox', items: available_instructeur_emails, id: 'instructeur_emails', name: 'emails[]', allows_custom_value: true, 'aria-label': 'Emails'
|
||||
|
||||
= f.submit 'Affecter', class: 'fr-btn', disabled: disabled_as_super_admin
|
||||
= f.submit t('.assign'), class: 'fr-btn', disabled: disabled_as_super_admin
|
||||
|
||||
%table.fr-table.fr-mt-2w.width-100
|
||||
%thead
|
||||
|
@ -27,7 +27,7 @@
|
|||
#{instructeur.email}
|
||||
|
||||
- confirmation_message = procedure.routing_enabled? ? "Êtes-vous sûr de vouloir retirer l’instructeur « #{instructeur.email} » du groupe « #{groupe_instructeur.label} » ?" : "Êtes-vous sûr de vouloir retirer l’instructeur « #{instructeur.email} » de la démarche ?"
|
||||
%td.actions= button_to 'Retirer',
|
||||
%td.actions= button_to t('.remove'),
|
||||
{ action: :remove_instructeur, id: groupe_instructeur.id },
|
||||
{ method: :delete,
|
||||
data: { confirm: confirmation_message },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue