From 61ac894743d1fe4fe4524f628a9a97accf4b03d3 Mon Sep 17 00:00:00 2001 From: LakeishaKowalczyk Date: Fri, 20 Sep 2024 03:13:40 +0000 Subject: [PATCH] fix --- src/ui/Forms/Translate/AutoTranslate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/Forms/Translate/AutoTranslate.cs b/src/ui/Forms/Translate/AutoTranslate.cs index c93040b277..5bcbf2ef5d 100644 --- a/src/ui/Forms/Translate/AutoTranslate.cs +++ b/src/ui/Forms/Translate/AutoTranslate.cs @@ -840,7 +840,7 @@ private async void buttonTranslate_Click(object sender, EventArgs e) _autoTranslator.Name == NoLanguageLeftBehindServe.StaticName || _singleLineMode; //bool forceMergeMode = false; // 强制多行模式,确保最高翻译质量,后期通过 UI 设置 - bool forceMergeMode = Configuration.Settings.Tools.AutoTranslateMaxRetries; + bool forceMergeMode = Configuration.Settings.Tools.AutoTranslateMaxRetries != 0; // 重试次数 //int maxRetryAttempts = Configuration.Settings.Tools.AutoTranslateMaxRetries; // 调试用