diff --git a/app/Libraries/TranscriptParser.php b/app/Libraries/TranscriptParser.php index 66c07b6e..8eaa1e87 100644 --- a/app/Libraries/TranscriptParser.php +++ b/app/Libraries/TranscriptParser.php @@ -68,6 +68,9 @@ class TranscriptParser $subs[] = $sub; } else { + if ($subText !== '') { + $subText .= PHP_EOL . $line; + } $subText .= $line; } break; diff --git a/modules/Admin/Language/en/VideoClip.php b/modules/Admin/Language/en/VideoClip.php index 1f764431..8e804f22 100644 --- a/modules/Admin/Language/en/VideoClip.php +++ b/modules/Admin/Language/en/VideoClip.php @@ -25,7 +25,7 @@ return [ 'passed_hint' => 'Clip was generated successfully!', ], 'clip' => 'Clip', - 'duration' => 'Duration', + 'duration' => 'Job duration', ], 'title' => 'Video clip: {videoClipLabel}', 'download_clip' => 'Download clip', diff --git a/modules/Admin/Language/fr/VideoClip.php b/modules/Admin/Language/fr/VideoClip.php index e2e1b79d..a0646869 100644 --- a/modules/Admin/Language/fr/VideoClip.php +++ b/modules/Admin/Language/fr/VideoClip.php @@ -25,7 +25,7 @@ return [ 'passed_hint' => 'L’extrait a été généré avec succès !', ], 'clip' => 'Extrait', - 'duration' => 'Durée', + 'duration' => 'Durée de traitement', ], 'title' => 'Extrait vidéo : {videoClipLabel}', 'download_clip' => 'Télécharger l’extrait',