translation settings improvements
This commit is contained in:
parent
48360ea54c
commit
03e34cc43f
4 changed files with 18 additions and 16 deletions
|
|
@ -125,11 +125,11 @@ class Settings(Singleton, dict):
|
|||
|
||||
@staticmethod
|
||||
def supported_languages():
|
||||
return [
|
||||
('English', 'en_EN'),
|
||||
('Russian', 'ru_RU'),
|
||||
('French', 'fr_FR')
|
||||
]
|
||||
return {
|
||||
'English': 'en_EN',
|
||||
'Russian': 'ru_RU',
|
||||
'French': 'fr_FR'
|
||||
}
|
||||
|
||||
def upgrade(self):
|
||||
default = Settings.get_default_settings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue