Update translatorUI.py

This commit is contained in:
恍兮惚兮 2024-08-14 03:28:56 +08:00
parent 8cd089a0e0
commit f0401dc946

View File

@ -938,7 +938,7 @@ class TranslatorWindow(resizableframeless):
{"orig": "\n", "hira": ""}, {"orig": "\n", "hira": ""},
] ]
if getlanguse() == "zh": if getlanguse() == "zh":
__text += "支持作者 QQ群" __text += "支持作者 QQ群 Bilibili"
__tags += [ __tags += [
{ {
"orig": "支持作者", "orig": "支持作者",
@ -953,6 +953,14 @@ class TranslatorWindow(resizableframeless):
dynamiclink("{main_server}/Resource/QQGroup") dynamiclink("{main_server}/Resource/QQGroup")
), ),
}, },
{"orig": " ", "hira": ""},
{
"orig": "Bilibili",
"hira": "1",
"clickfunction": lambda s: gobject.baseobject.openlink(
dynamiclink("{main_server}/Resource/Bilibili")
),
},
] ]
else: else:
__text += "Discord Patreon" __text += "Discord Patreon"