mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Change "Save as" shortcut from "Control+Alt+S" to "Control+Shift+S" to work with Polish - thx Krystian :)
This commit is contained in:
parent
1a6d6422e7
commit
91745db3c7
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
4.0.4 (xth February 2024) BETA
|
4.0.4 (xth February 2024) BETA
|
||||||
* NEW:
|
* NEW:
|
||||||
|
* Add Whisper CPP model "small.en-q5_1.bin"
|
||||||
* IMPROVED:
|
* IMPROVED:
|
||||||
* Update Korean translation - thx domddol
|
* Update Korean translation - thx domddol
|
||||||
* Update Portuguese translation - thx hugok79
|
* Update Portuguese translation - thx hugok79
|
||||||
@ -9,11 +10,11 @@
|
|||||||
* Set file name after .MKS file import - thx RedSoxFan04
|
* Set file name after .MKS file import - thx RedSoxFan04
|
||||||
* Faster cancel in auto-translate - thx Siamak
|
* Faster cancel in auto-translate - thx Siamak
|
||||||
* Update Whisper CPP to V1.5.3
|
* Update Whisper CPP to V1.5.3
|
||||||
* Add Whisper CPP model "small.en-q5_1.bin"
|
|
||||||
* FIXED:
|
* FIXED:
|
||||||
* Fix Papago translate - thx banziseo
|
* 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
|
* 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)
|
4.0.3 (23rd December 2023)
|
||||||
|
@ -2755,7 +2755,7 @@ $HorzAlign = Center
|
|||||||
MainFileNew = "Control+N";
|
MainFileNew = "Control+N";
|
||||||
MainFileOpen = "Control+O";
|
MainFileOpen = "Control+O";
|
||||||
MainFileSave = "Control+S";
|
MainFileSave = "Control+S";
|
||||||
MainFileSaveAs = "Control+Alt+S";
|
MainFileSaveAs = "Control+Shift+S";
|
||||||
MainEditUndo = "Control+Z";
|
MainEditUndo = "Control+Z";
|
||||||
MainEditRedo = "Control+Y";
|
MainEditRedo = "Control+Y";
|
||||||
MainEditFind = "Control+F";
|
MainEditFind = "Control+F";
|
||||||
|
@ -782,7 +782,6 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
|
|||||||
{
|
{
|
||||||
File.Delete(jsonFileName);
|
File.Delete(jsonFileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
@ -4862,6 +4862,15 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
private void SaveAsToolStripMenuItemClick(object sender, EventArgs e)
|
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)
|
if (!IsSubtitleLoaded)
|
||||||
{
|
{
|
||||||
ShowStatus(_language.CannotSaveEmptySubtitle);
|
ShowStatus(_language.CannotSaveEmptySubtitle);
|
||||||
@ -36315,7 +36324,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
SubtitleListview1.Fill(_subtitle, _subtitleOriginal);
|
SubtitleListview1.Fill(_subtitle, _subtitleOriginal);
|
||||||
if (!onlySelectedLines)
|
if (!onlySelectedLines)
|
||||||
{
|
{
|
||||||
ResetHistory();
|
ResetHistory();
|
||||||
_fileName = FileNameHelper.GetFileNameWithTargetLanguage(oldFileName, _videoFileName, _subtitleOriginal, GetCurrentSubtitleFormat(), autoTranslate.TwoLetterIsoSource, autoTranslate.TwoLetterIsoTarget);
|
_fileName = FileNameHelper.GetFileNameWithTargetLanguage(oldFileName, _videoFileName, _subtitleOriginal, GetCurrentSubtitleFormat(), autoTranslate.TwoLetterIsoSource, autoTranslate.TwoLetterIsoTarget);
|
||||||
_converted = true;
|
_converted = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user