mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
work on assa set pos
This commit is contained in:
parent
49dc8c9053
commit
55de09680d
@ -187,6 +187,15 @@ Note: Do check free disk space.</WaveFileMalformed>
|
||||
<SelectedLinesX>Selected lines: {0}</SelectedLinesX>
|
||||
<AdvancedSelection>Advanced selection</AdvancedSelection>
|
||||
</AssaOverrideTags>
|
||||
<AssaSetPosition>
|
||||
<SetPosition>Set/get position</SetPosition>
|
||||
<VideoResolutionX>Video reslution: {0}</VideoResolutionX>
|
||||
<StyleAlignmentX>Style alignment: {0}</StyleAlignmentX>
|
||||
<CurrentMousePositionX>Mouse position: {0}</CurrentMousePositionX>
|
||||
<CurrentTextPositionX>Text position: {0}</CurrentTextPositionX>
|
||||
<SetPosInfo>Click on video to toggle set/move position</SetPosInfo>
|
||||
<Clipboard>Clipboard</Clipboard>
|
||||
</AssaSetPosition>
|
||||
<AudioToText>
|
||||
<Title>Audio to text</Title>
|
||||
<ExtractingAudioUsingX>Extracting audio using {0}...</ExtractingAudioUsingX>
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user