Skip to content
Snippets Groups Projects
Commit 678b02c2 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '167-preference-section-is-german' into 'master'

Resolve "Preference section is German"

Closes #167

See merge request !200
parents 180643ab b62af44a
No related branches found
No related tags found
1 merge request!200Resolve "Preference section is German"
Pipeline #16830 failed
...@@ -6,6 +6,15 @@ All notable changes to this project will be documented in this file. ...@@ -6,6 +6,15 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog`_, The format is based on `Keep a Changelog`_,
and this project adheres to `Semantic Versioning`_. and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
~~~~~
* Preference section verbose names were displayed in server language and not
user language (fixed by using gettext_lazy).
`2.0b0`_ - 2021-05-21 `2.0b0`_ - 2021-05-21
--------------------- ---------------------
......
from django.core.exceptions import ValidationError from django.core.exceptions import ValidationError
from django.utils.translation import gettext as _ from django.utils.translation import gettext_lazy as _
from dynamic_preferences.preferences import Section from dynamic_preferences.preferences import Section
from dynamic_preferences.types import BooleanPreference, IntegerPreference from dynamic_preferences.types import BooleanPreference, IntegerPreference
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment