From 4d200af8540aa45924e364770cb42da0b0b2ad78 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sun, 21 Apr 2024 20:45:21 +0200 Subject: [PATCH] Improve batch progress status label - thx Leon :) Work on #8210 --- src/ui/Forms/GenerateVideoWithHardSubs.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/Forms/GenerateVideoWithHardSubs.cs b/src/ui/Forms/GenerateVideoWithHardSubs.cs index 3fa43150a..66721e1d6 100644 --- a/src/ui/Forms/GenerateVideoWithHardSubs.cs +++ b/src/ui/Forms/GenerateVideoWithHardSubs.cs @@ -451,6 +451,7 @@ namespace Nikse.SubtitleEdit.Forms var failCount = 0; for (var index = 0; index < _batchVideoAndSubList.Count; index++) { + labelPleaseWait.Text = $"{index+1}/{_batchVideoAndSubList.Count} - {LanguageSettings.Current.General.PleaseWait}"; var videoAndSub = _batchVideoAndSubList[index]; _videoInfo = UiUtil.GetVideoInfo(videoAndSub.VideoFileName); if (useSourceResolution) @@ -661,6 +662,11 @@ namespace Nikse.SubtitleEdit.Forms groupBoxSettings.Enabled = false; labelPleaseWait.Visible = true; + if (!BatchMode) + { + labelPleaseWait.Text = LanguageSettings.Current.General.PleaseWait; + } + if (_videoInfo.TotalFrames > 0) { progressBar1.Visible = true;