Fixed translaiton settings

This commit is contained in:
Sven Heidemann 2023-06-13 16:14:38 +02:00
parent b3ed7101fc
commit b819eb439c
3 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ __title__ = "cpl_translation"
__author__ = "Sven Heidemann"
__license__ = "MIT"
__copyright__ = "Copyright (c) 2022 - 2023 sh-edraft.de"
__version__ = "2023.4.0"
__version__ = "2023.4.0.post1"
from collections import namedtuple
@ -53,4 +53,4 @@ init()
# build-ignore-end
VersionInfo = namedtuple("VersionInfo", "major minor micro")
version_info = VersionInfo(major="2023", minor="4", micro="0")
version_info = VersionInfo(major="2023", minor="4", micro="0.post1")

View File

@ -4,7 +4,7 @@
"Version": {
"Major": "2023",
"Minor": "4",
"Micro": "0"
"Micro": "0.post1"
},
"Author": "Sven Heidemann",
"AuthorEmail": "sven.heidemann@sh-edraft.de",

View File

@ -5,12 +5,12 @@ class TranslationSettings(ConfigurationModelABC):
def __init__(
self,
languages: list = None,
default_lang: str = None,
default_language: str = None,
):
ConfigurationModelABC.__init__(self)
self._languages = [] if languages is None else languages
self._default_lang = default_lang
self._default_lang = default_language
@property
def languages(self) -> list[str]: