Send notification emails to followers and members when a group publishes

a new event

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-11-10 16:36:32 +01:00
parent 800060a926
commit 5c7067b22b
65 changed files with 5491 additions and 2767 deletions

View File

@@ -110,13 +110,14 @@ msgid "Current profile is not an administrator of the selected group"
msgstr "Nykyinen profiili ei ole valitun ryhmän ylläpitäjä"
#, elixir-format
#: lib/graphql/resolvers/user.ex:592
#: lib/graphql/resolvers/user.ex:593
msgid "Error while saving user settings"
msgstr "Käyttäjän asetusten tallennuksessa tapahtui virhe"
#, elixir-format
#: lib/graphql/error.ex:99 lib/graphql/resolvers/group.ex:242
#: lib/graphql/resolvers/group.ex:274 lib/graphql/resolvers/group.ex:311 lib/graphql/resolvers/member.ex:79
#: lib/graphql/resolvers/group.ex:274 lib/graphql/resolvers/group.ex:311 lib/graphql/resolvers/group.ex:342
#: lib/graphql/resolvers/group.ex:391 lib/graphql/resolvers/member.ex:79
msgid "Group not found"
msgstr "Ryhmää ei löydy"
@@ -155,6 +156,7 @@ msgstr "Käyttäjää, jolla on tämä sähköpostiosoite ei löydy"
#: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/participant.ex:32 lib/graphql/resolvers/participant.ex:210 lib/graphql/resolvers/person.ex:236
#: lib/graphql/resolvers/person.ex:353 lib/graphql/resolvers/person.ex:380 lib/graphql/resolvers/person.ex:397
#: lib/graphql/resolvers/person.ex:425 lib/graphql/resolvers/person.ex:440
msgid "Profile is not owned by authenticated user"
msgstr "Profiili ei ole tunnistautuneen käyttäjän omistuksessa"
@@ -164,33 +166,33 @@ msgid "Registrations are not open"
msgstr "Ei voi rekisteröityä"
#, elixir-format
#: lib/graphql/resolvers/user.ex:407
#: lib/graphql/resolvers/user.ex:408
msgid "The current password is invalid"
msgstr "Nykyinen salasana ei kelpaa"
#, elixir-format
#: lib/graphql/resolvers/user.ex:450
#: lib/graphql/resolvers/user.ex:451
msgid "The new email doesn't seem to be valid"
msgstr "Uusi sähköpostiosoite ei vaikuta kelvolliselta"
#, elixir-format
#: lib/graphql/resolvers/user.ex:453
#: lib/graphql/resolvers/user.ex:454
msgid "The new email must be different"
msgstr "Uuden sähköpostiosoitteen on poikettava vanhasta"
#, elixir-format
#: lib/graphql/resolvers/user.ex:410
#: lib/graphql/resolvers/user.ex:411
msgid "The new password must be different"
msgstr "Uuden salasanan on poikettava vanhasta"
#, elixir-format
#: lib/graphql/resolvers/user.ex:457 lib/graphql/resolvers/user.ex:519
#: lib/graphql/resolvers/user.ex:522
#: lib/graphql/resolvers/user.ex:458 lib/graphql/resolvers/user.ex:520
#: lib/graphql/resolvers/user.ex:523
msgid "The password provided is invalid"
msgstr "Annettu salasana on epäkelpo"
#, elixir-format
#: lib/graphql/resolvers/user.ex:414
#: lib/graphql/resolvers/user.ex:415
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
"Valitsemasi salasana on liian lyhyt. Käytä vähintään kuuden merkin mittaista "
@@ -212,12 +214,12 @@ msgid "Unable to validate user"
msgstr "Käyttäjää ei voi vahvistaa"
#, elixir-format
#: lib/graphql/resolvers/user.ex:500
#: lib/graphql/resolvers/user.ex:501
msgid "User already disabled"
msgstr "Käyttäjä on jo poistettu käytöstä"
#, elixir-format
#: lib/graphql/resolvers/user.ex:567
#: lib/graphql/resolvers/user.ex:568
msgid "User requested is not logged-in"
msgstr "Pyydetty käyttäjä ei ole kirjautuneena sisään"
@@ -242,12 +244,12 @@ msgid "You may not list groups unless moderator."
msgstr "Voit nähdä ryhmäluettelon vain, jos olet moderaattori."
#, elixir-format
#: lib/graphql/resolvers/user.ex:465
#: lib/graphql/resolvers/user.ex:466
msgid "You need to be logged-in to change your email"
msgstr "Sähköpostiosoitteen voi vaihtaa vain sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/user.ex:422
#: lib/graphql/resolvers/user.ex:423
msgid "You need to be logged-in to change your password"
msgstr "Salasanan voi vaihtaa vain sisäänkirjautuneena"
@@ -257,7 +259,7 @@ msgid "You need to be logged-in to delete a group"
msgstr "Ryhmän voi poistaa vain sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/user.ex:527
#: lib/graphql/resolvers/user.ex:528
msgid "You need to be logged-in to delete your account"
msgstr "Voit poistaa tilisi vain sisäänkirjautuneena"
@@ -353,7 +355,7 @@ msgid "Comment is already deleted"
msgstr "Kommentti on jo poistettu"
#, elixir-format
#: lib/graphql/error.ex:101 lib/graphql/resolvers/discussion.ex:75
#: lib/graphql/error.ex:101 lib/graphql/resolvers/discussion.ex:69
msgid "Discussion not found"
msgstr "Keskustelua ei löydy"
@@ -373,8 +375,8 @@ msgid "Event id not found"
msgstr "Tapahtumatunnistetta ei löydy"
#, elixir-format
#: lib/graphql/error.ex:98 lib/graphql/resolvers/event.ex:355
#: lib/graphql/resolvers/event.ex:407
#: lib/graphql/error.ex:98 lib/graphql/resolvers/event.ex:360
#: lib/graphql/resolvers/event.ex:412
msgid "Event not found"
msgstr "Tapahtumaa ei löydy"
@@ -391,7 +393,7 @@ msgid "Internal Error"
msgstr "Sisäinen virhe"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:225
#: lib/graphql/resolvers/discussion.ex:219
msgid "No discussion with ID %{id}"
msgstr "Tunnisteella %{id} ei ole keskustelua"
@@ -503,7 +505,7 @@ msgid "Token is not a valid UUID"
msgstr "Merkki ei ole kelvollinen UUID"
#, elixir-format
#: lib/graphql/error.ex:96 lib/graphql/resolvers/person.ex:415
#: lib/graphql/error.ex:96 lib/graphql/resolvers/person.ex:458
msgid "User not found"
msgstr "Käyttäjää ei löydy"
@@ -572,7 +574,7 @@ msgid "You cannot delete this comment"
msgstr "Et voi poistaa kommenttia"
#, elixir-format
#: lib/graphql/resolvers/event.ex:403
#: lib/graphql/resolvers/event.ex:408
msgid "You cannot delete this event"
msgstr "Et voi poistaa tapahtumaa"
@@ -607,22 +609,22 @@ msgid "You need to be logged-in and a moderator to view a report"
msgstr "Raportin katselu vain moderaattorille sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/admin.ex:246
#: lib/graphql/resolvers/admin.ex:255
msgid "You need to be logged-in and an administrator to access admin settings"
msgstr "Pääsy ylläpitoasetuksiin vain ylläpitäjälle sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/admin.ex:230
#: lib/graphql/resolvers/admin.ex:239
msgid "You need to be logged-in and an administrator to access dashboard statistics"
msgstr "Pääsy koontinäytön tilastoihin vain ylläpitäjälle sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/admin.ex:272
#: lib/graphql/resolvers/admin.ex:281
msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "Ylläpitoasetusten tallennus vain ylläpitäjälle sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:90
#: lib/graphql/resolvers/discussion.ex:84
msgid "You need to be logged-in to access discussions"
msgstr "Pääsy keskusteluihin vain sisäänkirjautuneena"
@@ -632,7 +634,7 @@ msgid "You need to be logged-in to access resources"
msgstr "Pääsy resursseihin vain sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/event.ex:313
#: lib/graphql/resolvers/event.ex:318
msgid "You need to be logged-in to create events"
msgstr "Tapahtumien luonti vain sisäänkirjautuneena"
@@ -652,7 +654,7 @@ msgid "You need to be logged-in to create resources"
msgstr "Resurssien luonti vain sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/event.ex:412
#: lib/graphql/resolvers/event.ex:417
msgid "You need to be logged-in to delete an event"
msgstr "Tapahtuman poisto vain sisäänkirjautuneena"
@@ -677,7 +679,7 @@ msgid "You need to be logged-in to leave an event"
msgstr "Tapahtumasta poistuminen vain sisäänkirjautuneena"
#, elixir-format
#: lib/graphql/resolvers/event.ex:369
#: lib/graphql/resolvers/event.ex:374
msgid "You need to be logged-in to update an event"
msgstr "Tapahtuman päivittäminen vain sisäänkirjautuneena"
@@ -782,12 +784,12 @@ msgid "Profile is not administrator for the group"
msgstr "Profiili ei ole ryhmän ylläpitäjä"
#, elixir-format
#: lib/graphql/resolvers/event.ex:358
#: lib/graphql/resolvers/event.ex:363
msgid "You can't edit this event."
msgstr "Et voi muokata tapahtumaa."
#, elixir-format
#: lib/graphql/resolvers/event.ex:361
#: lib/graphql/resolvers/event.ex:366
msgid "You can't attribute this event to this profile."
msgstr "Et voi yhdistää tapahtumaa tähän profiiliin."
@@ -807,17 +809,17 @@ msgid "You don't have the right to remove this member."
msgstr "Sinulla ei ole oikeutta poistaa jäsentä."
#, elixir-format
#: lib/mobilizon/actors/actor.ex:349
#: lib/mobilizon/actors/actor.ex:350
msgid "This username is already taken."
msgstr "Käyttäjänimi on jo käytössä."
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:87
#: lib/graphql/resolvers/discussion.ex:81
msgid "You must provide either an ID or a slug to access a discussion"
msgstr "Keskusteluun pääsemiseen vaaditaan tunniste tai polkutunnus"
#, elixir-format
#: lib/graphql/resolvers/event.ex:308
#: lib/graphql/resolvers/event.ex:313
msgid "Organizer profile is not owned by the user"
msgstr "Järjestäjän profiili ei ole käyttäjän hallussa"
@@ -843,7 +845,7 @@ msgid "Error while creating resource"
msgstr "Virhe raporttia tallennettaessa"
#, elixir-format
#: lib/graphql/resolvers/user.ex:483
#: lib/graphql/resolvers/user.ex:484
msgid "Invalid activation token"
msgstr "Virheellinen aktivointimerkki"
@@ -853,18 +855,18 @@ msgid "Unable to fetch resource details from this URL."
msgstr "Resurssin tietoja ei voida hakea tästä URL-osoitteesta."
#, elixir-format
#: lib/graphql/resolvers/event.ex:173 lib/graphql/resolvers/participant.ex:253
#: lib/graphql/resolvers/event.ex:164 lib/graphql/resolvers/participant.ex:253
#: lib/graphql/resolvers/participant.ex:328
msgid "Provided profile doesn't have moderator permissions on this event"
msgstr "Annetulla moderaattoriprofiililla ei ole oikeuksia tähän tapahtumaan"
#, elixir-format
#: lib/graphql/resolvers/event.ex:294
#: lib/graphql/resolvers/event.ex:299
msgid "Organizer profile doesn't have permission to create an event on behalf of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:349
#: lib/graphql/resolvers/event.ex:354
msgid "This profile doesn't have permission to update an event on behalf of this group"
msgstr ""
@@ -879,12 +881,12 @@ msgid "Comment not found"
msgstr "Tapahtumaa ei löydy"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:129
#: lib/graphql/resolvers/discussion.ex:123
msgid "Error while creating a discussion"
msgstr "Virhe raporttia tallennettaessa"
#, elixir-format
#: lib/graphql/resolvers/user.ex:606
#: lib/graphql/resolvers/user.ex:607
msgid "Error while updating locale"
msgstr "Virhe raporttia päivitettäessä"
@@ -904,12 +906,12 @@ msgid "Failed to update the group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:448
msgid "Failed to update user email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:479
#: lib/graphql/resolvers/user.ex:480
msgid "Failed to validate user email"
msgstr "Käyttäjää ei voi vahvistaa"
@@ -929,7 +931,7 @@ msgid "You are not the comment creator"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:404
#: lib/graphql/resolvers/user.ex:405
msgid "You cannot change your password."
msgstr ""
@@ -959,16 +961,56 @@ msgid "Only admins can create groups"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:301
#: lib/graphql/resolvers/event.ex:306
msgid "Only groups can create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:287
#: lib/graphql/resolvers/event.ex:292
msgid "Unknown error while creating event"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:460
#: lib/graphql/resolvers/user.ex:461
msgid "User cannot change email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:364
msgid "Follow does not match your account"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:368
msgid "Follow not found"
msgstr ""
#, elixir-format, fuzzy
#: lib/graphql/resolvers/user.ex:327
msgid "Profile with username %{username} not found"
msgstr "Käyttäjänimellä %{username} ei löydy henkilöä"
#, elixir-format
#: lib/graphql/resolvers/user.ex:322
msgid "This profile does not belong to you"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:338
msgid "You are already following this group"
msgstr ""
#, elixir-format, fuzzy
#: lib/graphql/resolvers/group.ex:347
msgid "You need to be logged-in to follow a group"
msgstr "Voit liittyä ryhmään vain sisäänkirjautuneena"
#, elixir-format, fuzzy
#: lib/graphql/resolvers/group.ex:396
msgid "You need to be logged-in to unfollow a group"
msgstr "Voit liittyä ryhmään vain sisäänkirjautuneena"
#, elixir-format, fuzzy
#: lib/graphql/resolvers/group.ex:373
msgid "You need to be logged-in to update a group follow"
msgstr "Voit päivittää ryhmää vain sisäänkirjautuneena"