demarches-normaliennes/config/locales
Pierre de La Morinerie b8f71bd52c i18n: fix enum values for Dossier.state
According to Rails i18n guide, enum values should be localized
as `<model>/<enum>`, not as sub-values to the attribute.

This fixes an exception in administrate when displaying a Dossier
in the Manager.

Note: we need to change the way GraphQL attributes are generated, because
`AASM::Core::State#display_name` doesn’t honor the `model/attribute.value`
convention (and instead tries to localize as `model.attribute/value`).
So instead we lookup the localized name using ActiveRecord.
2021-05-06 14:38:25 +02:00
..
dynamics Procédure → Démarche 2018-09-05 15:46:24 +02:00
models i18n: fix enum values for Dossier.state 2021-05-06 14:38:25 +02:00
views Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation" 2021-05-04 16:03:29 +02:00
active_storage_validations.fr.yml better translations 2020-09-25 09:35:16 +00:00
en.yml password: add password reset instructions 2021-04-20 09:34:53 +02:00
flipflop.fr.yml Add translations for flipflop 2018-05-22 12:22:07 +02:00
fr.yml i18n: add unbreakable spaces to reset_link_sent locales 2021-04-27 13:56:57 +02:00
simple_form.en.yml Use ’ consistently instead of ' 2020-03-26 17:27:48 +01:00
simple_form.fr.yml Change controller name according to model name, add simple_form 2017-01-24 15:53:42 +01:00
smart_listing.fr.yml Files should end with a new line 2017-04-04 16:59:38 +02:00
time_format.en.rb messagerie: better format message dates 2018-09-07 12:02:26 +02:00
time_format.fr.rb messagerie: better format message dates 2018-09-07 12:02:26 +02:00