Skip to content
Snippets Groups Projects
VideoClip.php 2.5 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?php
    
    declare(strict_types=1);
    
    /**
     * @copyright  2021 Podlibre
     * @license    https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
     * @link       https://castopod.org/
     */
    
    return [
        'list' => [
            'title' => 'Video clips',
            'status' => [
                'label' => 'Status',
                'queued' => 'queued',
                'queued_hint' => 'Clip is waiting to be processed.',
                'pending' => 'pending',
                'pending_hint' => 'Clip will be generated shortly.',
                'running' => 'running',
                'running_hint' => 'Clip is being generated.',
                'failed' => 'failed',
                'failed_hint' => 'Clip could not be generated: script failure.',
                'passed' => 'passed',
                'passed_hint' => 'Clip was generated successfully!',
            ],
            'clip' => 'Clip',
    
            'duration' => 'Job duration',
    
        ],
        'title' => 'Video clip: {videoClipLabel}',
        'download_clip' => 'Download clip',
    
        'delete' => 'Delete clip',
        'logs' => 'Job logs',
    
        'messages' => [
            'createSuccess' => 'Video clip has been successfully created!',
            'deleteSuccess' => 'Video clip has been successfully removed!',
        ],
    
        'format' => [
            'landscape' => 'Landscape',
            'portrait' => 'Portrait',
            'squared' => 'Squared',
        ],
    
        'form' => [
            'title' => 'New video clip',
            'params_section_title' => 'Video clip parameters',
            'clip_title' => 'Clip title',
            'format' => [
                'label' => 'Choose a format',
                'landscape_hint' => 'With a 16:9 ratio, landscape videos are great for PeerTube, Youtube and Vimeo.',
                'portrait_hint' => 'With a 9:16 ratio, portrait videos are great for TikTok, Youtube shorts and Instagram stories.',
                'squared_hint' => 'With a 1:1 ratio, squared videos are great for Mastodon, Facebook, Twitter and LinkedIn.',
            ],
            'theme' => 'Select a theme',
            'start_time' => 'Start at',
            'duration' => 'Duration',
            'submit' => 'Create video clip',
        ],
    
        'requirements' => [
            'title' => 'Missing requirements',
            'missing' => 'You have missing requirements. Make sure to add all the required items to be allowed creating a video for this episode!',
            'ffmpeg' => 'FFmpeg',
            'gd' => 'Graphics Draw (GD)',
            'freetype' => 'Freetype library for GD',
            'transcript' => 'Transcript file (.srt)',
        ],