refactor(iban): i18n extraction of input title attribute

This commit is contained in:
Colin Darie 2022-07-04 19:06:24 +02:00
parent 9768f4e1c9
commit e0c5608218
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 3 additions and 1 deletions

View file

@ -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?

View file

@ -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)"

View file

@ -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)"