mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Created localization_model.py
This commit is contained in:
parent
c7b1a976e8
commit
1eb9dd31ba
24
models/localization_model.py
Normal file
24
models/localization_model.py
Normal 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
|
Loading…
Reference in New Issue
Block a user