diff --git a/LanguageMaster.xml b/LanguageMaster.xml index 4f62cce08..a997128a4 100644 --- a/LanguageMaster.xml +++ b/LanguageMaster.xml @@ -187,6 +187,15 @@ Note: Do check free disk space. Selected lines: {0} Advanced selection + + Set/get position + Video reslution: {0} + Style alignment: {0} + Mouse position: {0} + Text position: {0} + Click on video to toggle set/move position + Clipboard + Audio to text Extracting audio using {0}... diff --git a/src/ui/Forms/Assa/SetPosition.cs b/src/ui/Forms/Assa/SetPosition.cs index 7dc6c7796..b087e06a7 100644 --- a/src/ui/Forms/Assa/SetPosition.cs +++ b/src/ui/Forms/Assa/SetPosition.cs @@ -108,15 +108,6 @@ namespace Nikse.SubtitleEdit.Forms.Assa return; } - Configuration.Settings.SubtitleSettings.AssaOverrideTagHistory = Configuration.Settings.SubtitleSettings.AssaOverrideTagHistory - .Where(p => p != styleToApply) - .ToList(); - Configuration.Settings.SubtitleSettings.AssaOverrideTagHistory.Insert(0, styleToApply); - if (Configuration.Settings.SubtitleSettings.AssaOverrideTagHistory.Count > 25) - { - Configuration.Settings.SubtitleSettings.AssaOverrideTagHistory.RemoveAt(Configuration.Settings.SubtitleSettings.AssaOverrideTagHistory.Count - 1); - } - UpdatedSubtitle = new Subtitle(subtitle, false); var indices = GetIndices(subtitle); diff --git a/src/ui/Logic/LanguageDeserializer.cs b/src/ui/Logic/LanguageDeserializer.cs index 852ca8826..8aa4241d2 100644 --- a/src/ui/Logic/LanguageDeserializer.cs +++ b/src/ui/Logic/LanguageDeserializer.cs @@ -505,6 +505,27 @@ namespace Nikse.SubtitleEdit.Logic case "AssaOverrideTags/AdvancedSelection": language.AssaOverrideTags.AdvancedSelection = reader.Value; break; + case "AssaSetPosition/SetPosition": + language.AssaSetPosition.SetPosition = reader.Value; + break; + case "AssaSetPosition/VideoResolutionX": + language.AssaSetPosition.VideoResolutionX = reader.Value; + break; + case "AssaSetPosition/StyleAlignmentX": + language.AssaSetPosition.StyleAlignmentX = reader.Value; + break; + case "AssaSetPosition/CurrentMousePositionX": + language.AssaSetPosition.CurrentMousePositionX = reader.Value; + break; + case "AssaSetPosition/CurrentTextPositionX": + language.AssaSetPosition.CurrentTextPositionX = reader.Value; + break; + case "AssaSetPosition/SetPosInfo": + language.AssaSetPosition.SetPosInfo = reader.Value; + break; + case "AssaSetPosition/Clipboard": + language.AssaSetPosition.Clipboard = reader.Value; + break; case "AudioToText/Title": language.AudioToText.Title = reader.Value; break;