From 3b15469c98d707bff07dad78ccb817f75c3c37ee Mon Sep 17 00:00:00 2001 From: Dolen <87627379+HiDolen@users.noreply.github.com> Date: Tue, 24 May 2022 08:59:14 -0500 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BF=BB=E8=AF=91=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=86=92=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/translate/data_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/translate/data_source.py b/plugins/translate/data_source.py index 567b521c1..072a80ccb 100755 --- a/plugins/translate/data_source.py +++ b/plugins/translate/data_source.py @@ -16,7 +16,7 @@ async def translate_msg(language_type, msg): } data = (await AsyncHttpx.post(url, data=data)).json() if data["errorCode"] == 0: - return f'原文:{msg}\n翻译{data["translateResult"][0][0]["tgt"]}' + return f'原文:{msg}\n翻译:{data["translateResult"][0][0]["tgt"]}' return "翻译惜败.."