From 4abd9589c0d19c43040476c1644e74fe3b895b1e Mon Sep 17 00:00:00 2001 From: xunbu Date: Mon, 13 Oct 2025 12:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4ai=E5=B9=B3=E5=8F=B0=E6=94=B9?= =?UTF-8?q?=E4=B8=BA302.AI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docutranslate/agents/segments_agent.py | 2 +- docutranslate/static/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docutranslate/agents/segments_agent.py b/docutranslate/agents/segments_agent.py index 16fa1e0..ccabbaf 100644 --- a/docutranslate/agents/segments_agent.py +++ b/docutranslate/agents/segments_agent.py @@ -40,7 +40,7 @@ class SegmentsTranslateAgent(Agent): - Use the most common translations for personal names and proper nouns. - Preserve special tags or untranslatable elements (such as code, brand names, technical terms) as they are. - If a text segment is already in the target language ({config.to_lang}), retain the original text. -- (Very important) The original text segments and translated segments must strictly correspond one-to-one. Translated segments do not necessarily have to be complete sentences; they should be divided according to the segment IDs and the original text. It is strictly forbidden for the IDs of the translated segments to differ from those of the original segments. +- (Very important) The original text segments and translated segments must strictly correspond one-to-one. It is strictly forbidden for the IDs of the translated segments to differ from those of the original segments. # Input Specification {{ diff --git a/docutranslate/static/index.html b/docutranslate/static/index.html index c7eb760..2d420bf 100644 --- a/docutranslate/static/index.html +++ b/docutranslate/static/index.html @@ -1 +1 @@ - DocuTranslate - 交互式文档翻译

DocuTranslate

如果上传的文件本身是.md格式,此项可不选。
mineru VLM是更新的内测模型。

Base URL:

选择一个或多个CSV文件。文件需包含'src'和'dst'两列标题,分别代表原文和译文。

GitHub主页(欢迎star❤):
https://github.com/xunbu/docutranslate

交流QQ群: 1047781902

version:

任务列表

LOGO

当前没有任务,点击“新建任务”开始吧!

预览
原文
译文
\ No newline at end of file + DocuTranslate - 交互式文档翻译

DocuTranslate

如果上传的文件本身是.md格式,此项可不选。
mineru VLM是更新的内测模型。

Base URL:

选择一个或多个CSV文件。文件需包含'src'和'dst'两列标题,分别代表原文和译文。

GitHub主页(欢迎star❤):
https://github.com/xunbu/docutranslate

交流QQ群: 1047781902

version:

任务列表

LOGO

当前没有任务,点击“新建任务”开始吧!

预览
原文
译文
\ No newline at end of file