Fixed language bug

This commit is contained in:
Dilan Boskan 2021-07-10 16:53:57 +02:00
parent 022e63852c
commit 43af31d1b2
2 changed files with 16 additions and 20 deletions

View File

@ -43,7 +43,7 @@ DEFAULT_SETTINGS = {
# Export path (Default: desktop)
'exportDirectory': QtCore.QStandardPaths.writableLocation(QtCore.QStandardPaths.DesktopLocation),
# Language in format {language}_{country} (Default: system language)
'language': Translator.SUPPORTED_LANGUAGES[QtCore.QLocale.system().language().name.decode('utf-8')],
'language': Translator.SUPPORTED_LANGUAGES[QtCore.QLocale.system().language().name.decode('utf-8').lower()],
# Presets for seperations
'presets': [
['ALL', {

View File

@ -1,28 +1,28 @@
[settingswindow]
size=@Size(1028 551)
pos=@Point(585 245)
checkBox_gpuConversion=false
checkBox_tta=true
checkBox_tta=false
checkBox_modelFolder=false
checkBox_outputImage=false
checkBox_postProcess=true
checkBox_deepExtraction=true
checkBox_postProcess=false
checkBox_deepExtraction=false
comboBox_winSize=352
comboBox_highEndProcess=Mirroring
doubleSpinBox_aggressiveness=-0.1
checkBox_ensemble=false
comboBox_instrumental=MGM-v5-2Band-32000-BETA1 - Kopie
comboBox_vocal=
comboBox_winSize=1024
doubleSpinBox_aggressiveness=0.1
comboBox_highEndProcess=Mirroring
comboBox_presets=Custom
checkBox_notifiyOnFinish=true
comboBox_presets=NONE
checkBox_notifiyOnFinish=false
checkBox_notifyUpdates=true
checkBox_settingsStartup=true
checkBox_settingsStartup=false
checkBox_enableAnimations=true
checkBox_showInfoButtons=true
checkBox_showInfoButtons=false
checkBox_multithreading=false
comboBox_command=Off
checkBox_autoSaveInstrumentals=true
checkBox_autoSaveVocals=true
size=@Size(993 526)
pos=@Point(437 242)
[user]
exportDirectory=C:/Users/boska/Desktop
@ -36,14 +36,10 @@ theme=dark
[mainwindow]
size=@Size(906 559)
pos=@Point(507 260)
pos=@Point(503 220)
isMaximized=false
[presetseditorwindow]
size=@Size(322 403)
pos=@Point(841 355)
[infowindow]
size=@Size(563 562)
pos=@Point(678 259)
size=@Size(596 440)
pos=@Point(662 204)
isMaximized=false