mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-13 07:33:53 +08:00
.
This commit is contained in:
parent
83e0f01189
commit
ad454194f6
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
set(VERSION_MAJOR 6)
|
set(VERSION_MAJOR 6)
|
||||||
set(VERSION_MINOR 15)
|
set(VERSION_MINOR 15)
|
||||||
set(VERSION_PATCH 1)
|
set(VERSION_PATCH 2)
|
||||||
set(VERSION_REVISION 0)
|
set(VERSION_REVISION 0)
|
||||||
set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}")
|
set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}")
|
||||||
add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp)
|
add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp)
|
||||||
|
@ -387,8 +387,9 @@ class MAINUI:
|
|||||||
maybehaspremt = {}
|
maybehaspremt = {}
|
||||||
skip_other_on_success = False
|
skip_other_on_success = False
|
||||||
fix_rank = globalconfig["fix_translate_rank_rank"].copy()
|
fix_rank = globalconfig["fix_translate_rank_rank"].copy()
|
||||||
|
print(is_auto_run , globalconfig["fanyi"]["rengong"].get("manual", False))
|
||||||
if ("rengong" in self.translators) and (
|
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)
|
contentraw = self.analyzecontent(text_solved, optimization_params)
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user