chore(i18n): translate meta title for main user pages
This commit is contained in:
parent
70d4d7848b
commit
762942f468
8 changed files with 37 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
- content_for(:root_class, 'scroll-margins-for-sticky-footer')
|
||||
- content_for(:title, "Modification du brouillon nº #{@dossier.id} (#{@dossier.procedure.libelle})")
|
||||
- content_for(:title, t(".title", scope: :metas, number: @dossier.id.to_s, procedure_label: @dossier.procedure.libelle))
|
||||
|
||||
- content_for :footer do
|
||||
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title, "Demande · Dossier nº#{@dossier.id} (#{@dossier.procedure.libelle})")
|
||||
- content_for(:title, t(".title", scope: :metas, number: @dossier.id.to_s, procedure_label: @dossier.procedure.libelle))
|
||||
|
||||
- content_for :footer do
|
||||
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- if @search_terms.present?
|
||||
- content_for(:title, "Recherche : #{@search_terms}")
|
||||
- content_for(:title, t(".title_search", scope: :metas, terms: @search_terms))
|
||||
- else
|
||||
- content_for(:title, "Dossiers")
|
||||
- content_for(:title, t(".title", scope: :metas))
|
||||
|
||||
- content_for :footer do
|
||||
= render partial: "users/dossiers/index_footer"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title, "Dossier bien envoyé (#{@dossier.procedure.libelle})")
|
||||
- content_for(:title, t(".title", scope: :metas, procedure_label: @dossier.procedure.libelle))
|
||||
|
||||
- content_for :footer do
|
||||
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title, "Messagerie · Dossier nº #{@dossier.id} (#{@dossier.procedure.libelle})")
|
||||
- content_for(:title, t(".title", scope: :metas, number: @dossier.id.to_s, procedure_label: @dossier.procedure.libelle))
|
||||
|
||||
- content_for :footer do
|
||||
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title, "Résumé · Dossier nº #{@dossier.id} (#{@dossier.procedure.libelle})")
|
||||
- content_for(:title, t(".title", scope: :metas, number: @dossier.id.to_s, procedure_label: @dossier.procedure.libelle))
|
||||
|
||||
- content_for :footer do
|
||||
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
|
||||
|
|
|
@ -2,3 +2,18 @@ en:
|
|||
metas:
|
||||
signin:
|
||||
title: "Sign-in"
|
||||
users:
|
||||
dossiers:
|
||||
index:
|
||||
title: Files
|
||||
title_search: "Search: %{terms}"
|
||||
show:
|
||||
title: "Summary · File nº %{number} (%{procedure_label})"
|
||||
demande:
|
||||
title: "Application · File nº %{number} (%{procedure_label})"
|
||||
messagerie:
|
||||
title: "Mailbox · File nº %{number} (%{procedure_label})"
|
||||
brouillon:
|
||||
title: "Modification of draft nº %{number} (%{procedure_label})"
|
||||
merci:
|
||||
title: "File submitted (%{procedure_label})"
|
||||
|
|
|
@ -2,3 +2,18 @@ fr:
|
|||
metas:
|
||||
signin:
|
||||
title: "Se connecter"
|
||||
users:
|
||||
dossiers:
|
||||
index:
|
||||
title: Dossiers
|
||||
title_search: "Recherche : %{terms}"
|
||||
show:
|
||||
title: "Résumé · Dossier nº %{number} (%{procedure_label})"
|
||||
demande:
|
||||
title: "Demande · Dossier nº %{number} (%{procedure_label})"
|
||||
messagerie:
|
||||
title: "Messagerie · Dossier nº %{number} (%{procedure_label})"
|
||||
brouillon:
|
||||
title: "Modification du brouillon nº %{number} (%{procedure_label})"
|
||||
merci:
|
||||
title: "Dossier envoyé (%{procedure_label})"
|
||||
|
|
Loading…
Reference in a new issue