diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 11c4a0c8cf6dbdc9311a8490ce1998c30279507d..e2fc8c228c8a14f60e90662da581c5a20d3149ed 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog`_, and this project adheres to `Semantic Versioning`_. +Unreleased +---------- + +Changed +~~~~~~~ + +* Add verbose names for all preference sections. + `2.0b1`_ - 2021-06-01 --------------------- 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"))