diff --git a/cpp/LunaHook/Lang/cht.h b/cpp/LunaHook/Lang/cht.h index 0f37e697..077ec3a8 100644 --- a/cpp/LunaHook/Lang/cht.h +++ b/cpp/LunaHook/Lang/cht.h @@ -98,4 +98,5 @@ #define PROC_CONN L"處理程序已連接 %d" #define PROC_DISCONN L"處理程序已中斷連接 %d" #define COPYSELECTION L"自動將文字框中選取的文字複製到剪貼簿" -#define FONTSELECT L"選擇字體" \ No newline at end of file +#define FONTSELECT L"選擇字體" +#define UNMATCHABLEVERSION L"LunaHook和LunaHost版本不匹配,可能無法正常工作!" \ No newline at end of file diff --git a/cpp/LunaHook/Lang/en.h b/cpp/LunaHook/Lang/en.h index 4fc03530..dbde68d1 100644 --- a/cpp/LunaHook/Lang/en.h +++ b/cpp/LunaHook/Lang/en.h @@ -98,4 +98,5 @@ #define PROC_CONN L"process connected %d" #define PROC_DISCONN L"process disconnected %d" #define COPYSELECTION L"auto send selected text in textbox to clipboard" -#define FONTSELECT L"Select Font" \ No newline at end of file +#define FONTSELECT L"Select Font" +#define UNMATCHABLEVERSION L"LunaHook and LunaHost versions do not match, may not work properly!" \ No newline at end of file diff --git a/cpp/LunaHook/Lang/ru.h b/cpp/LunaHook/Lang/ru.h index 37a8cc55..e647220b 100644 --- a/cpp/LunaHook/Lang/ru.h +++ b/cpp/LunaHook/Lang/ru.h @@ -99,3 +99,4 @@ #define PROC_DISCONN L"Процесс отключен %d" #define COPYSELECTION L"Автоматически копировать выделенный текст в буфер обмена" #define FONTSELECT L"Выбрать шрифт" +#define UNMATCHABLEVERSION L"Версии LunaHook и LunaHost не совпадают и могут не работать должным образом!" \ No newline at end of file diff --git a/cpp/LunaHook/Lang/zh.h b/cpp/LunaHook/Lang/zh.h index 34b02d24..9d7cf919 100644 --- a/cpp/LunaHook/Lang/zh.h +++ b/cpp/LunaHook/Lang/zh.h @@ -98,4 +98,5 @@ #define PROC_CONN L"进程已连接 %d" #define PROC_DISCONN L"进程已断开连接 %d" #define COPYSELECTION L"自动将文本框中选取的文本复制到剪贴板" -#define FONTSELECT L"选择字体" \ No newline at end of file +#define FONTSELECT L"选择字体" +#define UNMATCHABLEVERSION L"LunaHook和LunaHost版本无法匹配,可能无法正常工作!" \ No newline at end of file diff --git a/cpp/LunaHook/LunaHook/main.cc b/cpp/LunaHook/LunaHook/main.cc index 964f176e..dc2dba53 100644 --- a/cpp/LunaHook/LunaHook/main.cc +++ b/cpp/LunaHook/LunaHook/main.cc @@ -34,6 +34,8 @@ DWORD WINAPI Pipe(LPVOID) *(DWORD *)buffer = GetCurrentProcessId(); WriteFile(hookPipe, buffer, sizeof(DWORD), &count, nullptr); + WORD hookversion[4]=LUNA_VERSION; + WriteFile(hookPipe, hookversion, sizeof(hookversion), &count, nullptr); ConsoleOutput(PIPE_CONNECTED); HIJACK(); diff --git a/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt b/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt index 473e0fc1..29289390 100644 --- a/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt +++ b/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt @@ -3,7 +3,7 @@ if(BUILD_GUI) add_executable(LunaHost WIN32 confighelper.cpp controls.cpp main.cpp processlistwindow.cpp LunaHost.cpp window.cpp luna.rc pluginmanager.cpp Plugin/extensionimpl.cpp Plugin/copyclipboard.cpp QtLoader_inline.cpp app.manifest ${versioninfohost}) target_precompile_headers(LunaHost REUSE_FROM pch) set_target_properties(LunaHost PROPERTIES OUTPUT_NAME "LunaHost${bitappendix}") -target_link_libraries(LunaHost comctl32 winhttp version pch host ${YY_Thunks_for_WinXP} nlohmann) +target_link_libraries(LunaHost comctl32 winhttp pch host ${YY_Thunks_for_WinXP} nlohmann) endif() if(BUILD_PLUGIN) diff --git a/cpp/LunaHook/LunaHost/GUI/LunaHost.cpp b/cpp/LunaHook/LunaHost/GUI/LunaHost.cpp index 4c6a6f5c..69ae57ff 100644 --- a/cpp/LunaHook/LunaHost/GUI/LunaHost.cpp +++ b/cpp/LunaHook/LunaHost/GUI/LunaHost.cpp @@ -139,44 +139,6 @@ void LunaHost::on_proc_connect(DWORD pid) } } -bool queryversion(WORD *_1, WORD *_2, WORD *_3, WORD *_4) -{ - wchar_t fileName[MAX_PATH]; - GetModuleFileNameW(NULL, fileName, MAX_PATH); - DWORD dwHandle; - DWORD dwSize = GetFileVersionInfoSizeW(fileName, &dwHandle); - if (dwSize == 0) - { - return false; - } - - std::vector versionInfoBuffer(dwSize); - if (!GetFileVersionInfoW(fileName, dwHandle, dwSize, versionInfoBuffer.data())) - { - return false; - } - - VS_FIXEDFILEINFO *pFileInfo; - UINT fileInfoSize; - if (!VerQueryValueW(versionInfoBuffer.data(), L"\\", reinterpret_cast(&pFileInfo), &fileInfoSize)) - { - return false; - } - - DWORD ms = pFileInfo->dwFileVersionMS; - DWORD ls = pFileInfo->dwFileVersionLS; - - WORD majorVersion = HIWORD(ms); - WORD minorVersion = LOWORD(ms); - WORD buildNumber = HIWORD(ls); - WORD revisionNumber = LOWORD(ls); - *_1 = majorVersion; - *_2 = minorVersion; - *_3 = buildNumber; - *_4 = revisionNumber; - return true; -} - LunaHost::LunaHost() { @@ -348,11 +310,11 @@ LunaHost::LunaHost() } }) .detach(); - WORD _1, _2, _3, _4; + WORD version[4] = LUNA_VERSION; WCHAR vs[32]; if (queryversion(&_1, &_2, &_3, &_4)) { - wsprintf(vs, L" | %s v%d.%d.%d", VersionCurrent, _1, _2, _3); + wsprintf(vs, L" | %s v%d.%d.%d", VersionCurrent, version[0], version[1], version[2]); title += vs; settext(title); std::thread([&]() diff --git a/cpp/LunaHook/LunaHost/host.cpp b/cpp/LunaHook/LunaHost/host.cpp index 48c1957f..ed677655 100644 --- a/cpp/LunaHook/LunaHost/host.cpp +++ b/cpp/LunaHook/LunaHost/host.cpp @@ -101,7 +101,13 @@ namespace OnConnect(processId); Host::AddConsoleOutput(FormatString(PROC_CONN,processId)); //CreatePipe(); - + WORD hookversion[4]; + WORD hostversion[4]=LUNA_VERSION; + if( ReadFile(hookPipe, hookversion, sizeof(hookversion), &bytesRead, nullptr)){ + if(memcmp(hostversion,hookversion,sizeof(hookversion))!=0) + Host::Warning(UNMATCHABLEVERSION); + } + while (ReadFile(hookPipe, buffer, PIPE_BUFFER_SIZE, &bytesRead, nullptr)) switch (*(HostNotificationType*)buffer) { diff --git a/cpp/LunaHook/include/const.h b/cpp/LunaHook/include/const.h index f1112e64..6282326c 100644 --- a/cpp/LunaHook/include/const.h +++ b/cpp/LunaHook/include/const.h @@ -1,8 +1,6 @@ #pragma once -// texthook/const.h -// 8/23/2013 jichi -// Branch: ITH/common.h, rev 128 +#define LUNA_VERSION {VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,VERSION_REVISION} enum { diff --git a/cpp/version.cmake b/cpp/version.cmake index 8db14896..39452458 100644 --- a/cpp/version.cmake +++ b/cpp/version.cmake @@ -2,5 +2,9 @@ set(VERSION_MAJOR 5) set(VERSION_MINOR 56) set(VERSION_PATCH 8) - +set(VERSION_REVISION 0) +add_definitions(-DVERSION_MAJOR=${VERSION_MAJOR}) +add_definitions(-DVERSION_MINOR=${VERSION_MINOR}) +add_definitions(-DVERSION_PATCH=${VERSION_PATCH}) +add_definitions(-DVERSION_REVISION=${VERSION_REVISION}) include(${CMAKE_CURRENT_LIST_DIR}/version/generate_product_version.cmake) \ No newline at end of file diff --git a/py/LunaTranslator/hiraparse/basehira.py b/py/LunaTranslator/hiraparse/basehira.py index a9626055..8f1c408e 100644 --- a/py/LunaTranslator/hiraparse/basehira.py +++ b/py/LunaTranslator/hiraparse/basehira.py @@ -3,7 +3,7 @@ from traceback import print_exc from myutils.proxy import getproxy # fmt: off -allkata="ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶヽヾ", +allkata="ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶヽヾ" allhira="ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんゔゕゖゝゞ" hira_s=["あ","い","う","え","お","か","き","く","け","こ","さ","し","す","せ","そ","た","ち","つ","て","と","な","に","ぬ","ね","の","は","ひ","ふ","へ","ほ","ま","み","む","め","も","や","ゆ","よ","ら","り","る","れ","ろ","わ","を","ん","が","ぎ","ぐ","げ","ご","ざ","じ","ず","ぜ","ぞ","だ","ぢ","づ","で","ど","ば","び","ぶ","べ","ぼ","ぱ","ぴ","ぷ","ぺ","ぽ","きゃ","きぃ","きゅ","きぇ","きょ","しゃ","しぃ","しゅ","しぇ","しょ","ちゃ","ちぃ","ちゅ","ちぇ","ちょ","にゃ","にぃ","にゅ","にぇ","にょ","ひゃ","ひぃ","ひゅ","ひぇ","ひょ","みゃ","みぃ","みゅ","みぇ","みょ","りゃ","りぃ","りゅ","りぇ","りょ","ぎゃ","ぎぃ","ぎゅ","ぎぇ","ぎょ","じゃ","じぃ","じゅ","じぇ","じょ","ぢゃ","ぢぃ","ぢゅ","ぢぇ","ぢょ","びゃ","びぃ","びゅ","びぇ","びょ","ぴゃ","ぴぃ","ぴゅ","ぴぇ","ぴょ","ぐぁ","ぐぃ","ぐぅ","ぐぇ","ぐぉ","つぁ","つぃ","つぇ","つぉ","ふぁ","ふぃ","ふぇ","ふぉ","うぁ","うぃ","うぅ","うぇ","うぉ","ヴぁ","ヴぃ","ヴ","ヴぇ","ヴぉ","でゃ","でぃ","でゅ","でぇ","でょ","てゃ","てぃ","てゅ","てぇ","てょ","っ"] kata_s=["ア","イ","ウ","エ","オ","カ","キ","ク","ケ","コ","サ","シ","ス","セ","ソ","タ","チ","ツ","テ","ト","ナ","ニ","ヌ","ネ","ノ","ハ","ヒ","フ","ヘ","ホ","マ","ミ","ム","メ","モ","ヤ","ユ","ヨ","ラ","リ","ル","レ","ロ","ワ","ヲ","ン","ガ","ギ","グ","ゲ","ゴ","ザ","ジ","ズ","ゼ","ゾ","ダ","ヂ","ヅ","デ","ド","バ","ビ","ブ","ベ","ボ","パ","ピ","プ","ペ","ポ","キャ","キィ","キュ","キェ","キョ","シャ","シィ","シュ","シェ","ショ","チャ","チィ","チュ","チェ","チョ","ニャ","ニィ","ニュ","ニェ","ニョ","ヒャ","ヒィ","ヒュ","ヒェ","ヒョ","ミャ","ミィ","ミュ","ミェ","ミョ","リャ","リィ","リュ","リェ","リョ","ギャ","ギィ","ギュ","ギェ","ギョ","ジャ","ジィ","ジュ","ジェ","ジョ","ヂャ","ヂィ","ヂュ","ヂェ","ヂョ","ビャ","ビィ","ビュ","ビェ","ビョ","ピャ","ピィ","ピュ","ピェ","ピョ","グァ","グィ","グゥ","グェ","グォ","ツァ","ツィ","ツェ","ツォ","ファ","フィ","フェ","フォ","ウァ","ウィ","ウゥ","ウェ","ウォ","ヴァ","ヴィ","ヴ","ヴェ","ヴォ","デャ","ディ","デュ","デェ","デョ","テャ","ティ","テュ","テェ","テョ","ッ"] diff --git a/py/LunaTranslator/myutils/config.py b/py/LunaTranslator/myutils/config.py index 461067fe..629440dc 100644 --- a/py/LunaTranslator/myutils/config.py +++ b/py/LunaTranslator/myutils/config.py @@ -588,6 +588,7 @@ def _TR(k: str): __ = "(" + __ + ")" if not __: __ = k + languageshow[k] = "" return __ diff --git a/py/LunaTranslator/translator/atlas.py b/py/LunaTranslator/translator/atlas.py index 7e723e82..ba7ff90f 100644 --- a/py/LunaTranslator/translator/atlas.py +++ b/py/LunaTranslator/translator/atlas.py @@ -1,6 +1,7 @@ from myutils.subproc import subproc_w, autoproc from translator.basetranslator import basetrans import os, time +from myutils.config import _TR import windows @@ -46,7 +47,7 @@ class TS(basetrans): def x64(self, content): if self.checkpath() == False: - return "error" + raise Exception(_TR("翻译器加载失败")) ress = [] for line in content.split("\n"): if len(line) == 0: diff --git a/py/LunaTranslator/translator/dreye.py b/py/LunaTranslator/translator/dreye.py index 93482565..34f5ee26 100644 --- a/py/LunaTranslator/translator/dreye.py +++ b/py/LunaTranslator/translator/dreye.py @@ -1,5 +1,6 @@ from myutils.subproc import subproc_w, autoproc from translator.basetranslator import basetrans +from myutils.config import _TR import os, time import windows @@ -61,7 +62,7 @@ class TS(basetrans): def x64(self, content): if self.checkpath() == False: - return "error" + raise Exception(_TR("翻译器加载失败")) codes = {"zh": "gbk", "ja": "shift-jis", "en": "utf8"} ress = [] for line in content.split("\n"): diff --git a/py/LunaTranslator/translator/eztrans.py b/py/LunaTranslator/translator/eztrans.py index 54455089..6432a198 100644 --- a/py/LunaTranslator/translator/eztrans.py +++ b/py/LunaTranslator/translator/eztrans.py @@ -1,5 +1,5 @@ from translator.basetranslator import basetrans -import ctypes +from myutils.config import _TR import os, time import windows from myutils.subproc import subproc_w, autoproc @@ -57,7 +57,7 @@ class TS(basetrans): def x64(self, content: str): if self.checkpath() == False: - return "error" + raise Exception(_TR("翻译器加载失败")) content = content.replace("\r", "\n") code1 = content.encode("utf-16-le") diff --git a/py/LunaTranslator/translator/jb7.py b/py/LunaTranslator/translator/jb7.py index 077e0d33..2b1d189e 100644 --- a/py/LunaTranslator/translator/jb7.py +++ b/py/LunaTranslator/translator/jb7.py @@ -2,6 +2,7 @@ from translator.basetranslator import basetrans import ctypes import os, time import windows +from myutils.config import _TR from myutils.subproc import subproc_w, autoproc @@ -69,9 +70,8 @@ class TS(basetrans): def x64(self, content: str): if self.tgtlang not in ["936", "950"]: return "" - t = time.time() if self.checkpath() == False: - return "error" + raise Exception(_TR("翻译器加载失败")) content = content.replace("\r", "\n") lines = content.split("\n") ress = [] diff --git a/py/LunaTranslator/translator/kingsoft.py b/py/LunaTranslator/translator/kingsoft.py index 7a5b5527..abb8c2f8 100644 --- a/py/LunaTranslator/translator/kingsoft.py +++ b/py/LunaTranslator/translator/kingsoft.py @@ -1,5 +1,6 @@ from myutils.subproc import subproc_w, autoproc from translator.basetranslator import basetrans +from myutils.config import _TR import os, time import windows @@ -65,7 +66,7 @@ class TS(basetrans): def x64(self, content): if self.checkpath() == False: - return "error" + raise Exception(_TR("翻译器加载失败")) ress = [] for line in content.split("\n"): if len(line) == 0: diff --git a/py/files/lang/ar.json b/py/files/lang/ar.json index 71b60ef3..b4641663 100644 --- a/py/files/lang/ar.json +++ b/py/files/lang/ar.json @@ -810,5 +810,6 @@ "无可用语言": "لا توجد لغة متاحة", "过时的词典": "قاموس عفا عليها الزمن", "其他工具": "أدوات أخرى", - "过时的翻译器": "عفا عليها الزمن مترجم" + "过时的翻译器": "عفا عليها الزمن مترجم", + "翻译器加载失败": "المترجم فشل التحميل" } \ No newline at end of file diff --git a/py/files/lang/cht.json b/py/files/lang/cht.json index fc751c3f..0aa6fdf6 100644 --- a/py/files/lang/cht.json +++ b/py/files/lang/cht.json @@ -810,5 +810,6 @@ "无可用语言": "無可用語言", "过时的词典": "過時的詞典", "其他工具": "其他工具", - "过时的翻译器": "過時的翻譯器" + "过时的翻译器": "過時的翻譯器", + "翻译器加载失败": "翻譯器加載失敗" } \ No newline at end of file diff --git a/py/files/lang/cs.json b/py/files/lang/cs.json index 6bb3e68a..3148c5ca 100644 --- a/py/files/lang/cs.json +++ b/py/files/lang/cs.json @@ -810,5 +810,6 @@ "无可用语言": "Žádné dostupné jazyky", "过时的词典": "Zastaralý slovník", "其他工具": "Ostatní nástroje", - "过时的翻译器": "Zastaralý překladatel" + "过时的翻译器": "Zastaralý překladatel", + "翻译器加载失败": "Načítání překladatele selhalo" } \ No newline at end of file diff --git a/py/files/lang/de.json b/py/files/lang/de.json index 2badb614..865bbea2 100644 --- a/py/files/lang/de.json +++ b/py/files/lang/de.json @@ -810,5 +810,6 @@ "无可用语言": "Keine verfügbaren Sprachen", "过时的词典": "Veraltetes Wörterbuch", "其他工具": "Andere Werkzeuge", - "过时的翻译器": "Veralteter Übersetzer" + "过时的翻译器": "Veralteter Übersetzer", + "翻译器加载失败": "Laden des Übersetzers fehlgeschlagen" } \ No newline at end of file diff --git a/py/files/lang/en.json b/py/files/lang/en.json index 968451f5..85299c7f 100644 --- a/py/files/lang/en.json +++ b/py/files/lang/en.json @@ -810,5 +810,6 @@ "无可用语言": "No available languages", "过时的词典": "Outdated dictionary", "其他工具": "Other tools", - "过时的翻译器": "Outdated translator" + "过时的翻译器": "Outdated translator", + "翻译器加载失败": "Translator loading failed" } \ No newline at end of file diff --git a/py/files/lang/es.json b/py/files/lang/es.json index 89c7459a..ec77a678 100644 --- a/py/files/lang/es.json +++ b/py/files/lang/es.json @@ -810,5 +810,6 @@ "无可用语言": "No hay idiomas disponibles", "过时的词典": "Diccionarios obsoletos", "其他工具": "Otras herramientas", - "过时的翻译器": "Traductores obsoletos" + "过时的翻译器": "Traductores obsoletos", + "翻译器加载失败": "Falló la carga del traductor" } \ No newline at end of file diff --git a/py/files/lang/fr.json b/py/files/lang/fr.json index b6b91a24..a14c5d57 100644 --- a/py/files/lang/fr.json +++ b/py/files/lang/fr.json @@ -810,5 +810,6 @@ "无可用语言": "Aucune langue disponible", "过时的词典": "Dictionnaire obsolète", "其他工具": "Autres outils", - "过时的翻译器": "Traducteur obsolète" + "过时的翻译器": "Traducteur obsolète", + "翻译器加载失败": "Le chargement du traducteur a échoué" } \ No newline at end of file diff --git a/py/files/lang/it.json b/py/files/lang/it.json index 19aa6796..70bc78bd 100644 --- a/py/files/lang/it.json +++ b/py/files/lang/it.json @@ -810,5 +810,6 @@ "无可用语言": "Nessuna lingua disponibile", "过时的词典": "Dizionario obsoleto", "其他工具": "Altri strumenti", - "过时的翻译器": "Traduttore obsoleto" + "过时的翻译器": "Traduttore obsoleto", + "翻译器加载失败": "Caricamento del traduttore non riuscito" } \ No newline at end of file diff --git a/py/files/lang/ja.json b/py/files/lang/ja.json index 5573a18e..ce00164b 100644 --- a/py/files/lang/ja.json +++ b/py/files/lang/ja.json @@ -810,5 +810,6 @@ "无可用语言": "使用可能な言語はありません", "过时的词典": "時代遅れの辞書", "其他工具": "その他のツール", - "过时的翻译器": "古い翻訳機" + "过时的翻译器": "古い翻訳機", + "翻译器加载失败": "翻訳機のロードに失敗しました" } \ No newline at end of file diff --git a/py/files/lang/ko.json b/py/files/lang/ko.json index 79bf5c38..ae5e8eca 100644 --- a/py/files/lang/ko.json +++ b/py/files/lang/ko.json @@ -810,5 +810,6 @@ "无可用语言": "사용 가능한 언어 없음", "过时的词典": "구식 사전", "其他工具": "기타 도구", - "过时的翻译器": "오래된 번역기" + "过时的翻译器": "오래된 번역기", + "翻译器加载失败": "번역기 로드 실패" } \ No newline at end of file diff --git a/py/files/lang/nl.json b/py/files/lang/nl.json index eba5930b..c3317c93 100644 --- a/py/files/lang/nl.json +++ b/py/files/lang/nl.json @@ -810,5 +810,6 @@ "无可用语言": "Geen beschikbare talen", "过时的词典": "Verouderd woordenboek", "其他工具": "Andere hulpmiddelen", - "过时的翻译器": "Verouderde vertaler" + "过时的翻译器": "Verouderde vertaler", + "翻译器加载失败": "Laden van vertaler mislukt" } \ No newline at end of file diff --git a/py/files/lang/pl.json b/py/files/lang/pl.json index 45882d6e..d8934e6c 100644 --- a/py/files/lang/pl.json +++ b/py/files/lang/pl.json @@ -810,5 +810,6 @@ "无可用语言": "Brak dostępnych języków", "过时的词典": "Przestarzały słownik", "其他工具": "Inne narzędzia", - "过时的翻译器": "Przestarzały tłumacz" + "过时的翻译器": "Przestarzały tłumacz", + "翻译器加载失败": "Wczytanie tłumacza nie powiodło się" } \ No newline at end of file diff --git a/py/files/lang/pt.json b/py/files/lang/pt.json index 589938c2..e01a694f 100644 --- a/py/files/lang/pt.json +++ b/py/files/lang/pt.json @@ -810,5 +810,6 @@ "无可用语言": "Sem línguas disponíveis", "过时的词典": "Dicionário desatualizado", "其他工具": "Outras ferramentas", - "过时的翻译器": "Tradutor desatualizado" + "过时的翻译器": "Tradutor desatualizado", + "翻译器加载失败": "O carregamento do tradutor falhou" } \ No newline at end of file diff --git a/py/files/lang/ru.json b/py/files/lang/ru.json index 2fcaa586..b129250e 100644 --- a/py/files/lang/ru.json +++ b/py/files/lang/ru.json @@ -810,5 +810,6 @@ "无可用语言": "Нет доступных языков", "过时的词典": "Устаревший словарь", "其他工具": "Другие инструменты", - "过时的翻译器": "Устаревший переводчик" + "过时的翻译器": "Устаревший переводчик", + "翻译器加载失败": "Ошибка загрузки переводчика" } \ No newline at end of file diff --git a/py/files/lang/sv.json b/py/files/lang/sv.json index 197edee0..a8a4d105 100644 --- a/py/files/lang/sv.json +++ b/py/files/lang/sv.json @@ -810,5 +810,6 @@ "无可用语言": "Inga tillgängliga språk", "过时的词典": "Föråldrad ordlista", "其他工具": "Andra verktyg", - "过时的翻译器": "Föråldrad översättare" + "过时的翻译器": "Föråldrad översättare", + "翻译器加载失败": "Laddning av översättare misslyckades" } \ No newline at end of file diff --git a/py/files/lang/th.json b/py/files/lang/th.json index e2cf6906..a66ab17e 100644 --- a/py/files/lang/th.json +++ b/py/files/lang/th.json @@ -810,5 +810,6 @@ "无可用语言": "ไม่มีภาษา", "过时的词典": "พจนานุกรมที่ล้าสมัย", "其他工具": "เครื่องมืออื่นๆ", - "过时的翻译器": "นักแปลล้าสมัย" + "过时的翻译器": "นักแปลล้าสมัย", + "翻译器加载失败": "โหลดนักแปลล้มเหลว" } \ No newline at end of file diff --git a/py/files/lang/tr.json b/py/files/lang/tr.json index 33f7337c..3480651e 100644 --- a/py/files/lang/tr.json +++ b/py/files/lang/tr.json @@ -810,5 +810,6 @@ "无可用语言": "Mevcut diller yok", "过时的词典": "Eski sözlük", "其他工具": "Diğer araçlar", - "过时的翻译器": "Eski çeviriciler" + "过时的翻译器": "Eski çeviriciler", + "翻译器加载失败": "Çevirme yüklemesi başarısız oldu" } \ No newline at end of file diff --git a/py/files/lang/uk.json b/py/files/lang/uk.json index ba49785a..8b6dbf48 100644 --- a/py/files/lang/uk.json +++ b/py/files/lang/uk.json @@ -810,5 +810,6 @@ "无可用语言": "Немає доступних мов", "过时的词典": "Outdated dictionary", "其他工具": "Інші інструменти", - "过时的翻译器": "Старений перекладач" + "过时的翻译器": "Старений перекладач", + "翻译器加载失败": "Спроба завантаження перекладача зазнала невдачі" } \ No newline at end of file diff --git a/py/files/lang/vi.json b/py/files/lang/vi.json index 03f089ae..756308e8 100644 --- a/py/files/lang/vi.json +++ b/py/files/lang/vi.json @@ -810,5 +810,6 @@ "无可用语言": "Không có ngôn ngữ", "过时的词典": "Từ điển lỗi thời", "其他工具": "Công cụ khác", - "过时的翻译器": "Trình dịch lỗi thời" + "过时的翻译器": "Trình dịch lỗi thời", + "翻译器加载失败": "Trình dịch không tải được" } \ No newline at end of file diff --git a/py/files/lang/zh.json b/py/files/lang/zh.json index f50427c5..24e7da74 100644 --- a/py/files/lang/zh.json +++ b/py/files/lang/zh.json @@ -810,5 +810,6 @@ "无可用语言": "", "过时的词典": "", "过时的翻译器": "", - "其他工具": "" + "其他工具": "", + "翻译器加载失败": "" } \ No newline at end of file