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) },
|
||||
required: champ.mandatory?,
|
||||
pattern: "[0-9]{14}",
|
||||
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
||||
title: t(".title")
|
||||
.spinner.right.hidden
|
||||
.siret-info{ id: dom_id(champ, :siret_info) }
|
||||
- if champ.etablissement.present?
|
||||
|
|
|
@ -26,6 +26,7 @@ en:
|
|||
identifiant_notice: It is usually composed of alphanumeric characters.
|
||||
siret:
|
||||
placeholder: "50000123456789"
|
||||
title: "The SIRET number must have exactly 14 digits"
|
||||
header:
|
||||
expires_at:
|
||||
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.
|
||||
siret:
|
||||
placeholder: "50000123456789"
|
||||
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
||||
header:
|
||||
expires_at:
|
||||
brouillon: "Expirera le %{date} (%{duree_conservation_totale} mois après la création du dossier)"
|
||||
|
|
Loading…
Reference in a new issue