From 75188725cdce332e0e4473983cd395dbf01f2b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Tue, 21 Jan 2025 13:22:02 +0800 Subject: [PATCH] . --- cpp/version.cmake | 2 +- py/LunaTranslator/LunaTranslator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/version.cmake b/cpp/version.cmake index 5026b355b1a..0fe2c51f9d2 100644 --- a/cpp/version.cmake +++ b/cpp/version.cmake @@ -1,7 +1,7 @@ set(VERSION_MAJOR 7) set(VERSION_MINOR 1) -set(VERSION_PATCH 7) +set(VERSION_PATCH 8) 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) diff --git a/py/LunaTranslator/LunaTranslator.py b/py/LunaTranslator/LunaTranslator.py index e60bc5fdf1f..5d291e48f69 100644 --- a/py/LunaTranslator/LunaTranslator.py +++ b/py/LunaTranslator/LunaTranslator.py @@ -481,7 +481,7 @@ def analyzecontent(self, text_solved, optimization_params): def _delaypreparefixrank(self, _showrawfunction, real_fix_rank): _showrawfunction() for engine in real_fix_rank: - if engine not in globalconfig: + if engine not in globalconfig["fanyi"]: engine = "premt" displayreskwargs = dict( name="",