Created localization_model.py

pull/713/head
sTiKyt 2020-08-13 22:55:46 +03:00
parent c7b1a976e8
commit 1eb9dd31ba
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
class LocalizationModel:
def __init__(self, domain: str = "HiddenEye", localedir: str = "locale"):
self._domain = domain
self._localedir = localedir
@property
def domain(self):
# TODO add verbose output
return self._domain
@domain.setter
def domain(self, new_domain):
# TODO add verbose output
self._domain = new_domain
@property
def localedir(self):
# TODO add verbose output
return self._localedir
@localedir.setter
def localedir(self, new_localedir):
# TODO add verbose output
self._localedir = new_localedir