Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LakeishaKowalczyk committed Sep 20, 2024
1 parent 012a4b2 commit 61ac894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/Forms/Translate/AutoTranslate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
// 调试用
Expand Down

0 comments on commit 61ac894

Please sign in to comment.