Merge pull request #8835 from tchak/fix-champ-commune

fix(commune): improuve label and error message
This commit is contained in:
Paul Chavard 2023-04-03 09:56:57 +00:00 committed by GitHub
commit 8945777b56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
---
en:
postal_code: Postal code of the municipality
not_found: No municipality found for postal code %{postal_code}
postal_code: Enter the postal code then select the municipality from the list
not_found: No municipality found for postal code %{postal_code}. Please check that you haven't made any mistakes.

View file

@ -1,4 +1,4 @@
---
fr:
postal_code: Code postal de la commune
not_found: Aucune commune trouvée pour le code postal %{postal_code}
postal_code: Renseignez le code postal puis sélectionnez la commune dans la liste
not_found: Aucune commune trouvée pour le code postal %{postal_code}. Verifiez que vous n'avez pas fait derreur.

View file

@ -44,7 +44,7 @@ describe 'The user' do
select('Australie', from: form_id_for('pays'))
select('Martinique', from: form_id_for('regions'))
select('02 Aisne', from: form_id_for('departements'))
fill_in('Code postal de la commune', with: '60400')
fill_in('Renseignez le code postal puis sélectionnez la commune dans la liste', with: '60400')
select('Brétigny (60400)', from: form_id_for('communes'))
fill_in('dossier_link', with: '123')