From 304c88ad40fa5ddc23451dd49ce56e7a829fd921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Mon, 5 Aug 2024 21:15:47 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/gui/dialog_savedgame.py | 2 +- LunaTranslator/LunaTranslator/gui/setting_tts.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py b/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py index e0a42a80..ce53896e 100644 --- a/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py +++ b/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py @@ -1084,8 +1084,8 @@ class dialog_setting_game_internal(QWidget): icon="fa.gear", ), QLabel(), - LLabel('作用于翻译'), getsimpleswitch(savehook_new_data[gameuid], "tts_repair_use_at_translate"), + LLabel('作用于翻译'), ], margin0=True, makewidget=True, diff --git a/LunaTranslator/LunaTranslator/gui/setting_tts.py b/LunaTranslator/LunaTranslator/gui/setting_tts.py index 13d26ef7..67f7e613 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_tts.py +++ b/LunaTranslator/LunaTranslator/gui/setting_tts.py @@ -203,7 +203,7 @@ def setTab5lz(self): globalconfig, "read_translator", ), - 4, + 0, ), ], [ @@ -229,10 +229,10 @@ def setTab5lz(self): icon="fa.gear", ), "", - "作用于翻译", D_getsimpleswitch( globalconfig["ttscommon"], "tts_repair_use_at_translate" ), + "作用于翻译", ], ], ),