From 669558de2999c038cf662adfde4b379c52e78a0a 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: Sat, 9 Nov 2024 20:52:02 +0800 Subject: [PATCH] ui --- cpp/version.cmake | 4 +- py/LunaTranslator/gui/setting.py | 5 +- py/LunaTranslator/gui/setting_about.py | 83 ++++++++-- py/LunaTranslator/gui/setting_lang.py | 90 ----------- py/LunaTranslator/gui/setting_proxy.py | 175 +++++++++++---------- py/LunaTranslator/gui/setting_textinput.py | 67 ++++++-- py/LunaTranslator/gui/usefulwidget.py | 1 - py/LunaTranslator/myutils/config.py | 15 +- py/files/lang/ar.json | 5 +- py/files/lang/cht.json | 5 +- py/files/lang/cs.json | 5 +- py/files/lang/de.json | 5 +- py/files/lang/en.json | 5 +- py/files/lang/es.json | 5 +- py/files/lang/fr.json | 5 +- py/files/lang/it.json | 5 +- py/files/lang/ja.json | 5 +- py/files/lang/ko.json | 5 +- py/files/lang/nl.json | 5 +- py/files/lang/pl.json | 5 +- py/files/lang/pt.json | 5 +- py/files/lang/ru.json | 5 +- py/files/lang/sv.json | 5 +- py/files/lang/th.json | 5 +- py/files/lang/tr.json | 5 +- py/files/lang/uk.json | 5 +- py/files/lang/vi.json | 5 +- py/files/lang/zh.json | 5 +- 28 files changed, 265 insertions(+), 275 deletions(-) delete mode 100644 py/LunaTranslator/gui/setting_lang.py diff --git a/cpp/version.cmake b/cpp/version.cmake index 39452458..5d2f3c58 100644 --- a/cpp/version.cmake +++ b/cpp/version.cmake @@ -1,7 +1,7 @@ set(VERSION_MAJOR 5) -set(VERSION_MINOR 56) -set(VERSION_PATCH 8) +set(VERSION_MINOR 57) +set(VERSION_PATCH 0) set(VERSION_REVISION 0) add_definitions(-DVERSION_MAJOR=${VERSION_MAJOR}) add_definitions(-DVERSION_MINOR=${VERSION_MINOR}) diff --git a/py/LunaTranslator/gui/setting.py b/py/LunaTranslator/gui/setting.py index 8ac5befd..c7d78450 100644 --- a/py/LunaTranslator/gui/setting.py +++ b/py/LunaTranslator/gui/setting.py @@ -9,7 +9,6 @@ from gui.setting_display import setTabThree_lazy from gui.setting_tts import setTab5, showvoicelist from gui.setting_cishu import setTabcishu from gui.setting_hotkey import setTab_quick, registrhotkeys -from gui.setting_lang import setTablang from gui.setting_proxy import setTab_proxy from gui.setting_transopti import setTab7_lazy, delaysetcomparetext from gui.setting_about import ( @@ -95,14 +94,13 @@ class Setting(closeashidewindow): self.tab_widget, do = makesubtab_lazy( [ - "文本输入", + "核心设置", "翻译设置", "显示设置", "文本处理", "辞书设置", "语音合成", "快捷按键", - "语言设置", "网络设置", "关于软件", ], @@ -114,7 +112,6 @@ class Setting(closeashidewindow): functools.partial(setTabcishu, self), functools.partial(setTab5, self), functools.partial(setTab_quick, self), - functools.partial(setTablang, self), functools.partial(setTab_proxy, self), functools.partial(setTab_about, self), ], diff --git a/py/LunaTranslator/gui/setting_about.py b/py/LunaTranslator/gui/setting_about.py index ba3a0d69..95796163 100644 --- a/py/LunaTranslator/gui/setting_about.py +++ b/py/LunaTranslator/gui/setting_about.py @@ -10,7 +10,13 @@ import shutil, gobject from myutils.proxy import getproxy import zipfile, os import subprocess -from gui.usefulwidget import D_getsimpleswitch, makescrollgrid, makesubtab_lazy +from gui.usefulwidget import ( + D_getsimpleswitch, + makescrollgrid, + makesubtab_lazy, + D_getsimplecombobox, + D_getIconButton, +) from gui.dynalang import LLabel versionchecktask = queue.Queue() @@ -347,7 +353,7 @@ def setTab_about(self, basel): tab_widget, do = makesubtab_lazy( [ "关于软件", - "版本更新", + "其他设置", "资源下载", ], [ @@ -361,6 +367,11 @@ def setTab_about(self, basel): do() +def changeUIlanguage(_): + languageChangeEvent = QEvent(QEvent.Type.LanguageChange) + QApplication.sendEvent(QApplication.instance(), languageChangeEvent) + + def setTab_update(self, basel): version = winsharedutils.queryversion(getcurrexe()) if version is None: @@ -369,25 +380,73 @@ def setTab_update(self, basel): versionstring = ( f"v{version[0]}.{version[1]}.{version[2]} {platform.architecture()[0]}" ) + inner, vis = [_[1] for _ in static_data["language_list_show"]], [ + _[0] for _ in static_data["language_list_show"] + ] grid2 = [ [ - "自动更新", ( - D_getsimpleswitch( - globalconfig, "autoupdate", callback=versionchecktask.put + dict( + title="版本更新", + type="grid", + grid=[ + [ + "自动更新", + ( + D_getsimpleswitch( + globalconfig, + "autoupdate", + callback=versionchecktask.put, + ), + 0, + ), + ], + [ + "当前版本", + versionstring, + "", + "最新版本", + functools.partial(createversionlabel, self), + "", + ], + [(functools.partial(createdownloadprogress, self), 0)], + ], ), 0, + "group", ), ], [ - "当前版本", - versionstring, - "", - "最新版本", - functools.partial(createversionlabel, self), - "", + ( + dict( + title="软件显示语言", + type="grid", + grid=[ + [ + "软件显示语言", + D_getsimplecombobox( + vis, + globalconfig, + "languageuse2", + callback=changeUIlanguage, + static=True, + internal=inner, + ), + D_getIconButton( + callback=lambda: os.startfile( + os.path.abspath( + "./files/lang/{}.json".format(getlanguse()) + ) + ), + icon="fa.gear", + ), + ], + ], + ), + 0, + "group", + ), ], - [(functools.partial(createdownloadprogress, self), 0)], ] makescrollgrid(grid2, basel) diff --git a/py/LunaTranslator/gui/setting_lang.py b/py/LunaTranslator/gui/setting_lang.py deleted file mode 100644 index eb854e00..00000000 --- a/py/LunaTranslator/gui/setting_lang.py +++ /dev/null @@ -1,90 +0,0 @@ -import os -from myutils.config import globalconfig, static_data, getlanguse -from gui.usefulwidget import ( - D_getsimplecombobox, - D_getIconButton, - makescrollgrid, -) -from qtsymbols import * - - -def changelang(_): - languageChangeEvent = QEvent(QEvent.Type.LanguageChange) - QApplication.sendEvent(QApplication.instance(), languageChangeEvent) - - -def setTablanglz(self): - inner, vis = [_[1] for _ in static_data["language_list_show"]], [ - _[0] for _ in static_data["language_list_show"] - ] - return [ - [ - ( - dict( - title="翻译及OCR", - type="grid", - grid=( - [ - "源语言", - D_getsimplecombobox( - ["自动"] - + [_["zh"] for _ in static_data["lang_list_all"]], - globalconfig, - "srclang4", - internal=["auto"] - + [_["code"] for _ in static_data["lang_list_all"]], - ), - ], - [ - "目标语言", - D_getsimplecombobox( - [_["zh"] for _ in static_data["lang_list_all"]], - globalconfig, - "tgtlang4", - internal=[ - _["code"] for _ in static_data["lang_list_all"] - ], - ), - ], - ), - ), - 0, - "group", - ) - ], - [ - ( - dict( - title="软件显示语言", - type="grid", - grid=( - [ - "软件显示语言", - D_getsimplecombobox( - vis, - globalconfig, - "languageuse2", - callback=changelang, - static=True, - internal=inner, - ), - D_getIconButton( - callback=lambda: os.startfile( - os.path.abspath( - "./files/lang/{}.json".format(getlanguse()) - ) - ), - icon="fa.gear", - ), - ], - ), - ), - 0, - "group", - ) - ], - ] - - -def setTablang(self, l): - makescrollgrid(setTablanglz(self), l) diff --git a/py/LunaTranslator/gui/setting_proxy.py b/py/LunaTranslator/gui/setting_proxy.py index ebbfc8f7..bed4489a 100644 --- a/py/LunaTranslator/gui/setting_proxy.py +++ b/py/LunaTranslator/gui/setting_proxy.py @@ -6,7 +6,7 @@ from gui.usefulwidget import ( D_getsimpleswitch, makegrid, makesubtab_lazy, - getvboxwidget, + LGroupBox, makescrollgrid, D_getsimplecombobox, ) @@ -90,28 +90,15 @@ def checkxx(key): return globalconfig["fanyi"][key].get("is_gpt_like", False) -def makeproxytab(self, basel): +def makegridW(grid, lay, save=False, savelist=None, savelay=None): + wid, do = makegrid(grid, save, savelist, savelay, delay=True) + lay.addWidget(wid) + do() + return wid + + +def makeproxytab(): - grid1 = [ - [("使用代理", 5), (D_getsimpleswitch(globalconfig, "useproxy"), 1), ("", 10)], - [ - ("自动获取系统代理", 5), - ( - D_getsimpleswitch( - globalconfig, - "usesysproxy", - callback=lambda x: _ifusesysproxy(self, x), - ) - ), - ], - [ - ("手动设置代理(ip:port)", 5), - (functools.partial(createproxyedit, self), 5), - (functools.partial(createproxyedit_check, self), 5), - ], - [], - [("使用代理的项目", -1)], - ] lixians, pre, mianfei, develop, shoufei = splittranslatortypes() mianfei = getall(l=mianfei, item="fanyi", name="./Lunatranslator/translator/%s.py") @@ -142,10 +129,6 @@ def makeproxytab(self, basel): item="update", ) - vw, vl = getvboxwidget() - basel.addWidget(vw) - gridlayoutwidget, do = makegrid(grid1, delay=True) - vl.addWidget(gridlayoutwidget) tab, dotab = makesubtab_lazy( [ "在线翻译", @@ -158,65 +141,95 @@ def makeproxytab(self, basel): "自动更新", ], [ - functools.partial(makescrollgrid, mianfei), - functools.partial(makescrollgrid, shoufei), - functools.partial(makescrollgrid, ocrs), - functools.partial(makescrollgrid, readers), - functools.partial(makescrollgrid, cishus), - functools.partial(makescrollgrid, meta), - functools.partial(makescrollgrid, lixians), - functools.partial(makescrollgrid, github), + functools.partial(makegridW, mianfei), + functools.partial(makegridW, shoufei), + functools.partial(makegridW, ocrs), + functools.partial(makegridW, readers), + functools.partial(makegridW, cishus), + functools.partial(makegridW, meta), + functools.partial(makegridW, lixians), + functools.partial(makegridW, github), ], delay=True, ) - vl.addWidget(tab) - do() - dotab() - - -def setTab_proxy_lazy(self, basel): - tab, dotab = makesubtab_lazy( - [ - "代理设置", - "网络请求", - ], - [ - functools.partial(makeproxytab, self), - functools.partial( - makescrollgrid, - [ - [ - "HTTP", - ( - D_getsimplecombobox( - ["winhttp", "libcurl"], - globalconfig, - "network", - static=True, - ), - 5, - ), - ], - [ - "WebSocket", - ( - D_getsimplecombobox( - ["winhttp", "libcurl"], - globalconfig, - "network_websocket", - static=True, - ), - 5, - ), - ], - ], - ), - ], - delay=True, - ) - basel.addWidget(tab) + group = LGroupBox() + group.setTitle("使用代理的项目") + l = QVBoxLayout() + group.setLayout(l) + l.addWidget(tab) dotab() + return group def setTab_proxy(self, l): - setTab_proxy_lazy(self, l) + grids = [ + [ + ( + dict( + title="网络请求", + type="grid", + grid=[ + [ + "HTTP", + ( + D_getsimplecombobox( + ["winhttp", "libcurl"], + globalconfig, + "network", + static=True, + ), + 5, + ), + "", + "WebSocket", + ( + D_getsimplecombobox( + ["winhttp", "libcurl"], + globalconfig, + "network_websocket", + static=True, + ), + 5, + ), + ], + ], + ), + 0, + "group", + ) + ], + [ + ( + dict( + title="代理设置", + type="grid", + grid=[ + [ + ("使用代理", 5), + (D_getsimpleswitch(globalconfig, "useproxy"), 1), + ("", 10), + ], + [ + ("自动获取系统代理", 5), + ( + D_getsimpleswitch( + globalconfig, + "usesysproxy", + callback=lambda x: _ifusesysproxy(self, x), + ) + ), + ], + [ + ("手动设置代理(ip:port)", 5), + (functools.partial(createproxyedit, self), 5), + (functools.partial(createproxyedit_check, self), 5), + ], + [(makeproxytab, -1)], + ], + ), + 0, + "group", + ) + ], + ] + makescrollgrid(grids, l) diff --git a/py/LunaTranslator/gui/setting_textinput.py b/py/LunaTranslator/gui/setting_textinput.py index 5190393f..0b4fc418 100644 --- a/py/LunaTranslator/gui/setting_textinput.py +++ b/py/LunaTranslator/gui/setting_textinput.py @@ -9,7 +9,9 @@ from myutils.config import ( get_launchpath, savehook_new_list, static_data, + getlanguse, ) + from traceback import print_exc from gui.pretransfile import sqlite2json2 from gui.codeacceptdialog import codeacceptdialog @@ -58,21 +60,14 @@ def gethookgrid(self): [ "选择游戏", functools.partial(__create, self), - ("", 5), - ], - [ + "", "选择文本", functools.partial(__create2, self), - ], - [], - [ - "已保存游戏", - ( - D_getIconButton( - lambda: dialog_savedgame_integrated(self), - icon="fa.gamepad", - ), - 1, + "", + "游戏管理", + D_getIconButton( + lambda: dialog_savedgame_integrated(self), + icon="fa.gamepad", ), ], [], @@ -519,6 +514,35 @@ def outputgrid(self): return grids +def setTablanglz(): + return [ + [ + "源语言", + ( + D_getsimplecombobox( + ["自动"] + [_["zh"] for _ in static_data["lang_list_all"]], + globalconfig, + "srclang4", + internal=["auto"] + + [_["code"] for _ in static_data["lang_list_all"]], + ), + 5, + ), + "", + "目标语言", + ( + D_getsimplecombobox( + [_["zh"] for _ in static_data["lang_list_all"]], + globalconfig, + "tgtlang4", + internal=[_["code"] for _ in static_data["lang_list_all"]], + ), + 5, + ), + ] + ] + + def setTabOne_lazy(self, basel): _rank = [ ("texthook", "HOOK"), @@ -547,10 +571,21 @@ def setTabOne_lazy(self, basel): ) __.append("") tab1grids = [ - [("选择文本输入源", -1)], - __, + [ + ( + dict(title="语言设置", type="grid", grid=setTablanglz()), + 0, + "group", + ), + ], + [ + ( + dict(title="文本输入", type="grid", grid=[__]), + 0, + "group", + ), + ], ] - vw, vl = getvboxwidget() basel.addWidget(vw) gridlayoutwidget, do = makegrid(tab1grids, delay=True) diff --git a/py/LunaTranslator/gui/usefulwidget.py b/py/LunaTranslator/gui/usefulwidget.py index c053a8dd..f9463182 100644 --- a/py/LunaTranslator/gui/usefulwidget.py +++ b/py/LunaTranslator/gui/usefulwidget.py @@ -1677,7 +1677,6 @@ def makegroupingrid(args): enable = args.get("enable", True) internallayoutname = args.get("internallayoutname", None) group = LGroupBox() - if not enable: group.setEnabled(False) if groupname and parent: diff --git a/py/LunaTranslator/myutils/config.py b/py/LunaTranslator/myutils/config.py index 629440dc..73f40c3d 100644 --- a/py/LunaTranslator/myutils/config.py +++ b/py/LunaTranslator/myutils/config.py @@ -580,16 +580,13 @@ def _TR(k: str): if "_" in k: splits = k.split("_") return " ".join([_TR(_) for _ in splits]) + if k.startswith("(") and k.endswith(")"): + return "(" + _TR(k[1:-1]) + ")" __ = languageshow.get(k) - if not __: - if k.startswith("(") and k.endswith(")"): - __ = languageshow.get(k[1:-1]) - if __: - __ = "(" + __ + ")" - if not __: - __ = k - languageshow[k] = "" - return __ + if __: + return __ + languageshow[k] = "" + return k lastapppath = globalconfig["lastapppath"] diff --git a/py/files/lang/ar.json b/py/files/lang/ar.json index b4641663..882d295e 100644 --- a/py/files/lang/ar.json +++ b/py/files/lang/ar.json @@ -2,7 +2,6 @@ "西里尔(CP1251)": "سيريل ( CP1251 )", "桜乃そら": "そそそ", "封面": "تغطية", - "已保存游戏": "حفظ اللعبة", "内置": "مدمجة", "获取失败": "الحصول على فشل", "助動詞": "فعل مساعد", @@ -96,7 +95,6 @@ "显示编辑按钮": "عرض زر تحرير", "灵格斯词典": "قاموس لينغز", "选择文件夹": "اختيار مجلد", - "选择文本输入源": "حدد مصدر إدخال النص", "设置Token": "تعيين رمز", "所选文件格式错误!": "اختيار شكل الملف خطأ !", "高级": "كبار", @@ -811,5 +809,6 @@ "过时的词典": "قاموس عفا عليها الزمن", "其他工具": "أدوات أخرى", "过时的翻译器": "عفا عليها الزمن مترجم", - "翻译器加载失败": "المترجم فشل التحميل" + "翻译器加载失败": "المترجم فشل التحميل", + "核心设置": "الإعداد الأساسية" } \ No newline at end of file diff --git a/py/files/lang/cht.json b/py/files/lang/cht.json index 0aa6fdf6..3f939e56 100644 --- a/py/files/lang/cht.json +++ b/py/files/lang/cht.json @@ -19,7 +19,6 @@ "退出": "退出", "设置": "設定", "基本设置": "基本設定", - "选择文本输入源": "選擇文字輸入來源", "剪贴板": "剪貼簿", "确定": "確定", "百度": "百度", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "西里爾(CP1251)", "拉丁(CP1252)": "拉丁(CP1252)", "HOOK设置": "HOOK 設定", - "已保存游戏": "已儲存遊戲", "代码页": "字碼頁", "刷新延迟(ms)": "重新整理延遲(ms)", "OCR设置": "OCR 設定", @@ -811,5 +809,6 @@ "过时的词典": "過時的詞典", "其他工具": "其他工具", "过时的翻译器": "過時的翻譯器", - "翻译器加载失败": "翻譯器加載失敗" + "翻译器加载失败": "翻譯器加載失敗", + "核心设置": "覈心設定" } \ No newline at end of file diff --git a/py/files/lang/cs.json b/py/files/lang/cs.json index 3148c5ca..054b22af 100644 --- a/py/files/lang/cs.json +++ b/py/files/lang/cs.json @@ -130,7 +130,6 @@ "繁体中文(CP950,BIG5)": "Tradiční čínština (CP950, BIG5)", "翻译结果修正": "Oprava výsledků překladu", "显示": "displej", - "选择文本输入源": "Vybrat vstupní zdroj textu", "获取中": "Dostat se dovnitř", "接頭辞": "Společná slova", "注册在线翻译": "Zaregistrujte se k online překladu", @@ -254,7 +253,6 @@ "描边字体": "Písmo tahu", "默认设置": "výchozí nastavení", "意大利语": "Italština", - "已保存游戏": "Uložená hra", "显示显示原文按钮": "Zobrazit tlačítko původního textu", "去除花括号{}": "Odstraňte kudrnaté rovnátka.", "保留原文": "Zachovat původní text", @@ -811,5 +809,6 @@ "过时的词典": "Zastaralý slovník", "其他工具": "Ostatní nástroje", "过时的翻译器": "Zastaralý překladatel", - "翻译器加载失败": "Načítání překladatele selhalo" + "翻译器加载失败": "Načítání překladatele selhalo", + "核心设置": "Základní nastavení" } \ No newline at end of file diff --git a/py/files/lang/de.json b/py/files/lang/de.json index 865bbea2..ccf3d2b1 100644 --- a/py/files/lang/de.json +++ b/py/files/lang/de.json @@ -130,7 +130,6 @@ "繁体中文(CP950,BIG5)": "Traditionelles Chinesisch (CP950, BIG5)", "翻译结果修正": "Korrektur des Übersetzungsergebnisses", "显示": "Anzeige", - "选择文本输入源": "Textquelle auswählen", "获取中": "Einsteigen", "接頭辞": "Gemeinsame Worte", "注册在线翻译": "Registrieren Sie sich für Online-Übersetzung", @@ -254,7 +253,6 @@ "描边字体": "Strichschrift", "默认设置": "Standardeinstellung", "意大利语": "Italienisch", - "已保存游戏": "Gespeichertes Spiel", "显示显示原文按钮": "Schaltfläche Originaltext anzeigen", "去除花括号{}": "Lockige Klammern entfernen {}", "保留原文": "Den Originaltext beibehalten", @@ -811,5 +809,6 @@ "过时的词典": "Veraltetes Wörterbuch", "其他工具": "Andere Werkzeuge", "过时的翻译器": "Veralteter Übersetzer", - "翻译器加载失败": "Laden des Übersetzers fehlgeschlagen" + "翻译器加载失败": "Laden des Übersetzers fehlgeschlagen", + "核心设置": "Kerneinstellungen" } \ No newline at end of file diff --git a/py/files/lang/en.json b/py/files/lang/en.json index 85299c7f..c8270c49 100644 --- a/py/files/lang/en.json +++ b/py/files/lang/en.json @@ -52,7 +52,6 @@ "描边宽度": "Stroke Width", "插值算法": "Interpolation Algorithm", "显示/隐藏范围框": "Show/Hide Scope Box", - "已保存游戏": "Saved Games", "火山TTS": "Volcano TTS", "翻译设置": "Translation Settings", "百度": "Baidu", @@ -119,7 +118,6 @@ "助動詞": "Auxiliary Verbs", "过滤HTML标签": "Filter HTML Tags", "快译通": "Kuaiyitong Quick Dict", - "选择文本输入源": "Select Text Input Source", "选择文件夹": "Select Folder", "显示分词结果": "Show Word Segmentation Result", "复制到剪贴板": "Copy to Clipboard", @@ -811,5 +809,6 @@ "过时的词典": "Outdated dictionary", "其他工具": "Other tools", "过时的翻译器": "Outdated translator", - "翻译器加载失败": "Translator loading failed" + "翻译器加载失败": "Translator loading failed", + "核心设置": "Core Settings" } \ No newline at end of file diff --git a/py/files/lang/es.json b/py/files/lang/es.json index ec77a678..54b92d94 100644 --- a/py/files/lang/es.json +++ b/py/files/lang/es.json @@ -19,7 +19,6 @@ "退出": "Salida", "设置": "Configuración", "基本设置": "Configuración básica", - "选择文本输入源": "Seleccionar fuente de entrada de texto", "剪贴板": "Portapapeles", "确定": "Determinar", "百度": "Baidu", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Cyril (cp1251)", "拉丁(CP1252)": "Latino (cp1252)", "HOOK设置": "Configuración del gancho", - "已保存游戏": "Juego guardado", "代码页": "Página de código", "刷新延迟(ms)": "Retraso de actualización (ms)", "OCR设置": "Configuración OCR", @@ -811,5 +809,6 @@ "过时的词典": "Diccionarios obsoletos", "其他工具": "Otras herramientas", "过时的翻译器": "Traductores obsoletos", - "翻译器加载失败": "Falló la carga del traductor" + "翻译器加载失败": "Falló la carga del traductor", + "核心设置": "Configuración central" } \ No newline at end of file diff --git a/py/files/lang/fr.json b/py/files/lang/fr.json index a14c5d57..4acb38d0 100644 --- a/py/files/lang/fr.json +++ b/py/files/lang/fr.json @@ -19,7 +19,6 @@ "退出": "Sortie", "设置": "Paramètres", "基本设置": "Paramètres de base", - "选择文本输入源": "Sélectionner la source d'entrée de texte", "剪贴板": "Presse - papiers", "确定": "C'est sûr.", "百度": "Baidu", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Cyril (cp1251)", "拉丁(CP1252)": "Latin (cp1252)", "HOOK设置": "Paramètres Hook", - "已保存游戏": "Jeux enregistrés", "代码页": "Page de code", "刷新延迟(ms)": "Délai de rafraîchissement (MS)", "OCR设置": "Paramètres ocr", @@ -811,5 +809,6 @@ "过时的词典": "Dictionnaire obsolète", "其他工具": "Autres outils", "过时的翻译器": "Traducteur obsolète", - "翻译器加载失败": "Le chargement du traducteur a échoué" + "翻译器加载失败": "Le chargement du traducteur a échoué", + "核心设置": "Paramètres de base" } \ No newline at end of file diff --git a/py/files/lang/it.json b/py/files/lang/it.json index 70bc78bd..d5ae95a6 100644 --- a/py/files/lang/it.json +++ b/py/files/lang/it.json @@ -19,7 +19,6 @@ "退出": "quit", "设置": "istituito", "基本设置": "Impostazioni di base", - "选择文本输入源": "Seleziona sorgente di input testo", "剪贴板": "appunti", "确定": "conferma", "百度": "Baiduworld. kgm", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Cyril (CP1251)", "拉丁(CP1252)": "Latino (CP1252)", "HOOK设置": "Impostazioni HOOK", - "已保存游戏": "Partita salvata", "代码页": "pagina di codice", "刷新延迟(ms)": "Ritardo di aggiornamento (ms)", "OCR设置": "Impostazioni OCR", @@ -811,5 +809,6 @@ "过时的词典": "Dizionario obsoleto", "其他工具": "Altri strumenti", "过时的翻译器": "Traduttore obsoleto", - "翻译器加载失败": "Caricamento del traduttore non riuscito" + "翻译器加载失败": "Caricamento del traduttore non riuscito", + "核心设置": "Impostazioni centrali" } \ No newline at end of file diff --git a/py/files/lang/ja.json b/py/files/lang/ja.json index ce00164b..a295c999 100644 --- a/py/files/lang/ja.json +++ b/py/files/lang/ja.json @@ -19,7 +19,6 @@ "退出": "終了", "设置": "設定#セッテイ#", "基本设置": "基本設定", - "选择文本输入源": "テキスト入力ソースの選択", "剪贴板": "クリップボード", "确定": "を選択して、", "百度": "百度", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "キリル(CP 1251)", "拉丁(CP1252)": "ラテン(CP 1252)", "HOOK设置": "HOOK設定", - "已保存游戏": "保存されたゲーム", "代码页": "コードページ", "刷新延迟(ms)": "リフレッシュ遅延(ms)", "OCR设置": "OCR設定", @@ -811,5 +809,6 @@ "过时的词典": "時代遅れの辞書", "其他工具": "その他のツール", "过时的翻译器": "古い翻訳機", - "翻译器加载失败": "翻訳機のロードに失敗しました" + "翻译器加载失败": "翻訳機のロードに失敗しました", + "核心设置": "コア設定" } \ No newline at end of file diff --git a/py/files/lang/ko.json b/py/files/lang/ko.json index ae5e8eca..256d1f47 100644 --- a/py/files/lang/ko.json +++ b/py/files/lang/ko.json @@ -19,7 +19,6 @@ "退出": "종료", "设置": "설치", "基本设置": "기본 설정", - "选择文本输入源": "텍스트 입력 소스 선택", "剪贴板": "클립보드", "确定": "확인", "百度": "바이두", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "키릴 (CP1251)", "拉丁(CP1252)": "라틴(CP1252)", "HOOK设置": "HOOK 설정", - "已保存游戏": "게임 저장됨", "代码页": "코드 페이지", "刷新延迟(ms)": "새로 고침 지연 (ms)", "OCR设置": "OCR 설정", @@ -811,5 +809,6 @@ "过时的词典": "구식 사전", "其他工具": "기타 도구", "过时的翻译器": "오래된 번역기", - "翻译器加载失败": "번역기 로드 실패" + "翻译器加载失败": "번역기 로드 실패", + "核心设置": "핵심 설정" } \ No newline at end of file diff --git a/py/files/lang/nl.json b/py/files/lang/nl.json index c3317c93..40d53f5b 100644 --- a/py/files/lang/nl.json +++ b/py/files/lang/nl.json @@ -130,7 +130,6 @@ "繁体中文(CP950,BIG5)": "Traditioneel Chinees (CP950, BIG5)", "翻译结果修正": "Correctie van vertaalresultaten", "显示": "display", - "选择文本输入源": "Tekst-invoerbron selecteren", "获取中": "Instappen", "接頭辞": "Gezamenlijke woorden", "注册在线翻译": "Registreer voor online vertaling", @@ -254,7 +253,6 @@ "描边字体": "Strijklettertype", "默认设置": "standaardinstelling", "意大利语": "Italiaans", - "已保存游戏": "Opgeslagen spel", "显示显示原文按钮": "Originele tekstknop weergeven", "去除花括号{}": "Krullende beugels verwijderen.", "保留原文": "De oorspronkelijke tekst behouden", @@ -811,5 +809,6 @@ "过时的词典": "Verouderd woordenboek", "其他工具": "Andere hulpmiddelen", "过时的翻译器": "Verouderde vertaler", - "翻译器加载失败": "Laden van vertaler mislukt" + "翻译器加载失败": "Laden van vertaler mislukt", + "核心设置": "Kerninstellingen" } \ No newline at end of file diff --git a/py/files/lang/pl.json b/py/files/lang/pl.json index d8934e6c..32fed78e 100644 --- a/py/files/lang/pl.json +++ b/py/files/lang/pl.json @@ -19,7 +19,6 @@ "退出": "wyloguj się", "设置": "ustawić", "基本设置": "Ustawienia podstawowe", - "选择文本输入源": "Wybierz źródło wejścia tekstu", "剪贴板": "schowek", "确定": "określić", "百度": "Baidu", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Cyryl (CP1251)", "拉丁(CP1252)": "Łaciński (CP1252)", "HOOK设置": "Ustawienia HOOK", - "已保存游戏": "Gra zapisana", "代码页": "strona kodowa", "刷新延迟(ms)": "Opóźnienie odświeżania (ms)", "OCR设置": "Ustawienia OCR", @@ -811,5 +809,6 @@ "过时的词典": "Przestarzały słownik", "其他工具": "Inne narzędzia", "过时的翻译器": "Przestarzały tłumacz", - "翻译器加载失败": "Wczytanie tłumacza nie powiodło się" + "翻译器加载失败": "Wczytanie tłumacza nie powiodło się", + "核心设置": "Ustawienia główne" } \ No newline at end of file diff --git a/py/files/lang/pt.json b/py/files/lang/pt.json index e01a694f..4dff537a 100644 --- a/py/files/lang/pt.json +++ b/py/files/lang/pt.json @@ -130,7 +130,6 @@ "繁体中文(CP950,BIG5)": "Chinês tradicional (CP950, BIG5)", "翻译结果修正": "Correcção do resultado da tradução", "显示": "display", - "选择文本输入源": "Seleccionar a fonte de entrada de texto", "获取中": "Entrar", "接頭辞": "Palavras Conjuntas", "注册在线翻译": "Registar-se para tradução online", @@ -254,7 +253,6 @@ "描边字体": "Tipo de letra do traçado", "默认设置": "configuração predefinida", "意大利语": "Italiano", - "已保存游戏": "Jogo gravado", "显示显示原文按钮": "Mostrar o botão do texto original", "去除花括号{}": "Remover as chaves encaracoladas {}", "保留原文": "Manter o texto original", @@ -811,5 +809,6 @@ "过时的词典": "Dicionário desatualizado", "其他工具": "Outras ferramentas", "过时的翻译器": "Tradutor desatualizado", - "翻译器加载失败": "O carregamento do tradutor falhou" + "翻译器加载失败": "O carregamento do tradutor falhou", + "核心设置": "Configuração do Núcleo" } \ No newline at end of file diff --git a/py/files/lang/ru.json b/py/files/lang/ru.json index b129250e..42be263c 100644 --- a/py/files/lang/ru.json +++ b/py/files/lang/ru.json @@ -19,7 +19,6 @@ "退出": "Выход", "设置": "Настройки", "基本设置": "Основные настройки", - "选择文本输入源": "Выбор источника", "剪贴板": "Буфер обмена", "确定": "определение", "百度": "Baidu", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Сирил (CP1251)", "拉丁(CP1252)": "латинский (CP1252)", "HOOK设置": "Настройки HOK", - "已保存游戏": "Сохраненная игра", "代码页": "Кодовая страница", "刷新延迟(ms)": "Задержка обновления (ms)", "OCR设置": "Настройки OCR", @@ -811,5 +809,6 @@ "过时的词典": "Устаревший словарь", "其他工具": "Другие инструменты", "过时的翻译器": "Устаревший переводчик", - "翻译器加载失败": "Ошибка загрузки переводчика" + "翻译器加载失败": "Ошибка загрузки переводчика", + "核心设置": "Основные параметры" } \ No newline at end of file diff --git a/py/files/lang/sv.json b/py/files/lang/sv.json index a8a4d105..6d9d1760 100644 --- a/py/files/lang/sv.json +++ b/py/files/lang/sv.json @@ -130,7 +130,6 @@ "繁体中文(CP950,BIG5)": "Traditionellt kinesiskt (CP950, BIG5)", "翻译结果修正": "Korrigering av översättningsresultat", "显示": "visa", - "选择文本输入源": "Välj textinmatningskälla", "获取中": "Att komma in", "接頭辞": "Gemensamma ord", "注册在线翻译": "Registrera dig för översättning online", @@ -254,7 +253,6 @@ "描边字体": "Teckensnitt för streck", "默认设置": "förvald inställning", "意大利语": "Italienska", - "已保存游戏": "Sparat spel", "显示显示原文按钮": "Visa originaltextknapp", "去除花括号{}": "Ta bort lockiga hängslen", "保留原文": "Behåll originaltexten", @@ -811,5 +809,6 @@ "过时的词典": "Föråldrad ordlista", "其他工具": "Andra verktyg", "过时的翻译器": "Föråldrad översättare", - "翻译器加载失败": "Laddning av översättare misslyckades" + "翻译器加载失败": "Laddning av översättare misslyckades", + "核心设置": "Kärninställningar" } \ No newline at end of file diff --git a/py/files/lang/th.json b/py/files/lang/th.json index a66ab17e..2631eada 100644 --- a/py/files/lang/th.json +++ b/py/files/lang/th.json @@ -128,7 +128,6 @@ "繁体中文(CP950,BIG5)": "ภาษาจีนดั้งเดิม (CP950, BIG5)", "翻译结果修正": "แก้ไขผลการแปล", "显示": "แสดง", - "选择文本输入源": "เลือกแหล่งป้อนข้อความ", "获取中": "ได้รับ", "接頭辞": "คำพูดร่วม", "注册在线翻译": "ลงทะเบียนการแปลออนไลน์", @@ -253,7 +252,6 @@ "描边字体": "Designedge ตัวอักษร", "默认设置": "ตั้งค่าปริยาย", "意大利语": "อิตาลี", - "已保存游戏": "บันทึกเกม", "显示显示原文按钮": "แสดงปุ่มแสดงข้อความต้นฉบับ", "去除花括号{}": "ลบวงเล็บดอกไม้ {}", "保留原文": "เก็บต้นฉบับไว้", @@ -811,5 +809,6 @@ "过时的词典": "พจนานุกรมที่ล้าสมัย", "其他工具": "เครื่องมืออื่นๆ", "过时的翻译器": "นักแปลล้าสมัย", - "翻译器加载失败": "โหลดนักแปลล้มเหลว" + "翻译器加载失败": "โหลดนักแปลล้มเหลว", + "核心设置": "การตั้งค่าหลัก" } \ No newline at end of file diff --git a/py/files/lang/tr.json b/py/files/lang/tr.json index 3480651e..8efea025 100644 --- a/py/files/lang/tr.json +++ b/py/files/lang/tr.json @@ -19,7 +19,6 @@ "退出": "imzalayın", "设置": "ayarlandır", "基本设置": "Temel ayarlar", - "选择文本输入源": "Metin girdi kaynağını seç", "剪贴板": "clipboard", "确定": "belirle", "百度": "Baiduzaire2006. kgm", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Cyril (CP1251)", "拉丁(CP1252)": "Latin (CP1252)", "HOOK设置": "HOOK ayarları", - "已保存游戏": "Kaydedilmiş oyun", "代码页": "kod sayfası", "刷新延迟(ms)": "Yeniden geçirme (ms)", "OCR设置": "OCR ayarları", @@ -811,5 +809,6 @@ "过时的词典": "Eski sözlük", "其他工具": "Diğer araçlar", "过时的翻译器": "Eski çeviriciler", - "翻译器加载失败": "Çevirme yüklemesi başarısız oldu" + "翻译器加载失败": "Çevirme yüklemesi başarısız oldu", + "核心设置": "İlk Ayarları" } \ No newline at end of file diff --git a/py/files/lang/uk.json b/py/files/lang/uk.json index 8b6dbf48..e1277773 100644 --- a/py/files/lang/uk.json +++ b/py/files/lang/uk.json @@ -19,7 +19,6 @@ "退出": "виписати", "设置": "встановлено", "基本设置": "Основні параметри", - "选择文本输入源": "Виберіть джерело вводу тексту", "剪贴板": "кишені", "确定": "визначити", "百度": "Байдуworld. kgm", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Cyril (CP1251)", "拉丁(CP1252)": "Латинська (CP1252)", "HOOK设置": "Параметри HOOK", - "已保存游戏": "Гра збережена", "代码页": "сторінка коду", "刷新延迟(ms)": "Оновити затримку (мс)", "OCR设置": "Параметри OCR", @@ -811,5 +809,6 @@ "过时的词典": "Outdated dictionary", "其他工具": "Інші інструменти", "过时的翻译器": "Старений перекладач", - "翻译器加载失败": "Спроба завантаження перекладача зазнала невдачі" + "翻译器加载失败": "Спроба завантаження перекладача зазнала невдачі", + "核心设置": "Основні параметри" } \ No newline at end of file diff --git a/py/files/lang/vi.json b/py/files/lang/vi.json index 756308e8..3603b230 100644 --- a/py/files/lang/vi.json +++ b/py/files/lang/vi.json @@ -19,7 +19,6 @@ "退出": "Thoát", "设置": "Thiết lập", "基本设置": "Cài đặt cơ bản", - "选择文本输入源": "Chọn nguồn nhập văn bản", "剪贴板": "Bảng nháp", "确定": "Xác định", "百度": "100 triệu", @@ -61,7 +60,6 @@ "西里尔(CP1251)": "Thiên thần (CP1251)", "拉丁(CP1252)": "Latina (CP1252)", "HOOK设置": "Thiết lập hook", - "已保存游戏": "Trò chơi đã lưu", "代码页": "Trang mã", "刷新延迟(ms)": "Độ trễ làm mới (ms)", "OCR设置": "Thiết lập OCR", @@ -811,5 +809,6 @@ "过时的词典": "Từ điển lỗi thời", "其他工具": "Công cụ khác", "过时的翻译器": "Trình dịch lỗi thời", - "翻译器加载失败": "Trình dịch không tải được" + "翻译器加载失败": "Trình dịch không tải được", + "核心设置": "Thiết lập lõi" } \ No newline at end of file diff --git a/py/files/lang/zh.json b/py/files/lang/zh.json index 24e7da74..fc354603 100644 --- a/py/files/lang/zh.json +++ b/py/files/lang/zh.json @@ -130,7 +130,6 @@ "繁体中文(CP950,BIG5)": "", "翻译结果修正": "", "显示": "", - "选择文本输入源": "", "获取中": "", "接頭辞": "", "注册在线翻译": "", @@ -254,7 +253,6 @@ "描边字体": "", "默认设置": "", "意大利语": "", - "已保存游戏": "", "显示显示原文按钮": "", "去除花括号{}": "", "保留原文": "", @@ -811,5 +809,6 @@ "过时的词典": "", "过时的翻译器": "", "其他工具": "", - "翻译器加载失败": "" + "翻译器加载失败": "", + "核心设置": "" } \ No newline at end of file