fix: keep subtitle line breaks when parsing srt file to json

update job duration label for video clips list
This commit is contained in:
Yassine Doghri 2022-01-20 15:37:54 +00:00
parent 11c916fe43
commit cfb3da6592
3 changed files with 5 additions and 2 deletions

View File

@ -68,6 +68,9 @@ class TranscriptParser
$subs[] = $sub;
} else {
if ($subText !== '') {
$subText .= PHP_EOL . $line;
}
$subText .= $line;
}
break;

View File

@ -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',

View File

@ -25,7 +25,7 @@ return [
'passed_hint' => 'Lextrait 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 lextrait',