from onegov.feriennet import _
[docs]
ACTIVITY_STATES = {
'accepted': _('Accepted'),
'archived': _('Archived'),
'preview': _('Preview'),
'proposed': _('Proposed'),
'published': _('Published')
}
[docs]
FREQUENCIES = {
'daily': _('Daily'),
'weekly': _('Weekly'),
'monthly': _('Monthly'),
'never': _('Never')
}
[docs]
SALUTATIONS: dict[str | None, str] = {
'mr': _('Mr.'),
'ms': _('Ms.')
}
[docs]
BOOKING_STATES = {
'open': _('Open'),
'accepted': _('Accepted'),
'cancelled': _('Cancelled'),
'denied': _('Denied'),
'blocked': _('Blocked')
}
[docs]
GENDERS: dict[str | None, str] = {
'male': _('Boy'),
'female': _('Girl')
}
[docs]
ROLES = {
'admin': _('Administrator'),
'editor': _('Editor'),
'member': _('Member'),
}
# Refer to states used in /onegov-cloud/src/onegov/activity/models/volunteer.py
[docs]
STATES = {
'open': _('Open'),
'contacted': _('Contacted'),
'confirmed': _('Confirmed')
}