diff --git a/app/views/commencer/show.html.haml b/app/views/commencer/show.html.haml index 46d42a2df..d15e5cf6d 100644 --- a/app/views/commencer/show.html.haml +++ b/app/views/commencer/show.html.haml @@ -18,12 +18,12 @@ - if @prefilled_dossier %h2.huge-title= t('views.commencer.show.prefilled_draft') - %p= t('views.commencer.show.prefilled_draft_detail_html', time_ago: time_ago_in_words(@prefilled_dossier.created_at), procedure: @prefilled_dossier.procedure.libelle) + %p= t('views.commencer.show.prefilled_draft_detail_html', time_ago: time_ago_in_words(@prefilled_dossier.created_at), procedure: @procedure.libelle) = link_to t('views.commencer.show.go_to_prefilled_file'), brouillon_dossier_path(@prefilled_dossier), class: 'fr-btn fr-btn--lg fr-my-2w' - elsif stored_query_params? %h2.huge-title= t('views.commencer.show.prefilled_draft') - %p= t('views.commencer.show.prefill_dossier_detail_html') + %p= t('views.commencer.show.prefill_dossier_detail_html', procedure: @procedure.libelle) = link_to t('views.commencer.show.go_to_prefilled_file'), url_for_new_dossier(@revision), class: 'fr-btn fr-btn--lg fr-my-2w' - elsif dossiers.empty? diff --git a/config/locales/en.yml b/config/locales/en.yml index a90ad39c2..17d80a709 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -93,8 +93,8 @@ en: existing_dossiers: You already have files for this procedure show_dossiers: View my current files prefilled_draft: "You have a prefilled file" - prefilled_draft_detail_html: "You prefilled a file for the \"%{procedure}\" procedure %{time_ago} ago" - prefill_dossier_detail_html: "You are ready to continue a prefilled file." + prefilled_draft_detail_html: "You are ready to continue a prefilled file for the \"%{procedure}\" procedure, started %{time_ago} ago." + prefill_dossier_detail_html: "You are ready to continue a prefilled file for the \"%{procedure}\" procedure." already_draft: "You already started to fill a file" already_draft_detail_html: "You started to fill a file for the \"%{procedure}\" procedure %{time_ago} ago" already_not_draft: "You already submitted a file" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index b6088c3b7..efd5e4d63 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -84,8 +84,8 @@ fr: existing_dossiers: Vous avez déjà des dossiers pour cette démarche show_dossiers: Voir mes dossiers en cours prefilled_draft: "Vous avez un dossier prérempli" - prefilled_draft_detail_html: "Il y a %{time_ago}, vous avez prérempli un dossier sur la démarche « %{procedure} »." - prefill_dossier_detail_html: "Vous êtes prêt·e à poursuivre un dossier prérempli." + prefilled_draft_detail_html: "Vous êtes prêt·e à poursuivre un dossier prérempli sur la démarche « %{procedure} », commencé il y a %{time_ago}." + prefill_dossier_detail_html: "Vous êtes prêt·e à poursuivre un dossier prérempli sur la démarche « %{procedure} »." already_draft: "Vous avez déjà commencé à remplir un dossier" already_draft_detail_html: "Il y a %{time_ago}, vous avez commencé à remplir un dossier sur la démarche « %{procedure} »." already_not_draft: "Vous avez déjà déposé un dossier"