diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 16b9cccd10b3bd4dbb2f4dca4f18098634aa177e..14d24056f41868a3b10cc9a4638284a6cd89bf09 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_. Unreleased ---------- +Changed +~~~~~~~ + +* Add verbose names for all preference sections. + Fixed ~~~~~ diff --git a/aleksis/core/preferences.py b/aleksis/core/preferences.py index 4e1bd8a40744e8374a3c3df041b2832da3f7275d..2dc131eadf7de27b0979bbf347ea4320346701c9 100644 --- a/aleksis/core/preferences.py +++ b/aleksis/core/preferences.py @@ -19,13 +19,13 @@ from .models import Group, Person from .registries import person_preferences_registry, site_preferences_registry from .util.notifications import get_notification_choices_lazy -general = Section("general") -school = Section("school") -theme = Section("theme") -mail = Section("mail") -notification = Section("notification") -footer = Section("footer") -account = Section("account") +general = Section("general", verbose_name=_("General")) +school = Section("school", verbose_name=_("School")) +theme = Section("theme", verbose_name=_("Theme")) +mail = Section("mail", verbose_name=_("Mail")) +notification = Section("notification", verbose_name=_("Notifications")) +footer = Section("footer", verbose_name=_("Footer")) +account = Section("account", verbose_name=_("Accounts")) auth = Section("auth", verbose_name=_("Authentication")) internationalisation = Section("internationalisation", verbose_name=_("Internationalisation"))