diff --git a/Changelog.txt b/Changelog.txt index 16fcda6c1..58c018b79 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -2,6 +2,7 @@ 4.0.4 (xth February 2024) BETA * NEW: + * Add Whisper CPP model "small.en-q5_1.bin" * IMPROVED: * Update Korean translation - thx domddol * Update Portuguese translation - thx hugok79 @@ -9,11 +10,11 @@ * Set file name after .MKS file import - thx RedSoxFan04 * Faster cancel in auto-translate - thx Siamak * Update Whisper CPP to V1.5.3 - * Add Whisper CPP model "small.en-q5_1.bin" * FIXED: * Fix Papago translate - thx banziseo - * Fix for "outputfilename" in cmd line (with SUP source) - thx sapphire-bt + * Fix for "outputfilename" in cmd line with SUP source - thx sapphire-bt * Do not download PFW "preprocessor_config.json" if not exists - thx Purfview + * Change "Save as" shortcut to "Control+Shift+S" to work with Polish - thx Krystian 4.0.3 (23rd December 2023) diff --git a/src/libse/Common/Settings.cs b/src/libse/Common/Settings.cs index 78def6ebf..83c53bc61 100644 --- a/src/libse/Common/Settings.cs +++ b/src/libse/Common/Settings.cs @@ -2755,7 +2755,7 @@ $HorzAlign = Center MainFileNew = "Control+N"; MainFileOpen = "Control+O"; MainFileSave = "Control+S"; - MainFileSaveAs = "Control+Alt+S"; + MainFileSaveAs = "Control+Shift+S"; MainEditUndo = "Control+Z"; MainEditRedo = "Control+Y"; MainEditFind = "Control+F"; diff --git a/src/ui/Forms/AudioToText/WhisperAudioToText.cs b/src/ui/Forms/AudioToText/WhisperAudioToText.cs index 24fd1952d..245cb140d 100644 --- a/src/ui/Forms/AudioToText/WhisperAudioToText.cs +++ b/src/ui/Forms/AudioToText/WhisperAudioToText.cs @@ -782,7 +782,6 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText { File.Delete(jsonFileName); } - } } catch diff --git a/src/ui/Forms/Main.cs b/src/ui/Forms/Main.cs index 19305fd65..ce78386bb 100644 --- a/src/ui/Forms/Main.cs +++ b/src/ui/Forms/Main.cs @@ -4862,6 +4862,15 @@ namespace Nikse.SubtitleEdit.Forms private void SaveAsToolStripMenuItemClick(object sender, EventArgs e) { + if (InputLanguage.CurrentInputLanguage.Culture.TwoLetterISOLanguageName == "pl" && + Configuration.Settings.Shortcuts.MainFileSaveAs == "Control+Alt+S") + { + // fix for Polish letter "ś" + Configuration.Settings.Shortcuts.MainFileSaveAs = "Control+Shift+S"; + saveAsToolStripMenuItem.ShortcutKeys = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainFileSaveAs); + return; + } + if (!IsSubtitleLoaded) { ShowStatus(_language.CannotSaveEmptySubtitle); @@ -36315,7 +36324,7 @@ namespace Nikse.SubtitleEdit.Forms SubtitleListview1.Fill(_subtitle, _subtitleOriginal); if (!onlySelectedLines) { - ResetHistory(); + ResetHistory(); _fileName = FileNameHelper.GetFileNameWithTargetLanguage(oldFileName, _videoFileName, _subtitleOriginal, GetCurrentSubtitleFormat(), autoTranslate.TwoLetterIsoSource, autoTranslate.TwoLetterIsoTarget); _converted = true; }