mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
parent
b58fa44884
commit
f639e9cacf
@ -38,7 +38,7 @@
|
|||||||
* Fix combo boxes popup in "Measurement converter" - thx Dehrimon
|
* Fix combo boxes popup in "Measurement converter" - thx Dehrimon
|
||||||
* Detect change switching between UTF-8-no-bom/UTF-8-with-bom - thx Minherre
|
* Detect change switching between UTF-8-no-bom/UTF-8-with-bom - thx Minherre
|
||||||
* Fix crash in Whisper UI (bug in Dutch translation) - thx hpcs444/tsg040
|
* Fix crash in Whisper UI (bug in Dutch translation) - thx hpcs444/tsg040
|
||||||
* Fix bad xml replace in "TTML 1.0" - thx Info
|
* Fix bad XML replace in "TTML 1.0" - thx Info
|
||||||
* Fix undo after "merge selected" for 3+ lines - thx Llorx
|
* Fix undo after "merge selected" for 3+ lines - thx Llorx
|
||||||
* Fix crash with resolution 0x0 in "Generate transparent subs" - thx hellobigbean*
|
* Fix crash with resolution 0x0 in "Generate transparent subs" - thx hellobigbean*
|
||||||
* Fix edge case when parsing ms - thx PoneyClairDeLune
|
* Fix edge case when parsing ms - thx PoneyClairDeLune
|
||||||
@ -46,6 +46,7 @@
|
|||||||
* Fix undesired line-break in auto-translate - thx Dyo-Anima
|
* Fix undesired line-break in auto-translate - thx Dyo-Anima
|
||||||
* Fix for batch translate via Ollama - thx Anon1337Elite
|
* Fix for batch translate via Ollama - thx Anon1337Elite
|
||||||
* Fix spell check shortcut (was the same as save-as, now Alt+F7) - thx Javier
|
* Fix spell check shortcut (was the same as save-as, now Alt+F7) - thx Javier
|
||||||
|
* Fix for pasting ASSA in the waveform - thx MitchSirco
|
||||||
|
|
||||||
|
|
||||||
4.0.7 (8th July 2024)
|
4.0.7 (8th July 2024)
|
||||||
|
@ -825,9 +825,16 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
var text = Clipboard.GetText();
|
var text = Clipboard.GetText();
|
||||||
var tmp = new Subtitle();
|
var tmp = new Subtitle();
|
||||||
var format = new SubRip();
|
SubtitleFormat format = new SubRip();
|
||||||
var list = new List<string>(text.SplitToLines());
|
var list = new List<string>(text.SplitToLines());
|
||||||
|
|
||||||
|
if (new AdvancedSubStationAlpha().IsMine(list, string.Empty))
|
||||||
|
{
|
||||||
|
format = new AdvancedSubStationAlpha();
|
||||||
|
}
|
||||||
|
|
||||||
format.LoadSubtitle(tmp, list, null);
|
format.LoadSubtitle(tmp, list, null);
|
||||||
|
|
||||||
if (videoPositionInMilliseconds >= 0 && tmp.Paragraphs.Count > 0)
|
if (videoPositionInMilliseconds >= 0 && tmp.Paragraphs.Count > 0)
|
||||||
{
|
{
|
||||||
if (tmp.Paragraphs[0].StartTime.TotalMilliseconds > videoPositionInMilliseconds)
|
if (tmp.Paragraphs[0].StartTime.TotalMilliseconds > videoPositionInMilliseconds)
|
||||||
|
Loading…
Reference in New Issue
Block a user