Send email notifications when a participation is approved/rejected
Also handles participant status :rejected instead of deleting the participation Closes #164 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -12,129 +12,231 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Translate Toolkit 2.4.0\n"
|
||||
|
||||
#: lib/mobilizon_web/templates/email/email.text.eex:3
|
||||
#, elixir-format
|
||||
msgid "An email sent by Mobilizon on %{instance}."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:48
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.text.eex:12
|
||||
msgid "If you didn't request this, please ignore this email. Your password won't change until you access the link below and create a new one."
|
||||
msgstr ""
|
||||
|
||||
#: lib/service/export/feed.ex:161
|
||||
#, elixir-format
|
||||
#: lib/service/export/feed.ex:169
|
||||
msgid "Feed for %{email} on Mobilizon"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:122
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:122
|
||||
#: lib/mobilizon_web/templates/email/email.text.eex:6
|
||||
msgid "%{instance} is a Mobilizon server."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:38
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:38
|
||||
msgid "%{reporter_name} (%{reporter_username}) reported the following content."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:48
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:48
|
||||
msgid "%{title} by %{creator}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:58
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:58
|
||||
msgid "Activate my account"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:91
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:94
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:91
|
||||
msgid "Ask the community on Framacolibri"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:62
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:62
|
||||
#: lib/mobilizon_web/templates/email/report.text.eex:11
|
||||
msgid "Comments"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:46
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:46
|
||||
#: lib/mobilizon_web/templates/email/report.text.eex:6
|
||||
msgid "Event"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:45
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:45
|
||||
msgid "If you didn't request this, please ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/email/user.ex:46
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/email/user.ex:45
|
||||
msgid "Instructions to reset your password on %{instance}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:123
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:123
|
||||
msgid "Learn more about Mobilizon."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:13
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:13
|
||||
msgid "Nearly here!"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:88
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:91
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/email.html.eex:88
|
||||
msgid "Need some help? Something not working properly?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:13
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:13
|
||||
msgid "New report on %{instance}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:80
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:80
|
||||
#: lib/mobilizon_web/templates/email/report.text.eex:18
|
||||
msgid "Reason"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:61
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:61
|
||||
msgid "Reset Password"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:41
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:41
|
||||
msgid "Resetting your password is easy. Just press the button below and follow the instructions. We'll have you up and running in no time."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:13
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:13
|
||||
msgid "Trouble signing in?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:100
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.html.eex:100
|
||||
msgid "View the report"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:38
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.html.eex:38
|
||||
msgid "You created an account on %{host} with this email address. You are one click away from activating it."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:38
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.html.eex:38
|
||||
msgid "You requested a new password for your account on %{server}."
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/email/user.ex:25
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/email/user.ex:25
|
||||
msgid "Instructions to confirm your Mobilizon account on %{instance}"
|
||||
msgstr ""
|
||||
|
||||
#: lib/mobilizon_web/email/admin.ex:23
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/email/admin.ex:23
|
||||
msgid "New report on Mobilizon instance %{instance}"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.text.eex:1
|
||||
msgid "Activate your account"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.html.eex:13
|
||||
msgid "All good!"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.html.eex:45
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.text.eex:7
|
||||
msgid "An organizer just approved your participation. You're now going to this event!"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.html.eex:58
|
||||
msgid "Go to event page"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.html.eex:70
|
||||
msgid "If you need to cancel your participation, just access the event page through link above and click on the participation button."
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.text.eex:11
|
||||
msgid "If you need to cancel your participation, just access the previous link and click on the participation button."
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/email.text.eex:6
|
||||
msgid "Learn more about Mobilizon:"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/report.text.eex:1
|
||||
msgid "New report from %{reporter} on %{instance}"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.text.eex:1
|
||||
msgid "Participation approved"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_rejected.text.eex:1
|
||||
msgid "Participation rejected"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.text.eex:1
|
||||
msgid "Password reset"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.text.eex:7
|
||||
msgid "Resetting your password is easy. Just click the link below and follow the instructions. We'll have you up and running in no time."
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_rejected.html.eex:13
|
||||
msgid "Sorry!"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_rejected.html.eex:45
|
||||
#: lib/mobilizon_web/templates/email/event_participation_rejected.text.eex:7
|
||||
msgid "Unfortunately, the organizers rejected your participation."
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/registration_confirmation.text.eex:5
|
||||
msgid "You created an account on %{host} with this email address. You are one click away from activating it. If this wasn't you, please ignore this email."
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/password_reset.text.eex:5
|
||||
msgid "You requested a new password for your account on %{host}."
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.html.eex:38
|
||||
#: lib/mobilizon_web/templates/email/event_participation_rejected.html.eex:38
|
||||
msgid "You requested to participate in event %{title}"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/templates/email/event_participation_approved.text.eex:5
|
||||
#: lib/mobilizon_web/templates/email/event_participation_rejected.text.eex:5
|
||||
msgid "You requested to participate in event %{title}."
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/email/participation.ex:73
|
||||
msgid "Your participation to event %{title} has been approved"
|
||||
msgstr ""
|
||||
|
||||
#, elixir-format
|
||||
#: lib/mobilizon_web/email/participation.ex:52
|
||||
msgid "Your participation to event %{title} has been rejected"
|
||||
msgstr ""
|
||||
|
||||
93
priv/gettext/cs/LC_MESSAGES/errors.po
Normal file
93
priv/gettext/cs/LC_MESSAGES/errors.po
Normal file
@@ -0,0 +1,93 @@
|
||||
## `msgid`s in this file come from POT (.pot) files.
|
||||
##
|
||||
## Do not add, change, or remove `msgid`s manually here as
|
||||
## they're tied to the ones in the corresponding POT file
|
||||
## (with the same domain).
|
||||
##
|
||||
## Use `mix gettext.extract --merge` or `mix gettext.merge`
|
||||
## to merge POT files into PO files.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Language: cs\n"
|
||||
"Plural-Forms: nplurals=3\n"
|
||||
|
||||
msgid "can't be blank"
|
||||
msgstr ""
|
||||
|
||||
msgid "has already been taken"
|
||||
msgstr ""
|
||||
|
||||
msgid "is invalid"
|
||||
msgstr ""
|
||||
|
||||
msgid "must be accepted"
|
||||
msgstr ""
|
||||
|
||||
msgid "has invalid format"
|
||||
msgstr ""
|
||||
|
||||
msgid "has an invalid entry"
|
||||
msgstr ""
|
||||
|
||||
msgid "is reserved"
|
||||
msgstr ""
|
||||
|
||||
msgid "does not match confirmation"
|
||||
msgstr ""
|
||||
|
||||
msgid "is still associated with this entry"
|
||||
msgstr ""
|
||||
|
||||
msgid "are still associated with this entry"
|
||||
msgstr ""
|
||||
|
||||
msgid "should be %{count} character(s)"
|
||||
msgid_plural "should be %{count} character(s)"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
msgid "should have %{count} item(s)"
|
||||
msgid_plural "should have %{count} item(s)"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
msgid "should be at least %{count} character(s)"
|
||||
msgid_plural "should be at least %{count} character(s)"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
msgid "should have at least %{count} item(s)"
|
||||
msgid_plural "should have at least %{count} item(s)"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
msgid "should be at most %{count} character(s)"
|
||||
msgid_plural "should be at most %{count} character(s)"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
msgid "should have at most %{count} item(s)"
|
||||
msgid_plural "should have at most %{count} item(s)"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
msgid "must be less than %{number}"
|
||||
msgstr ""
|
||||
|
||||
msgid "must be greater than %{number}"
|
||||
msgstr ""
|
||||
|
||||
msgid "must be less than or equal to %{number}"
|
||||
msgstr ""
|
||||
|
||||
msgid "must be greater than or equal to %{number}"
|
||||
msgstr ""
|
||||
|
||||
msgid "must be equal to %{number}"
|
||||
msgstr ""
|
||||
Reference in New Issue
Block a user