i18n: move locale scope just after the key name

It helps i18n-tasks to understand the scope, and not report errors
about a missing key.
This commit is contained in:
Pierre de La Morinerie 2021-09-15 12:37:53 -05:00
parent 95d1cd6992
commit 1eefc151bc
4 changed files with 10 additions and 11 deletions

View file

@ -2,7 +2,7 @@
%tbody
- if etablissement.diffusable_commercialement == false && profile != 'instructeur'
%tr
%td= t('warning_for_private_info', etablissement: raison_sociale_or_name(etablissement), scope: 'views.shared.dossiers.identite_entreprise')
%td= t('warning_for_private_info', scope: 'views.shared.dossiers.identite_entreprise', etablissement: raison_sociale_or_name(etablissement))
- else
%tr
%th.libelle Dénomination :