From fbb4e7b6da3f4268cc934e49317b0cf424dda31d 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: Mon, 6 Jan 2025 20:57:49 +0800 Subject: [PATCH] . --- py/LunaTranslator/ocrengines/tesseract5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/LunaTranslator/ocrengines/tesseract5.py b/py/LunaTranslator/ocrengines/tesseract5.py index 8b0f9e05ca..1243b91159 100644 --- a/py/LunaTranslator/ocrengines/tesseract5.py +++ b/py/LunaTranslator/ocrengines/tesseract5.py @@ -28,7 +28,7 @@ def findts(self): def list_langs(self): if not (self.path and os.path.exists(self.path)): - raise Exception(_TR("路径不存在")) + raise Exception(_TR("not installed")) res = subproc_w( '"{}" --list-langs'.format(self.path), needstdio=True,