From 7c5a49b21be800495caf5662c74ff1075488a60e Mon Sep 17 00:00:00 2001 From: xunbu Date: Tue, 14 Oct 2025 19:19:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docutranslate/agents/segments_agent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docutranslate/agents/segments_agent.py b/docutranslate/agents/segments_agent.py index fb0c243..bed7312 100644 --- a/docutranslate/agents/segments_agent.py +++ b/docutranslate/agents/segments_agent.py @@ -36,10 +36,9 @@ class SegmentsTranslateAgent(Agent): # Requirements - Translations must be professional and accurate. -- Do not output any explanations or comments. +- Do not output any explanations or comments but only the {config.to_lang} translations. - 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. It is strictly forbidden for the IDs of the translated segments to differ from those of the original segments. # Input Specification