Add ASS/SSA styles to file menu

This commit is contained in:
Nikolaj Olsson 2020-09-28 13:42:55 +02:00
parent 9bceb27b9b
commit 3a3828c9f8
3 changed files with 52 additions and 30 deletions

View File

@ -90,6 +90,7 @@
this.toolStripMenuItemNuendoProperties = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemFcpProperties = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemSubStationAlpha = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemAssaStyles = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemEbuProperties = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemDvdStudioProProperties = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator20 = new System.Windows.Forms.ToolStripSeparator();
@ -984,6 +985,7 @@
this.toolStripMenuItemNuendoProperties,
this.toolStripMenuItemFcpProperties,
this.toolStripMenuItemSubStationAlpha,
this.toolStripMenuItemAssaStyles,
this.toolStripMenuItemEbuProperties,
this.toolStripMenuItemDvdStudioProProperties,
this.toolStripSeparator20,
@ -1102,6 +1104,13 @@
this.toolStripMenuItemSubStationAlpha.Text = "Advanced Sub Station Alpha properties...";
this.toolStripMenuItemSubStationAlpha.Click += new System.EventHandler(this.toolStripMenuItemSubStationAlpha_Click);
//
// toolStripMenuItemAssaStyles
//
this.toolStripMenuItemAssaStyles.Name = "toolStripMenuItemAssaStyles";
this.toolStripMenuItemAssaStyles.Size = new System.Drawing.Size(335, 22);
this.toolStripMenuItemAssaStyles.Text = "Advanced Sub Station Alpha styles...";
this.toolStripMenuItemAssaStyles.Click += new System.EventHandler(this.toolStripMenuItemAssaStyles_Click);
//
// toolStripMenuItemEbuProperties
//
this.toolStripMenuItemEbuProperties.Name = "toolStripMenuItemEbuProperties";
@ -5650,5 +5659,6 @@
private System.Windows.Forms.ToolStripMenuItem goToNextSubtitleStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dCinemaSMPTE2014ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem boxToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAssaStyles;
}
}

View File

@ -19909,15 +19909,22 @@ namespace Nikse.SubtitleEdit.Forms
{
toolStripMenuItemSubStationAlpha.Visible = true;
toolStripMenuItemSubStationAlpha.Text = _language.Menu.File.AdvancedSubStationAlphaProperties;
toolStripMenuItemAssStyles.Visible = true;
toolStripMenuItemAssStyles.Text = _language.Menu.ContextMenu.AdvancedSubStationAlphaStyles;
}
else if (ft == typeof(SubStationAlpha))
{
toolStripMenuItemSubStationAlpha.Visible = true;
toolStripMenuItemSubStationAlpha.Text = _language.Menu.File.SubStationAlphaProperties;
toolStripMenuItemAssStyles.Visible = true;
toolStripMenuItemAssStyles.Text = _language.Menu.ContextMenu.AdvancedSubStationAlphaStyles;
}
else
{
toolStripMenuItemSubStationAlpha.Visible = false;
toolStripMenuItemAssStyles.Visible = false;
}
if (ft == typeof(Ebu))
@ -28095,5 +28102,10 @@ namespace Nikse.SubtitleEdit.Forms
e.SuppressKeyPress = true;
}
}
private void toolStripMenuItemAssaStyles_Click(object sender, EventArgs e)
{
toolStripMenuItemAssStyles_Click(sender, e);
}
}
}

View File

@ -338,35 +338,35 @@
<data name="toolStripButtonFixCommonErrors.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAadSURBVFhHvZf5T1NZFMeN/8MkTfo/NGnib84Igogo4gou
yFqQQUU0LmMwIwOijTKT8APoZAYRF0S2QkuppS1doHRsS195pYW2WKnlMS8I8ov6i8nLmXsuLbiAUELm
JC9N++69389Z7rm3W2JWWVm5tb29XVRRUSF++PChCL9HX23IAGCr1+sV2Wxusc1mE9vtdhH+Fn39paFY
c3OzpKnpMXP16lXu/v0/mY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Kd3u9/bSNHLmc0mTiWdXJ4d1+v4jdqmGISBfI3
0cZhqjEqX6yLXxCin6QCo0F6ALlib915jusgBK773X/J/79t2/YfIVlANDhE1NkAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButtonRemoveTextForHi.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -704,7 +704,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD2
CAAAAk1TRnQBSQFMAgEBAgEAAZABJwGQAScBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CAAAAk1TRnQBSQFMAgEBAgEAAaABJwGgAScBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA