Internationalize title and specify current stage

This commit is contained in:
Corinne Durrmeyer 2024-09-24 14:43:59 +02:00
parent 1762e359d8
commit 56adb34890
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
3 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,4 @@
- content_for(:title, "Nouveau dossier (#{@dossier.procedure.libelle})")
- content_for(:title, t(".title", scope: :metas, procedure_label: @dossier.procedure.libelle))
= render partial: "shared/dossiers/submit_is_over", locals: { dossier: @dossier }

View file

@ -7,6 +7,8 @@ en:
index:
title: Files
title_search: "Search: %{terms}"
identite:
title: "New file (%{procedure_label}) - Step 1: Identity"
show:
title: "Summary · File nº %{number} (%{procedure_label})"
demande:

View file

@ -7,6 +7,8 @@ fr:
index:
title: Dossiers
title_search: "Recherche : %{terms}"
identite:
title: "Nouveau dossier (%{procedure_label}) - Étape 1 : Identité"
show:
title: "Résumé · Dossier nº %{number} (%{procedure_label})"
demande: