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
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -68,6 +68,9 @@ class TranscriptParser

                        $subs[] = $sub;
                    } else {
                        if ($subText !== '') {
                            $subText .= PHP_EOL . $line;
                        }
                        $subText .= $line;
                    }
                    break;
+1 −1
Original line number Diff line number Diff line
@@ -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',
+1 −1
Original line number Diff line number Diff line
@@ -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',