Skip to content

Commit

Permalink
lint: Refactor i18n keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Dec 1, 2023
1 parent 81bb494 commit 496316b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
4 changes: 4 additions & 0 deletions config/i18n-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ ignore_missing:
- decidim.initiatives.initiatives.show.illegal.{title,description}
- decidim.initiatives.create_initiative.select_initiative_type.*
- decidim.admin.organization_appearance.form.images.*
- decidim.devise.registrations.new.*
- devise.failure.invited
- devise.registrations.new.sign_up


# Consider these keys used:
ignore_unused:
Expand Down
14 changes: 7 additions & 7 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@ en:
name: Authorization procedure
devise:
registrations:
form:
errors:
messages:
over_16: You must be over 16 years old to access this service.
new:
address: Address
birth_date: Date of birth
birth_date_help: You must be over 16 years old to access this service.
certification: Certification CESE
city: City
news_cese: Do you want to receive news from CESE ?
postal_code: Postal code
code: Postal code
help_message: Please fill the postal code field to be able to select your city
birth_date_help: You must be over 16 years old to access this service.
news_cese: Do you want to receive news from CESE ?
personal_data_step: Personal data
form:
errors:
messages:
over_16: You must be over 16 years old to access this service.
sessions:
new:
sign_in_disabled: Sign in disabled
Expand Down
11 changes: 5 additions & 6 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,20 @@ fr:
name: Procédure d'autorisation
devise:
registrations:
form:
errors:
messages:
over_16: Vous devez avoir plus de 16 ans pour accéder à ce service.
new:
address: Addresse
birth_date: Date de naissance
birth_date_help: Vous devez avoir plus de 16 ans pour avoir accès à ce service.
certification: Je certifie l'exactitude de ces informations.
city: Ville
code: Code postal
news_cese: Souhaitez-vous recevoir les actualités du CESE ?
help_message: Veuillez renseigner votre code postal pour choisir la ville
postal_code: Code postal
news_cese: Souhaitez-vous recevoir les actualités du CESE ?
personal_data_step: Informations personnelles
form:
errors:
messages:
over_16: Vous devez avoir plus de 16 ans pour accéder à ce service.
sessions:
new:
sign_in_disabled: Vous pouvez accéder avec un compte externe
Expand Down

0 comments on commit 496316b

Please sign in to comment.