mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix: keep subtitle line breaks when parsing srt file to json
update job duration label for video clips list
This commit is contained in:
parent
11c916fe43
commit
cfb3da6592
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user