mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Add language strings
This commit is contained in:
parent
ba9e745204
commit
bb0d84dda6
1
src/ui/Forms/Assa/AssSetBackground.Designer.cs
generated
1
src/ui/Forms/Assa/AssSetBackground.Designer.cs
generated
@ -925,6 +925,7 @@ namespace Nikse.SubtitleEdit.Forms.Assa
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Generate background box";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ApplyCustomStyles_FormClosing);
|
||||
this.Load += new System.EventHandler(this.AssSetBackground_Load);
|
||||
this.Shown += new System.EventHandler(this.AssSetBackground_Shown);
|
||||
this.ResizeEnd += new System.EventHandler(this.SetPosition_ResizeEnd);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.AssSetBackground_KeyDown);
|
||||
|
@ -102,6 +102,10 @@ namespace Nikse.SubtitleEdit.Forms.Assa
|
||||
groupBoxDrawing.Text = LanguageSettings.Current.AssaSetBackgroundBox.Drawing;
|
||||
groupBoxStyle.Text = LanguageSettings.Current.General.Style;
|
||||
groupBoxAlignment.Text = LanguageSettings.Current.SubStationAlphaStyles.Alignment;
|
||||
labelPaddingLeft.Text = LanguageSettings.Current.ExportPngXml.Left;
|
||||
labelPaddingRight.Text = LanguageSettings.Current.ExportPngXml.Right;
|
||||
labelPaddingBottom.Text = LanguageSettings.Current.AssaProgressBarGenerator.Bottom;
|
||||
labelPaddingTop.Text = LanguageSettings.Current.AssaProgressBarGenerator.Top;
|
||||
checkBoxOnlyDrawing.Text = LanguageSettings.Current.AssaSetBackgroundBox.OnlyDrawing;
|
||||
buttonPrimaryColor.Text = LanguageSettings.Current.AssaSetBackgroundBox.BoxColor;
|
||||
buttonOutlineColor.Text = LanguageSettings.Current.SubStationAlphaStyles.Outline;
|
||||
@ -867,7 +871,10 @@ namespace Nikse.SubtitleEdit.Forms.Assa
|
||||
text = Regex.Replace(text, @"{\\fade\([\d\.,]*\)}", string.Empty);
|
||||
text = Regex.Replace(text, @"\\fade\([\d\.,]*\)", string.Empty);
|
||||
|
||||
sub.Paragraphs.Add(new Paragraph(text, i * 1000 - 500, i * 1000 + 500));
|
||||
sub.Paragraphs.Add(new Paragraph(text, i * 1000 - 500, i * 1000 + 500)
|
||||
{
|
||||
Extra = p.Extra,
|
||||
});
|
||||
}
|
||||
|
||||
File.WriteAllText(assaTempFileName, new AdvancedSubStationAlpha().ToText(sub, string.Empty));
|
||||
@ -1239,5 +1246,10 @@ namespace Nikse.SubtitleEdit.Forms.Assa
|
||||
_updatePreview = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void AssSetBackground_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user