diff --git a/app/views/administrateurs/procedures/all.html.haml b/app/views/administrateurs/procedures/all.html.haml index 2a32eea3f..bec7ffa42 100644 --- a/app/views/administrateurs/procedures/all.html.haml +++ b/app/views/administrateurs/procedures/all.html.haml @@ -47,7 +47,7 @@ = f.collection_check_boxes :statuses, ['publiee', 'close'], :to_s, :to_s, include_hidden: false do |b| .fr-checkbox-group.fr-ml-2w = b.check_box(checked: @statuses&.include?(b.value), 'data-action': 'autosubmit#submit') - = b.label(class: 'fr-label') { b.text } + = b.label(class: 'fr-label') { t b.text, scope: 'activerecord.attributes.procedure.aasm_state' } .fr-col-9 .fr-table.fr-table--bordered @@ -80,7 +80,7 @@ %td= procedure.libelle %td= procedure.id %td= procedure.administrateurs.count - %td= procedure.aasm_state + %td= t procedure.aasm_state, scope: 'activerecord.attributes.procedure.aasm_state' %td= l(procedure.published_at, format: :message_date_without_time) %tr.hidden{'data-expand-target': 'content'} %td.fr-highlight--beige-gris-galet{colspan: '6'} diff --git a/config/locales/models/procedure/en.yml b/config/locales/models/procedure/en.yml index faabb27b6..fcb23826e 100644 --- a/config/locales/models/procedure/en.yml +++ b/config/locales/models/procedure/en.yml @@ -10,10 +10,11 @@ en: organisation: Service duree_conservation_dossiers_dans_ds: Duration files will be kept max_duree_conservation_dossiers_dans_ds: Max duration allowed to keep files - aasm_state/brouillon: Draft - aasm_state/publiee: Published - aasm_state/close: Close - aasm_state/hidden: Destroyed + aasm_state: + brouillon: Draft + publiee: Published + close: Closed + hidden: Destroyed declarative_with_state/en_instruction: Instruction declarative_with_state/accepte: Accepted api_particulier_token: Token API Particulier diff --git a/config/locales/models/procedure/fr.yml b/config/locales/models/procedure/fr.yml index 83afb7d17..b13eb43b9 100644 --- a/config/locales/models/procedure/fr.yml +++ b/config/locales/models/procedure/fr.yml @@ -10,10 +10,11 @@ fr: organisation: Organisme duree_conservation_dossiers_dans_ds: Durée de conservation des dossiers sur demarches-simplifiees.fr (choisi par un usager) max_duree_conservation_dossiers_dans_ds: Durée de conservation des dossiers maximum (autorisé par un super admin de DS) - aasm_state/brouillon: Brouillon - aasm_state/publiee: Publiée - aasm_state/close: Close - aasm_state/hidden: Suprimée + aasm_state: + brouillon: Brouillon + publiee: Publiée + close: Close + hidden: Supprimée declarative_with_state/en_instruction: En instruction declarative_with_state/accepte: Accepté api_particulier_token: Jeton API Particulier