🌐 Improve FR translation and add i18n

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
mathieu.brunot 2021-03-04 07:57:29 +01:00 committed by Andrey Antukh
parent df0dcc587f
commit 1f7ddc081a
2 changed files with 29 additions and 3 deletions

View file

@ -94,7 +94,7 @@
on-success
(mf/use-callback
(mf/deps team)
(st/emitf (dm/success "Invitation sent successfully")
(st/emitf (dm/success (tr "notifications.invitation-email-sent"))
(modal/hide)))
on-error
@ -139,7 +139,7 @@
:options roles}]]
[:div.action-buttons
[:& fm/submit-button {:label "Send invitation"}]]]]))
[:& fm/submit-button {:label (tr "modals.invite-member-confirm.accept")]]]]))
(mf/defc team-member