refactor(instructeurs import): extract import in a component
This commit is contained in:
parent
822f856ae9
commit
ee71a8479f
13 changed files with 79 additions and 82 deletions
|
@ -30,19 +30,3 @@ en:
|
|||
instructeur_emails: Email addresses of the instructors you want to assign to this procedure
|
||||
copy_paste_hint: "You can enter addresses individually, or copy-paste a list of addresses separated by semicolons into the field below (example: adress1@mail.com; adress2@mail.com; adress3@mail.com)."
|
||||
actions: Remove
|
||||
import:
|
||||
csv_import:
|
||||
import_file: Import file
|
||||
import_file_alert: All instructors added to the procedure will be notified by email. Do you want to continue?
|
||||
file_to_import: File to import
|
||||
groupes:
|
||||
title: Bulk Import / Export
|
||||
notice_1_html: For the import, your csv file must have <strong>2 columns (Group, Email)</strong> (see file model below). The file size must be less than %{csv_max_size}.
|
||||
notice_2_html: The import does not overwrite existing groups and instructors. It only allows you to <strong>add them</strong>.
|
||||
instructeurs:
|
||||
title: Adding instructors with file import
|
||||
notice_1_html: For the import, your csv file must have <strong>1 column (Email)</strong> listing the email addresses of the instructors (see file model below). The file size must be less than %{csv_max_size}.
|
||||
notice_2_html: The import does not overwrite existing instructors. It only allows you to <strong>add them</strong>.
|
||||
existing_groupe:
|
||||
one: "%{count} groupe existe"
|
||||
other: "%{count} groupes existent"
|
||||
|
|
|
@ -38,22 +38,6 @@ fr:
|
|||
copy_paste_hint: "Vous pouvez saisir les adresses individuellement, ou bien copier-coller dans le champ ci-dessous une liste d’adresses séparées par des points-virgules (exemple : adresse1@mail.com; adresse2@mail.com; adresse3@mail.com)."
|
||||
actions: Retirer
|
||||
import:
|
||||
csv_import:
|
||||
import_file: Importer le fichier
|
||||
import_file_alert: Tous les instructeurs ajoutés à la procédure vont être notifiés par email. Voulez-vous continuer ?
|
||||
file_to_import: Fichier à importer
|
||||
download_template: Modèle à télécharger
|
||||
groupes:
|
||||
title: Import / Export en masse
|
||||
notice_1_html: Pour l’import, votre fichier csv doit comporter <strong>2 colonnes (Groupe, Email)</strong> (voir modèle de fichier ci-dessous). Le poids du fichier doit être inférieur à %{csv_max_size}.
|
||||
notice_2_html: L’import n’écrase pas les groupes et instructeurs existants. Il permet uniquement <strong>d’en ajouter</strong>.
|
||||
instructeurs:
|
||||
title: Ajout d’instructeurs avec import de fichier
|
||||
notice_1_html: Pour l’import, votre fichier csv doit comporter <strong>1 seule colonne (Email)</strong> listant les adresses emails des instructeurs (voir modèle de fichier ci-dessous). Le poids du fichier doit être inférieur à %{csv_max_size}.
|
||||
notice_2_html: L’import n’écrase pas les instructeurs existants. Il permet uniquement <strong>d’en ajouter</strong>.
|
||||
existing_groupe:
|
||||
one: "%{count} groupe existe"
|
||||
other: "%{count} groupes existent"
|
||||
groupe:
|
||||
one: "%{count} groupe"
|
||||
other: "%{count} groupes"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue