refactor(iban): i18n extraction of input title attribute
This commit is contained in:
parent
9768f4e1c9
commit
e0c5608218
3 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
data: { controller: 'turbo-input', turbo_input_url_value: champs_siret_path(champ.id) },
|
data: { controller: 'turbo-input', turbo_input_url_value: champs_siret_path(champ.id) },
|
||||||
required: champ.mandatory?,
|
required: champ.mandatory?,
|
||||||
pattern: "[0-9]{14}",
|
pattern: "[0-9]{14}",
|
||||||
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
title: t(".title")
|
||||||
.spinner.right.hidden
|
.spinner.right.hidden
|
||||||
.siret-info{ id: dom_id(champ, :siret_info) }
|
.siret-info{ id: dom_id(champ, :siret_info) }
|
||||||
- if champ.etablissement.present?
|
- if champ.etablissement.present?
|
||||||
|
|
|
@ -26,6 +26,7 @@ en:
|
||||||
identifiant_notice: It is usually composed of alphanumeric characters.
|
identifiant_notice: It is usually composed of alphanumeric characters.
|
||||||
siret:
|
siret:
|
||||||
placeholder: "50000123456789"
|
placeholder: "50000123456789"
|
||||||
|
title: "The SIRET number must have exactly 14 digits"
|
||||||
header:
|
header:
|
||||||
expires_at:
|
expires_at:
|
||||||
brouillon: "Expires on %{date} (%{duree_conservation_totale} months after this file was created)"
|
brouillon: "Expires on %{date} (%{duree_conservation_totale} months after this file was created)"
|
||||||
|
|
|
@ -26,6 +26,7 @@ fr:
|
||||||
identifiant_notice: Il est généralement composé de caractères alphanumériques.
|
identifiant_notice: Il est généralement composé de caractères alphanumériques.
|
||||||
siret:
|
siret:
|
||||||
placeholder: "50000123456789"
|
placeholder: "50000123456789"
|
||||||
|
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
||||||
header:
|
header:
|
||||||
expires_at:
|
expires_at:
|
||||||
brouillon: "Expirera le %{date} (%{duree_conservation_totale} mois après la création du dossier)"
|
brouillon: "Expirera le %{date} (%{duree_conservation_totale} mois après la création du dossier)"
|
||||||
|
|
Loading…
Reference in a new issue