Update change log

This commit is contained in:
Nikolaj Olsson 2024-06-23 13:05:45 +02:00
parent d4e8664a8a
commit 9fa1bdac84
3 changed files with 109 additions and 110 deletions

View File

@ -7,7 +7,7 @@
* Add support for Faster-Whisper-XXL * Add support for Faster-Whisper-XXL
* Add audio settings for TTS final video file * Add audio settings for TTS final video file
* Add subtitle format "PodcastIndexer json" - thx rjgout * Add subtitle format "PodcastIndexer json" - thx rjgout
* Add new Claude 3.5 Sonnet model - thx Flash * Add new Anthropic Claude 3.5 Sonnet model - thx Flash
* IMPROVED: * IMPROVED:
* Update Portuguese translation - thx hugok79 * Update Portuguese translation - thx hugok79
* Update Brazilian Portuguese translation - thx igorruckert * Update Brazilian Portuguese translation - thx igorruckert
@ -21,7 +21,7 @@
* Fix auto translate crash - thx soscaster * Fix auto translate crash - thx soscaster
* Fix crash in Vosk audio to text on selected lines - thx MediaExpres * Fix crash in Vosk audio to text on selected lines - thx MediaExpres
* Prompt for overwrite in "Multiple replace" export - thx redactedscribe * Prompt for overwrite in "Multiple replace" export - thx redactedscribe
* Fix abort for TTS Azure/ElevenLabs - thx cvrle77 * Fix "abort" for TTS Azure/ElevenLabs - thx cvrle77
4.0.6 (1st June 2024) 4.0.6 (1st June 2024)
* NEW: * NEW:
@ -56,7 +56,7 @@
* Add Swedish to ChatGPT translate - thx Stefan * Add Swedish to ChatGPT translate - thx Stefan
* Allow larger subtitle preview font size - thx kadrimarzouki * Allow larger subtitle preview font size - thx kadrimarzouki
* FIXED: * FIXED:
* Fix for Antrophic translate - thx venomousraid * Fix for Anthropic translate - thx venomousraid
* Fix possible crash in teletext reading - thx yellobyte * Fix possible crash in teletext reading - thx yellobyte
* Fix unwanted text boxes background color change - thx Leon * Fix unwanted text boxes background color change - thx Leon
* Fix Whisper on selection in waveform in "translation mode" - thx rRobis * Fix Whisper on selection in waveform in "translation mode" - thx rRobis
@ -76,7 +76,7 @@
* Add new shortcut "Insert new subtitle at video pos (fill)" - thx Leon/AuroraMartell * Add new shortcut "Insert new subtitle at video pos (fill)" - thx Leon/AuroraMartell
* Add "LM Studio" translate (local) - thx fznx922 * Add "LM Studio" translate (local) - thx fznx922
* Add Ollama translate (local) - thx despairTK/Copy2Translator * Add Ollama translate (local) - thx despairTK/Copy2Translator
* Add Antrophic translate * Add Anthropic translate
* Add distilled models for Purfview Faster Whisper * Add distilled models for Purfview Faster Whisper
* IMPROVED: * IMPROVED:
* Update German translation - thx Netspark * Update German translation - thx Netspark

View File

@ -62,15 +62,15 @@ namespace Nikse.SubtitleEdit.Forms
private TrackBar _tbValue; private TrackBar _tbValue;
private bool _showAlpha = true; private bool _showAlpha = true;
private readonly Timer _hexCodeEditTimer; private readonly Timer _hexCodeEditTimer;
private Panel panelC0; private Panel _panelC0;
private Panel panelC1; private Panel _panelC1;
private Panel panelC2; private Panel _panelC2;
private Panel panelC3; private Panel _panelC3;
private Panel panelC7; private Panel _panelC7;
private Panel panelC6; private Panel _panelC6;
private Panel panelC5; private Panel _panelC5;
private Panel panelC4; private Panel _panelC4;
private Button buttonColorPicker; private Button _buttonColorPicker;
private bool _hexEditOn; private bool _hexEditOn;
public ColorChooser() public ColorChooser()
@ -95,25 +95,25 @@ namespace Nikse.SubtitleEdit.Forms
} }
}; };
panelC0.BackColor = Configuration.Settings.General.LastColorPickerColor; _panelC0.BackColor = Configuration.Settings.General.LastColorPickerColor;
panelC1.BackColor = Configuration.Settings.General.LastColorPickerColor1; _panelC1.BackColor = Configuration.Settings.General.LastColorPickerColor1;
panelC2.BackColor = Configuration.Settings.General.LastColorPickerColor2; _panelC2.BackColor = Configuration.Settings.General.LastColorPickerColor2;
panelC3.BackColor = Configuration.Settings.General.LastColorPickerColor3; _panelC3.BackColor = Configuration.Settings.General.LastColorPickerColor3;
panelC4.BackColor = Configuration.Settings.General.LastColorPickerColor4; _panelC4.BackColor = Configuration.Settings.General.LastColorPickerColor4;
panelC5.BackColor = Configuration.Settings.General.LastColorPickerColor5; _panelC5.BackColor = Configuration.Settings.General.LastColorPickerColor5;
panelC6.BackColor = Configuration.Settings.General.LastColorPickerColor6; _panelC6.BackColor = Configuration.Settings.General.LastColorPickerColor6;
panelC7.BackColor = Configuration.Settings.General.LastColorPickerColor7; _panelC7.BackColor = Configuration.Settings.General.LastColorPickerColor7;
if (Configuration.Settings.General.LastColorPickerDropper == Color.Transparent) if (Configuration.Settings.General.LastColorPickerDropper == Color.Transparent)
{ {
buttonColorPicker.Visible = false; _buttonColorPicker.Visible = false;
} }
else else
{ {
buttonColorPicker.BackColor = Configuration.Settings.General.LastColorPickerDropper; _buttonColorPicker.BackColor = Configuration.Settings.General.LastColorPickerDropper;
buttonColorPicker.BackgroundImage = Properties.Resources.color_picker_small2; _buttonColorPicker.BackgroundImage = Properties.Resources.color_picker_small2;
buttonColorPicker.ImageAlign = ContentAlignment.MiddleCenter; _buttonColorPicker.ImageAlign = ContentAlignment.MiddleCenter;
buttonColorPicker.BackgroundImageLayout = ImageLayout.Center; _buttonColorPicker.BackgroundImageLayout = ImageLayout.Center;
} }
} }
@ -299,7 +299,7 @@ namespace Nikse.SubtitleEdit.Forms
// code to update the HSV values and invalidate // code to update the HSV values and invalidate
// the color wheel (so it updates the pointers). // the color wheel (so it updates the pointers).
// Check the isInUpdate flag to avoid recursive events // Check the isInUpdate flag to avoid recursive events
// when you update the NumericUpdownControls. // when you update the NumericUpDownControls.
_changeType = ChangeStyle.RGB; _changeType = ChangeStyle.RGB;
_alphaRedGreenBlue = new ColorHandler.Argb(_tbAlpha.Value, _tbRed.Value, _tbGreen.Value, _tbBlue.Value); _alphaRedGreenBlue = new ColorHandler.Argb(_tbAlpha.Value, _tbRed.Value, _tbGreen.Value, _tbBlue.Value);
SetHsv(ColorHandler.RgbToHsv(_alphaRedGreenBlue)); SetHsv(ColorHandler.RgbToHsv(_alphaRedGreenBlue));
@ -377,15 +377,15 @@ namespace Nikse.SubtitleEdit.Forms
this._pnlSelectedColor = new System.Windows.Forms.Panel(); this._pnlSelectedColor = new System.Windows.Forms.Panel();
this._buttonCancel = new System.Windows.Forms.Button(); this._buttonCancel = new System.Windows.Forms.Button();
this._buttonOk = new System.Windows.Forms.Button(); this._buttonOk = new System.Windows.Forms.Button();
this.panelC0 = new System.Windows.Forms.Panel(); this._panelC0 = new System.Windows.Forms.Panel();
this.panelC1 = new System.Windows.Forms.Panel(); this._panelC1 = new System.Windows.Forms.Panel();
this.panelC2 = new System.Windows.Forms.Panel(); this._panelC2 = new System.Windows.Forms.Panel();
this.panelC3 = new System.Windows.Forms.Panel(); this._panelC3 = new System.Windows.Forms.Panel();
this.panelC7 = new System.Windows.Forms.Panel(); this._panelC7 = new System.Windows.Forms.Panel();
this.panelC6 = new System.Windows.Forms.Panel(); this._panelC6 = new System.Windows.Forms.Panel();
this.panelC5 = new System.Windows.Forms.Panel(); this._panelC5 = new System.Windows.Forms.Panel();
this.panelC4 = new System.Windows.Forms.Panel(); this._panelC4 = new System.Windows.Forms.Panel();
this.buttonColorPicker = new System.Windows.Forms.Button(); this._buttonColorPicker = new System.Windows.Forms.Button();
this._flowLayoutPanel1.SuspendLayout(); this._flowLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this._tbRed)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._tbRed)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this._tbGreen)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._tbGreen)).BeginInit();
@ -731,99 +731,99 @@ namespace Nikse.SubtitleEdit.Forms
// //
// panelC0 // panelC0
// //
this.panelC0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC0.Location = new System.Drawing.Point(295, 97); this._panelC0.Location = new System.Drawing.Point(295, 97);
this.panelC0.Name = "panelC0"; this._panelC0.Name = "_panelC0";
this.panelC0.Size = new System.Drawing.Size(21, 20); this._panelC0.Size = new System.Drawing.Size(21, 20);
this.panelC0.TabIndex = 62; this._panelC0.TabIndex = 62;
this.panelC0.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC0_MouseClick); this._panelC0.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC0_MouseClick);
// //
// panelC1 // panelC1
// //
this.panelC1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC1.Location = new System.Drawing.Point(322, 97); this._panelC1.Location = new System.Drawing.Point(322, 97);
this.panelC1.Name = "panelC1"; this._panelC1.Name = "_panelC1";
this.panelC1.Size = new System.Drawing.Size(21, 20); this._panelC1.Size = new System.Drawing.Size(21, 20);
this.panelC1.TabIndex = 63; this._panelC1.TabIndex = 63;
this.panelC1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC1_MouseClick); this._panelC1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC1_MouseClick);
// //
// panelC2 // panelC2
// //
this.panelC2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC2.Location = new System.Drawing.Point(349, 97); this._panelC2.Location = new System.Drawing.Point(349, 97);
this.panelC2.Name = "panelC2"; this._panelC2.Name = "_panelC2";
this.panelC2.Size = new System.Drawing.Size(21, 20); this._panelC2.Size = new System.Drawing.Size(21, 20);
this.panelC2.TabIndex = 63; this._panelC2.TabIndex = 63;
this.panelC2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC2_MouseClick); this._panelC2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC2_MouseClick);
// //
// panelC3 // panelC3
// //
this.panelC3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC3.Location = new System.Drawing.Point(376, 97); this._panelC3.Location = new System.Drawing.Point(376, 97);
this.panelC3.Name = "panelC3"; this._panelC3.Name = "_panelC3";
this.panelC3.Size = new System.Drawing.Size(21, 20); this._panelC3.Size = new System.Drawing.Size(21, 20);
this.panelC3.TabIndex = 64; this._panelC3.TabIndex = 64;
this.panelC3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC3_MouseClick); this._panelC3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC3_MouseClick);
// //
// panelC7 // panelC7
// //
this.panelC7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC7.Location = new System.Drawing.Point(376, 124); this._panelC7.Location = new System.Drawing.Point(376, 124);
this.panelC7.Name = "panelC7"; this._panelC7.Name = "_panelC7";
this.panelC7.Size = new System.Drawing.Size(21, 20); this._panelC7.Size = new System.Drawing.Size(21, 20);
this.panelC7.TabIndex = 68; this._panelC7.TabIndex = 68;
this.panelC7.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC7_MouseClick); this._panelC7.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC7_MouseClick);
// //
// panelC6 // panelC6
// //
this.panelC6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC6.Location = new System.Drawing.Point(349, 124); this._panelC6.Location = new System.Drawing.Point(349, 124);
this.panelC6.Name = "panelC6"; this._panelC6.Name = "_panelC6";
this.panelC6.Size = new System.Drawing.Size(21, 20); this._panelC6.Size = new System.Drawing.Size(21, 20);
this.panelC6.TabIndex = 66; this._panelC6.TabIndex = 66;
this.panelC6.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC6_MouseClick); this._panelC6.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC6_MouseClick);
// //
// panelC5 // panelC5
// //
this.panelC5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC5.Location = new System.Drawing.Point(322, 124); this._panelC5.Location = new System.Drawing.Point(322, 124);
this.panelC5.Name = "panelC5"; this._panelC5.Name = "_panelC5";
this.panelC5.Size = new System.Drawing.Size(21, 20); this._panelC5.Size = new System.Drawing.Size(21, 20);
this.panelC5.TabIndex = 67; this._panelC5.TabIndex = 67;
this.panelC5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC5_MouseClick); this._panelC5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC5_MouseClick);
// //
// panelC4 // panelC4
// //
this.panelC4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this._panelC4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelC4.Location = new System.Drawing.Point(295, 124); this._panelC4.Location = new System.Drawing.Point(295, 124);
this.panelC4.Name = "panelC4"; this._panelC4.Name = "_panelC4";
this.panelC4.Size = new System.Drawing.Size(21, 20); this._panelC4.Size = new System.Drawing.Size(21, 20);
this.panelC4.TabIndex = 65; this._panelC4.TabIndex = 65;
this.panelC4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC4_MouseClick); this._panelC4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelC4_MouseClick);
// //
// buttonColorPicker // buttonColorPicker
// //
this.buttonColorPicker.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this._buttonColorPicker.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.buttonColorPicker.Location = new System.Drawing.Point(295, 150); this._buttonColorPicker.Location = new System.Drawing.Point(295, 150);
this.buttonColorPicker.Name = "buttonColorPicker"; this._buttonColorPicker.Name = "_buttonColorPicker";
this.buttonColorPicker.Size = new System.Drawing.Size(102, 74); this._buttonColorPicker.Size = new System.Drawing.Size(102, 74);
this.buttonColorPicker.TabIndex = 69; this._buttonColorPicker.TabIndex = 69;
this.buttonColorPicker.UseVisualStyleBackColor = true; this._buttonColorPicker.UseVisualStyleBackColor = true;
this.buttonColorPicker.Click += new System.EventHandler(this.buttonColorPicker_Click); this._buttonColorPicker.Click += new System.EventHandler(this.buttonColorPicker_Click);
// //
// ColorChooser // ColorChooser
// //
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(413, 441); this.ClientSize = new System.Drawing.Size(413, 441);
this.Controls.Add(this.buttonColorPicker); this.Controls.Add(this._buttonColorPicker);
this.Controls.Add(this.panelC7); this.Controls.Add(this._panelC7);
this.Controls.Add(this.panelC3); this.Controls.Add(this._panelC3);
this.Controls.Add(this.panelC6); this.Controls.Add(this._panelC6);
this.Controls.Add(this.panelC2); this.Controls.Add(this._panelC2);
this.Controls.Add(this.panelC5); this.Controls.Add(this._panelC5);
this.Controls.Add(this.panelC4); this.Controls.Add(this._panelC4);
this.Controls.Add(this.panelC1); this.Controls.Add(this._panelC1);
this.Controls.Add(this.panelC0); this.Controls.Add(this._panelC0);
this.Controls.Add(this._buttonCancel); this.Controls.Add(this._buttonCancel);
this.Controls.Add(this._buttonOk); this.Controls.Add(this._buttonOk);
this.Controls.Add(this._label5); this.Controls.Add(this._label5);
@ -1024,46 +1024,46 @@ namespace Nikse.SubtitleEdit.Forms
private void panelC0_MouseClick(object sender, MouseEventArgs e) private void panelC0_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC0); PanelColorClick(_panelC0);
} }
private void panelC1_MouseClick(object sender, MouseEventArgs e) private void panelC1_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC1); PanelColorClick(_panelC1);
} }
private void panelC2_MouseClick(object sender, MouseEventArgs e) private void panelC2_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC2); PanelColorClick(_panelC2);
} }
private void panelC3_MouseClick(object sender, MouseEventArgs e) private void panelC3_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC3); PanelColorClick(_panelC3);
} }
private void panelC4_MouseClick(object sender, MouseEventArgs e) private void panelC4_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC4); PanelColorClick(_panelC4);
} }
private void panelC5_MouseClick(object sender, MouseEventArgs e) private void panelC5_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC5); PanelColorClick(_panelC5);
} }
private void panelC6_MouseClick(object sender, MouseEventArgs e) private void panelC6_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC6); PanelColorClick(_panelC6);
} }
private void panelC7_MouseClick(object sender, MouseEventArgs e) private void panelC7_MouseClick(object sender, MouseEventArgs e)
{ {
PanelColorClick(panelC7); PanelColorClick(_panelC7);
} }
private void _tbHexCode_MouseUp(object sender, MouseEventArgs e) private void _tbHexCode_MouseUp(object sender, MouseEventArgs e)
@ -1076,7 +1076,7 @@ namespace Nikse.SubtitleEdit.Forms
private void buttonColorPicker_Click(object sender, EventArgs e) private void buttonColorPicker_Click(object sender, EventArgs e)
{ {
PanelColorClick(buttonColorPicker); PanelColorClick(_buttonColorPicker);
} }
private void ColorChooser_Shown(object sender, EventArgs e) private void ColorChooser_Shown(object sender, EventArgs e)

View File

@ -557,6 +557,5 @@ namespace Nikse.SubtitleEdit.Logic.ColorChooser
Dispose(true); Dispose(true);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
} }
} }