forked from gergely/calendar-social
Allow users to invite other users to events
This commit is contained in:
@@ -64,9 +64,13 @@ class NotificationAction(Enum):
|
||||
#: A user followed another
|
||||
follow = 1
|
||||
|
||||
#: A user has been invited to an event
|
||||
invite = 2
|
||||
|
||||
|
||||
NOTIFICATION_ACTION_MESSAGES = {
|
||||
NotificationAction.follow: (_('%(actor)s followed you'), _('%(actor)s followed %(item)s'))
|
||||
NotificationAction.follow: (_('%(actor)s followed you'), _('%(actor)s followed %(item)s')),
|
||||
NotificationAction.invite: (None, _('%(actor)s invited you to %(item)s')),
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user