From 8310a3d4b9cc4d0882d6a4dfc5075888b2aba292 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 9 Jun 2020 10:07:30 +0200 Subject: [PATCH] Use correct locale for participation emails For anonymous participations we now use a locale parameter in metadata Signed-off-by: Thomas Citharel --- .../ParticipationWithoutAccount.vue | 27 +++++--- js/src/graphql/event.ts | 5 +- js/yarn.lock | 62 +++++++++---------- lib/graphql/resolvers/participant.ex | 5 +- lib/graphql/schema/events/participant.ex | 2 + lib/mobilizon/events/participant.ex | 3 +- lib/web/email/participation.ex | 9 +-- 7 files changed, 66 insertions(+), 47 deletions(-) diff --git a/js/src/components/Participation/ParticipationWithoutAccount.vue b/js/src/components/Participation/ParticipationWithoutAccount.vue index 2cdd79605..14a45b06e 100644 --- a/js/src/components/Participation/ParticipationWithoutAccount.vue +++ b/js/src/components/Participation/ParticipationWithoutAccount.vue @@ -1,6 +1,6 @@