This commit is contained in:
恍兮惚兮 2024-12-25 02:21:46 +08:00
parent 83e0f01189
commit ad454194f6
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
set(VERSION_MAJOR 6)
set(VERSION_MINOR 15)
set(VERSION_PATCH 1)
set(VERSION_PATCH 2)
set(VERSION_REVISION 0)
set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}")
add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp)

View File

@ -387,8 +387,9 @@ class MAINUI:
maybehaspremt = {}
skip_other_on_success = False
fix_rank = globalconfig["fix_translate_rank_rank"].copy()
print(is_auto_run , globalconfig["fanyi"]["rengong"].get("manual", False))
if ("rengong" in self.translators) and (
not (is_auto_run and globalconfig["rengong"]["premt"].get("manual", False))
not (is_auto_run and globalconfig["fanyi"]["rengong"].get("manual", False))
):
contentraw = self.analyzecontent(text_solved, optimization_params)
try: