mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
fix
This commit is contained in:
parent
fe4d862fa5
commit
7da45bc3d9
@ -44,7 +44,7 @@ def registrhotkeys(self):
|
|||||||
"_3": self.showsignal.emit,
|
"_3": self.showsignal.emit,
|
||||||
"_4": lambda: winsharedutils.clipboard_set(gobject.baseobject.currenttext),
|
"_4": lambda: winsharedutils.clipboard_set(gobject.baseobject.currenttext),
|
||||||
"_5": gobject.baseobject.translation_ui.changeshowhideraw,
|
"_5": gobject.baseobject.translation_ui.changeshowhideraw,
|
||||||
"_51":gobject.baseobject.translation_ui.changeshowhidetrans,
|
"_51": gobject.baseobject.translation_ui.changeshowhidetrans,
|
||||||
"_6": lambda: gobject.baseobject.transhis.showsignal.emit(),
|
"_6": lambda: gobject.baseobject.transhis.showsignal.emit(),
|
||||||
"_7": lambda: gobject.baseobject.readcurrent(force=True),
|
"_7": lambda: gobject.baseobject.readcurrent(force=True),
|
||||||
"_8": lambda: gobject.baseobject.translation_ui.changemousetransparentstate(0),
|
"_8": lambda: gobject.baseobject.translation_ui.changemousetransparentstate(0),
|
||||||
@ -66,6 +66,9 @@ def registrhotkeys(self):
|
|||||||
windows.RegisterWindowMessage("Magpie_Core_CLI_Message_ToggleOverlay"),
|
windows.RegisterWindowMessage("Magpie_Core_CLI_Message_ToggleOverlay"),
|
||||||
),
|
),
|
||||||
"_26": gobject.baseobject.translation_ui.ocr_once_signal.emit,
|
"_26": gobject.baseobject.translation_ui.ocr_once_signal.emit,
|
||||||
|
"_26_1": gobject.baseobject.translation_ui.ocr_do_function(
|
||||||
|
gobject.baseobject.translation_ui.ocr_once_follow_rect
|
||||||
|
),
|
||||||
"_27": gobject.baseobject.translation_ui.simulate_key_enter,
|
"_27": gobject.baseobject.translation_ui.simulate_key_enter,
|
||||||
"_28": lambda: winsharedutils.clipboard_set(
|
"_28": lambda: winsharedutils.clipboard_set(
|
||||||
gobject.baseobject.currenttranslate
|
gobject.baseobject.currenttranslate
|
||||||
|
@ -153,7 +153,8 @@ class TS(basetrans):
|
|||||||
message += msg
|
message += msg
|
||||||
elif t == "stream-end":
|
elif t == "stream-end":
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
continue
|
||||||
except:
|
except:
|
||||||
print_exc()
|
print_exc()
|
||||||
raise Exception(response_data)
|
raise Exception(response_data)
|
||||||
|
@ -1024,6 +1024,11 @@
|
|||||||
"name": "进行一次OCR",
|
"name": "进行一次OCR",
|
||||||
"keystring": ""
|
"keystring": ""
|
||||||
},
|
},
|
||||||
|
"_26_1": {
|
||||||
|
"use": false,
|
||||||
|
"name": "再次进行OCR",
|
||||||
|
"keystring": ""
|
||||||
|
},
|
||||||
"_27": {
|
"_27": {
|
||||||
"use": false,
|
"use": false,
|
||||||
"name": "模拟按键Enter",
|
"name": "模拟按键Enter",
|
||||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
|||||||
|
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
set(VERSION_MINOR 28)
|
set(VERSION_MINOR 28)
|
||||||
set(VERSION_PATCH 4)
|
set(VERSION_PATCH 5)
|
||||||
|
|
||||||
add_library(pch pch.cpp)
|
add_library(pch pch.cpp)
|
||||||
target_precompile_headers(pch PUBLIC pch.h)
|
target_precompile_headers(pch PUBLIC pch.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user