From 8ca4a424f8076d29046864f634e54f1a31deafff Mon Sep 17 00:00:00 2001
From: mnjnhuang <1090031856@qq.com>
Date: Thu, 15 Jan 2026 02:02:49 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E4=B8=80=E4=B8=AA=E5=B0=8F?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 4 +++-
python/model/TencentCloud.py | 4 ++--
view-ui-project-vite-main/src/views/TableVersion.vue | 6 ++++--
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index f09e7b7..087e81e 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,9 @@ Web版本的标签管理工具:
接下来的图片将教会你如何使用这个工具, 祝大家使用愉快,
-附上 demo 地址 http://113.46.142.74:12224/#/dist
+附上 demo 地址
+机器翻译 => http://113.46.142.74:12224/#/dist
+AI翻译(在机器翻译的基础上重做了大部分内容, 且准确度比机器翻译更高) => http://113.46.142.74:12224/#/dist1

diff --git a/python/model/TencentCloud.py b/python/model/TencentCloud.py
index 374a704..ebf666c 100644
--- a/python/model/TencentCloud.py
+++ b/python/model/TencentCloud.py
@@ -18,7 +18,7 @@ class TencentCloud(TranslateParent):
use_model = "hunyuan-translation"
rebuild_text = ""
rebuild_list = []
- use_field = "AI/SD generated image prompt. Help me analyze the meaning of each word, Do not change the comma"
+ use_field = "AI/SD generated image prompt"
for one_prompt in goto_translate_map.keys():
rebuild_list.append(one_prompt)
rebuild_text += f"{one_prompt}, "
@@ -40,7 +40,7 @@ class TencentCloud(TranslateParent):
choices = resp.Choices[0]
translate_context = choices.Message.Content
if translate_context[-1] == "。" or translate_context[-1 == '.']:
- translate_context = translate_context[:-1].replace(",", ",")
+ translate_context = translate_context[:-1].replace(",", ",").replace("、", ",")
translate_prompt_list: list = translate_context.split(",")
translate_prompt_list = [i.strip() for i in translate_prompt_list]
except TencentCloudSDKException as err:
diff --git a/view-ui-project-vite-main/src/views/TableVersion.vue b/view-ui-project-vite-main/src/views/TableVersion.vue
index fa79ae2..0539d58 100644
--- a/view-ui-project-vite-main/src/views/TableVersion.vue
+++ b/view-ui-project-vite-main/src/views/TableVersion.vue
@@ -78,10 +78,10 @@
- {{ row.translate }}
+ {{ row.translate }}
- {{ row.translate_model }}
+ {{ row.translate_model }}
@@ -161,6 +161,8 @@ export default {
})
},
on_click_check_out() {
+ this.readonly_result_text = '';
+ this.readonly_result_text_translate = '';
for (let i = 0; i < this.translate_data.length; i++) {
if (this.translate_data[i].active) {
this.readonly_result_text += this.translate_data[i].source + ',';