Commit cfb3da65 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

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

update job duration label for video clips list
parent 11c916fe
Pipeline #1214 passed with stages
in 8 minutes and 29 seconds
......@@ -68,6 +68,9 @@ class TranscriptParser
$subs[] = $sub;
} else {
if ($subText !== '') {
$subText .= PHP_EOL . $line;
}
$subText .= $line;
}
break;
......
......@@ -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',
......
......@@ -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',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment