From f0401dc946e5a2a7ca33d4ce1adb2a812b85dec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 14 Aug 2024 03:28:56 +0800 Subject: [PATCH] Update translatorUI.py --- LunaTranslator/LunaTranslator/gui/translatorUI.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index 173cfaad..6fddfe23 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -938,7 +938,7 @@ class TranslatorWindow(resizableframeless): {"orig": "\n", "hira": ""}, ] if getlanguse() == "zh": - __text += "支持作者 QQ群" + __text += "支持作者 QQ群 Bilibili" __tags += [ { "orig": "支持作者", @@ -953,6 +953,14 @@ class TranslatorWindow(resizableframeless): dynamiclink("{main_server}/Resource/QQGroup") ), }, + {"orig": " ", "hira": ""}, + { + "orig": "Bilibili", + "hira": "1", + "clickfunction": lambda s: gobject.baseobject.openlink( + dynamiclink("{main_server}/Resource/Bilibili") + ), + }, ] else: __text += "Discord Patreon"