add en locales for champs
This commit is contained in:
parent
3ff7bc7234
commit
1af3b035ac
15 changed files with 82 additions and 3 deletions
6
config/locales/models/champs/address_champ/en.yml
Normal file
6
config/locales/models/champs/address_champ/en.yml
Normal 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"
|
6
config/locales/models/champs/commune_champ/en.yml
Normal file
6
config/locales/models/champs/commune_champ/en.yml
Normal 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"
|
6
config/locales/models/champs/date_champ/en.yml
Normal file
6
config/locales/models/champs/date_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/date_champ:
|
||||
hints:
|
||||
value: "Expected format: mm/dd/yyyy. Example: 01/15/2022"
|
|
@ -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"
|
||||
|
|
6
config/locales/models/champs/decimal_number_champ/en.yml
Normal file
6
config/locales/models/champs/decimal_number_champ/en.yml
Normal 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"
|
6
config/locales/models/champs/departement_champ/en.yml
Normal file
6
config/locales/models/champs/departement_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/departement_champ:
|
||||
hints:
|
||||
value: "Enter department code or name"
|
6
config/locales/models/champs/email_champ/en.yml
Normal file
6
config/locales/models/champs/email_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/email_champ:
|
||||
hints:
|
||||
value: "Expected format: name@domain.fr"
|
6
config/locales/models/champs/epci_champ/en.yml
Normal file
6
config/locales/models/champs/epci_champ/en.yml
Normal 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."
|
|
@ -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"
|
||||
|
|
6
config/locales/models/champs/pays_champ/en.yml
Normal file
6
config/locales/models/champs/pays_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/pays_champ:
|
||||
hints:
|
||||
value: "Enter country"
|
6
config/locales/models/champs/phone_champ/en.yml
Normal file
6
config/locales/models/champs/phone_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/phone_champ:
|
||||
hints:
|
||||
value: "Phone number must be valid"
|
6
config/locales/models/champs/region_champ/en.yml
Normal file
6
config/locales/models/champs/region_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/region_champ:
|
||||
hints:
|
||||
value: "Enter region"
|
|
@ -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"
|
||||
|
|
6
config/locales/models/champs/siret_champ/en.yml
Normal file
6
config/locales/models/champs/siret_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/siret_champ:
|
||||
hints:
|
||||
value: "Enter 14 digits, no space"
|
6
config/locales/models/champs/textarea_champ/en.yml
Normal file
6
config/locales/models/champs/textarea_champ/en.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/textarea_champ:
|
||||
hints:
|
||||
value: "Resize the field to enter more lines"
|
Loading…
Reference in a new issue