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

@@ -117,13 +117,14 @@ msgid "Current profile is not an administrator of the selected group"
msgstr "Obecny profil nie jest administratorem zaznaczonej grupy"
#, elixir-format
#: lib/graphql/resolvers/user.ex:592
#: lib/graphql/resolvers/user.ex:593
msgid "Error while saving user settings"
msgstr "Błąd zapisywania ustawień użytkownika"
#, 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 "Nie odnaleziono grupy"
@@ -163,6 +164,7 @@ msgstr "Nie znaleziono użytkownika o tym adresie e-mail"
#: 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 "Profil nie należy do uwierzytelnionego użytkownika"
@@ -172,33 +174,33 @@ msgid "Registrations are not open"
msgstr "Rejestracje nie są otwarte"
#, elixir-format
#: lib/graphql/resolvers/user.ex:407
#: lib/graphql/resolvers/user.ex:408
msgid "The current password is invalid"
msgstr "Obecne hasło jest nieprawidłowe"
#, 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 "Nowy adres e-mail nie wydaje się być prawidłowy"
#, elixir-format
#: lib/graphql/resolvers/user.ex:453
#: lib/graphql/resolvers/user.ex:454
msgid "The new email must be different"
msgstr "Nowy adres e-mail musi się różnić od obecnego"
#, elixir-format
#: lib/graphql/resolvers/user.ex:410
#: lib/graphql/resolvers/user.ex:411
msgid "The new password must be different"
msgstr "Nowe hasło musi różnić się od obecnego"
#, 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 "Wprowadzone hasło jest nieprawidłowe"
#, 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 ""
"Wprowadzone hasło jest zbyt krótkie. Upewnij się, że Twoje hasło składa się "
@@ -220,12 +222,12 @@ msgid "Unable to validate user"
msgstr "Nie udało się zwalidować użytkownika"
#, elixir-format
#: lib/graphql/resolvers/user.ex:500
#: lib/graphql/resolvers/user.ex:501
msgid "User already disabled"
msgstr "Użytkownik jest już wyłączony"
#, elixir-format
#: lib/graphql/resolvers/user.ex:567
#: lib/graphql/resolvers/user.ex:568
msgid "User requested is not logged-in"
msgstr "Żądany użytkownik nie jest zalogowany"
@@ -251,12 +253,12 @@ msgid "You may not list groups unless moderator."
msgstr "Nie masz dostępu do listy grup, jeżeli nie jesteś moderatorem."
#, 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 "Musisz być zalogowany(-a), aby zmienić adres e-mail"
#, 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 "Musisz być zalogowany(-a), aby zmienić hasło"
@@ -266,7 +268,7 @@ msgid "You need to be logged-in to delete a group"
msgstr "Musisz być zalogowany(-a), aby usunąć grupę"
#, 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 "Musisz być zalogowany(-a), aby usunąć konto"
@@ -362,7 +364,7 @@ msgid "Comment is already deleted"
msgstr "Komentarz jest już usunięty"
#, 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 "Nie znaleziono dyskusji"
@@ -382,8 +384,8 @@ msgid "Event id not found"
msgstr "Nie znaleziono id wydarzenia"
#, 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 "Nie znaleziono wydarzenia"
@@ -400,7 +402,7 @@ msgid "Internal Error"
msgstr "Wewnętrzny błąd"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:225
#: lib/graphql/resolvers/discussion.ex:219
msgid "No discussion with ID %{id}"
msgstr "Nie znaleziono dyskusji o ID ${id}"
@@ -512,7 +514,7 @@ msgid "Token is not a valid UUID"
msgstr "Token nie jest prawidłowym 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 "Nie znaleziono użytkownika"
@@ -580,7 +582,7 @@ msgid "You cannot delete this comment"
msgstr "Nie możesz usunąć tego komentarza"
#, elixir-format
#: lib/graphql/resolvers/event.ex:403
#: lib/graphql/resolvers/event.ex:408
msgid "You cannot delete this event"
msgstr "Nie możesz usunąć tego wydarzenia"
@@ -615,28 +617,28 @@ msgid "You need to be logged-in and a moderator to view a report"
msgstr "Musisz być zalogowanym moderatorem, aby wyświetlić zgłoszenie"
#, 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 ""
"Musisz być zalogowanym moderatorem, aby uzyskać dostęp do ustawień "
"administratora"
#, 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 ""
"Musisz być zalogowanym administratorem, aby uzyskać dostęp do statystyk w "
"panelu"
#, 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 ""
"Musisz być zalogowanym administratorem, aby zapisywać ustawienia "
"administratora"
#, 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 "Musisz być zalogowany(-a), aby uzyskać dostęp do dyskusji"
@@ -646,7 +648,7 @@ msgid "You need to be logged-in to access resources"
msgstr "Musisz być zalogowany(-a), aby uzyskać dostęp do zasobów"
#, 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 "Musisz być zalogowany(-a), aby móc utworzyć wydarzenia"
@@ -666,7 +668,7 @@ msgid "You need to be logged-in to create resources"
msgstr "Musisz być zalogowany(-a), aby utworzyć zasób"
#, 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 "Musisz być zalogowany(-a), aby usunąć wydarzenie"
@@ -691,7 +693,7 @@ msgid "You need to be logged-in to leave an event"
msgstr "Musisz być zalogowany(-a), aby opuścić wydarzenie"
#, 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 "Musisz być zalogowany(-a), aby zaktualizować wydarzenie"
@@ -798,12 +800,12 @@ msgid "Profile is not administrator for the group"
msgstr "Profil nie jest administratorem grupy"
#, elixir-format
#: lib/graphql/resolvers/event.ex:358
#: lib/graphql/resolvers/event.ex:363
msgid "You can't edit this event."
msgstr "Nie możesz edytować tego wydarzenia."
#, 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 "Nie możesz przypisać tego wydarzenia do tego profilu."
@@ -823,17 +825,17 @@ msgid "You don't have the right to remove this member."
msgstr "Nie masz uprawnień do usunięcia tego członka."
#, elixir-format
#: lib/mobilizon/actors/actor.ex:349
#: lib/mobilizon/actors/actor.ex:350
msgid "This username is already taken."
msgstr ""
#, 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 ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:308
#: lib/graphql/resolvers/event.ex:313
msgid "Organizer profile is not owned by the user"
msgstr ""
@@ -859,7 +861,7 @@ msgid "Error while creating resource"
msgstr "Wystąpił błąd podczas zapisywania zgłoszenia"
#, elixir-format
#: lib/graphql/resolvers/user.ex:483
#: lib/graphql/resolvers/user.ex:484
msgid "Invalid activation token"
msgstr ""
@@ -869,18 +871,18 @@ msgid "Unable to fetch resource details from this URL."
msgstr ""
#, 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 "Wskazany profil moderatora nie ma uprawnień dla tego wydarzenia"
#, 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 ""
@@ -895,12 +897,12 @@ msgid "Comment not found"
msgstr "Nie znaleziono wydarzenia"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:129
#: lib/graphql/resolvers/discussion.ex:123
msgid "Error while creating a discussion"
msgstr "Wystąpił błąd podczas zapisywania zgłoszenia"
#, elixir-format
#: lib/graphql/resolvers/user.ex:606
#: lib/graphql/resolvers/user.ex:607
msgid "Error while updating locale"
msgstr "Wystąpił błąd podczas aktualizacji zgłoszenia"
@@ -920,12 +922,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 "Nie udało się zwalidować użytkownika"
@@ -945,7 +947,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 ""
@@ -975,16 +977,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 "Nie znaleziono osoby o nazwie użytkownika %{username}"
#, 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 "Musisz być zalogowany(-a), aby dołączyć do grupy"
#, elixir-format, fuzzy
#: lib/graphql/resolvers/group.ex:396
msgid "You need to be logged-in to unfollow a group"
msgstr "Musisz być zalogowany(-a), aby dołączyć do grupy"
#, elixir-format, fuzzy
#: lib/graphql/resolvers/group.ex:373
msgid "You need to be logged-in to update a group follow"
msgstr "Musisz być zalogowany(-a), aby zaktualizować grupę"