<reponame>darkismus/kompassi<filename>core/event_log_entry_types.py
from django.utils.translation import ugettext_lazy as _

from event_log import registry


registry.register(
    name='core.person.viewed',
    message=_('The personal information of {entry.person} was viewed by {entry.created_by}'),
)


registry.register(
    name='core.person.exported',
    message=_('User {entry.created_by} exported personally identifiable information'),
)


registry.register(
    name='core.person.impersonated',
    message=_('User {entry.created_by} administratively impersonated {entry.person}'),
)


registry.register(
    name='core.password.changed',
    message=_('User {entry.created_by} changed their password'),
)

from django.utils.translation import ugettext_lazy as _

from event_log import registry


registry.register(
    name='core.person.viewed',
    message=_('The personal information of {entry.person} was viewed by {entry.created_by}'),
)


registry.register(
    name='core.person.exported',
    message=_('User {entry.created_by} exported personally identifiable information'),
)


registry.register(
    name='core.person.impersonated',
    message=_('User {entry.created_by} administratively impersonated {entry.person}'),
)


registry.register(
    name='core.password.changed',
    message=_('User {entry.created_by} changed their password'),
)