add en locales for champs

This commit is contained in:
Christophe Robillard 2023-09-25 15:33:48 +02:00
parent 3ff7bc7234
commit 1af3b035ac
15 changed files with 82 additions and 3 deletions

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/address_champ:
hints:
value: "Enter an address, a street, a city. Example: 11 rue Réaumur, Paris"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/commune_champ:
hints:
value: "Enter the municipality's zip code, then select the municipality from the list"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/date_champ:
hints:
value: "Expected format: mm/dd/yyyy. Example: 01/15/2022"

View file

@ -3,5 +3,4 @@ en:
attributes:
champs/datetime_champ:
hints:
value: "Expected format : dd/mm/yyyy hh:mm"
value: "Expected format: mm/dd/yyyy hh:mm. Example: 01/15/2022 12:00"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/decimal_number_champ:
hints:
value: "You can enter up to 3 decimal places after the decimal point"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/departement_champ:
hints:
value: "Enter department code or name"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/email_champ:
hints:
value: "Expected format: name@domain.fr"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/epci_champ:
hints:
value: "Enter the EPCI's department, then select the EPCI from the list."

View file

@ -6,4 +6,7 @@ en:
attributes:
value:
invalid_iban: is not a valid IBAN
attributes:
champs/iban_champ:
hints:
value: "Example (France) : FR76 1234 1234 1234 1234 1234 123"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/pays_champ:
hints:
value: "Enter country"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/phone_champ:
hints:
value: "Phone number must be valid"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/region_champ:
hints:
value: "Enter region"

View file

@ -8,3 +8,8 @@ en:
association_date_creation: Creation date
association_date_declaration: Declaration date
association_date_publication: Publication date
activerecord:
attributes:
champs/rna_champ:
hints:
value: "Expected format : W123456789. Exemple : W503726238"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/siret_champ:
hints:
value: "Enter 14 digits, no space"

View file

@ -0,0 +1,6 @@
en:
activerecord:
attributes:
champs/textarea_champ:
hints:
value: "Resize the field to enter more lines"