feat(i18n): translate notification emails actions
This commit is contained in:
parent
6eb072e69f
commit
89d9a4a477
3 changed files with 14 additions and 3 deletions
|
@ -4,10 +4,10 @@
|
|||
- variant = (index == 0 ? :primary : :secondary)
|
||||
- case action
|
||||
- when MailTemplateConcern::Actions::SHOW
|
||||
= round_button('Consulter mon dossier', dossier_url(@dossier), variant)
|
||||
= round_button(t(:access, scope: [:layouts, :notifications, :actions]), dossier_url(@dossier), variant)
|
||||
- when MailTemplateConcern::Actions::ASK_QUESTION
|
||||
= round_button('J’ai une question', messagerie_dossier_url(@dossier), variant)
|
||||
= round_button(t(:question, scope: [:layouts, :notifications, :actions]), messagerie_dossier_url(@dossier), variant)
|
||||
- when MailTemplateConcern::Actions::REPLY
|
||||
= round_button('Répondre à ce message', messagerie_dossier_url(@dossier), variant)
|
||||
= round_button(t(:reply, scope: [:layouts, :notifications, :actions]), messagerie_dossier_url(@dossier), variant)
|
||||
|
||||
= vertical_margin(5)
|
||||
|
|
|
@ -56,6 +56,11 @@ en:
|
|||
signature:
|
||||
greeting: Dear Sir or Madam,
|
||||
best_regards: Best Regards,
|
||||
notifications:
|
||||
actions:
|
||||
access: View your File
|
||||
question: I have a question
|
||||
reply: Reply to this message
|
||||
views:
|
||||
commencer:
|
||||
show:
|
||||
|
|
|
@ -46,6 +46,12 @@ fr:
|
|||
signature:
|
||||
greeting: Bonjour,
|
||||
best_regards: Bonne journée,
|
||||
notifications:
|
||||
actions:
|
||||
access: Consulter mon dossier
|
||||
question: J’ai une question
|
||||
reply: Répondre à ce message
|
||||
|
||||
views:
|
||||
commencer:
|
||||
show:
|
||||
|
|
Loading…
Reference in a new issue