Files
modoboa/modoboa/contacts/constants.py
T
Antoine Nguyen 8980f4c4c4 Added contacts plugin into core.
No more module federation at the moment, it does not seem very stable
yet.
2025-02-14 13:39:08 +01:00

26 lines
582 B
Python

"""Contacts constants."""
from django.utils.translation import gettext_lazy
EMAIL_TYPES = (
("home", gettext_lazy("Home")),
("work", gettext_lazy("Work")),
("other", gettext_lazy("Other")),
)
PHONE_TYPES = (
("home", gettext_lazy("Home")),
("work", gettext_lazy("Work")),
("other", gettext_lazy("Other")),
("main", gettext_lazy("Main")),
("cell", gettext_lazy("Cellular")),
("fax", gettext_lazy("Fax")),
("pager", gettext_lazy("Pager")),
)
CDAV_TO_MODEL_FIELDS_MAP = {
"org": "company",
"title": "position",
"note": "note",
}