mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- use vimejs as audio player - add global audio player + play episode buttons on public pages - refactor admin episodes list from a grid to a data table - arrange episode cards to be more readable closes #131
183 lines
8.6 KiB
PHP
183 lines
8.6 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
return [
|
|
'season' => 'Season {seasonNumber}',
|
|
'season_abbr' => 'S{seasonNumber}',
|
|
'number' => 'Episode {episodeNumber}',
|
|
'number_abbr' => 'Ep. {episodeNumber}',
|
|
'season_episode' => 'Season {seasonNumber} episode {episodeNumber}',
|
|
'season_episode_abbr' => 'S{seasonNumber}E{episodeNumber}',
|
|
'back_to_episodes' => 'Back to episodes of {podcast}',
|
|
'activity' => 'Activity',
|
|
'description' => 'Description',
|
|
'total_favourites' => '{numberOfTotalFavourites, plural,
|
|
one {# total favourite}
|
|
other {# total favourites}
|
|
}',
|
|
'total_reblogs' => '{numberOfTotalReblogs, plural,
|
|
one {# total share}
|
|
other {# total shares}
|
|
}',
|
|
'total_statuses' => '{numberOfTotalStatuses, plural,
|
|
one {# total post}
|
|
other {# total posts}
|
|
}',
|
|
'all_podcast_episodes' => 'All podcast episodes',
|
|
'back_to_podcast' => 'Go back to podcast',
|
|
'edit' => 'Edit',
|
|
'publish' => 'Publish',
|
|
'publish_edit' => 'Edit publication',
|
|
'unpublish' => 'Unpublish',
|
|
'publish_error' => 'Episode is already published.',
|
|
'publish_edit_error' => 'Episode is already published.',
|
|
'publish_cancel_error' => 'Episode is already published.',
|
|
'unpublish_error' => 'Episode is not published.',
|
|
'delete' => 'Delete',
|
|
'go_to_page' => 'Go to page',
|
|
'create' => 'Add an episode',
|
|
'publication_status' => [
|
|
'published' => 'Published',
|
|
'scheduled' => 'Scheduled',
|
|
'not_published' => 'Not published',
|
|
],
|
|
'list' => [
|
|
'episode' => 'Episode',
|
|
'visibility' => 'Visibility',
|
|
'comments' => 'Comments',
|
|
'actions' => 'Actions',
|
|
],
|
|
'form' => [
|
|
'warning' =>
|
|
'In case of fatal error, try increasing the `memory_limit`, `upload_max_filesize` and `post_max_size` values in your php configuration file then restart your web server.<br />These values must be higher than the audio file you wish to upload.',
|
|
'audio_file' => 'Audio file',
|
|
'audio_file_hint' => 'Choose an .mp3 or .m4a audio file.',
|
|
'info_section_title' => 'Episode info',
|
|
'info_section_subtitle' => '',
|
|
'image' => 'Cover image',
|
|
'image_hint' =>
|
|
'If you do not set an image, the podcast cover will be used instead.',
|
|
'title' => 'Title',
|
|
'title_hint' =>
|
|
'Should contain a clear and concise episode name. Do not specify the episode or season numbers here.',
|
|
'slug' => 'Slug',
|
|
'slug_hint' => 'Used for generating the episode URL.',
|
|
'season_number' => 'Season',
|
|
'episode_number' => 'Episode',
|
|
'type' => [
|
|
'label' => 'Type',
|
|
'hint' =>
|
|
'- <strong>full</strong>: complete content the episode.<br/>- <strong>trailer</strong>: short, promotional piece of content that represents a preview of the current show.<br/>- <strong>bonus</strong>: extra content for the show (for example, behind the scenes info or interviews with the cast) or cross-promotional content for another show.',
|
|
'full' => 'Full',
|
|
'trailer' => 'Trailer',
|
|
'bonus' => 'Bonus',
|
|
],
|
|
'parental_advisory' => [
|
|
'label' => 'Parental advisory',
|
|
'hint' => 'Does the episode contain explicit content?',
|
|
'undefined' => 'undefined',
|
|
'clean' => 'Clean',
|
|
'explicit' => 'Explicit',
|
|
],
|
|
'show_notes_section_title' => 'Show notes',
|
|
'show_notes_section_subtitle' =>
|
|
'Up to 4000 characters, be clear and concise. Show notes help potential listeners in finding the episode.',
|
|
'description' => 'Description',
|
|
'description_footer' => 'Description footer',
|
|
'description_footer_hint' =>
|
|
'This text is added at the end of each episode description, it is a good place to input your social links for example.',
|
|
'additional_files_section_title' => 'Additional files',
|
|
'additional_files_section_subtitle' =>
|
|
'These files may be used by other platforms to provide better experience to your audience.<br />See the {podcastNamespaceLink} for more information.',
|
|
'location_section_title' => 'Location',
|
|
'location_section_subtitle' => 'What place is this episode about?',
|
|
'location_name' => 'Location name or address',
|
|
'location_name_hint' => 'This can be a real or fictional location',
|
|
'transcript' => 'Transcript or closed captions',
|
|
'transcript_hint' => 'Allowed formats are txt, html, srt or json.',
|
|
'transcript_file' => 'Transcript file',
|
|
'transcript_file_remote_url' => 'Remote url for transcript',
|
|
'transcript_file_delete' => 'Delete transcript file',
|
|
'chapters' => 'Chapters',
|
|
'chapters_hint' => 'File must be in JSON Chapters format.',
|
|
'chapters_file' => 'Chapters file',
|
|
'chapters_file_remote_url' => 'Remote url for chapters file',
|
|
'chapters_file_delete' => 'Delete chapters file',
|
|
'advanced_section_title' => 'Advanced Parameters',
|
|
'advanced_section_subtitle' =>
|
|
'If you need RSS tags that Castopod does not handle, set them here.',
|
|
'custom_rss' => 'Custom RSS tags for the episode',
|
|
'custom_rss_hint' => 'This will be injected within the ❬item❭ tag.',
|
|
'block' => 'Episode should be hidden from all platforms',
|
|
'block_hint' =>
|
|
'The episode show or hide status. If you want this episode removed from the Apple directory, toggle this on.',
|
|
'submit_create' => 'Create episode',
|
|
'submit_edit' => 'Save episode',
|
|
],
|
|
'publish_form' => [
|
|
'back_to_episode_dashboard' => 'Back to episode dashboard',
|
|
'status' => 'Your announcement post',
|
|
'status_hint' =>
|
|
"Write a message to announce the publication of your episode. The message will be broadcasted to all your followers in the fediverse and be featured in your podcast's homepage.",
|
|
'publication_date' => 'Publication date',
|
|
'publication_method' => [
|
|
'now' => 'Now',
|
|
'schedule' => 'Schedule',
|
|
],
|
|
'scheduled_publication_date' => 'Scheduled publication date',
|
|
'scheduled_publication_date_clear' => 'Clear publication date',
|
|
'scheduled_publication_date_hint' =>
|
|
'You can schedule the episode release by setting a future publication date. This field must be formatted as YYYY-MM-DD HH:mm',
|
|
'submit' => 'Publish',
|
|
'submit_edit' => 'Edit publication',
|
|
'cancel_publication' => 'Cancel publication',
|
|
'message_warning' => 'You did not write a message for your announcement post!',
|
|
'message_warning_hint' => 'Having a message increases social engagement, resulting in a better visibility for your episode.',
|
|
'message_warning_submit' => 'Publish anyways',
|
|
],
|
|
'unpublish_form' => [
|
|
'disclaimer' =>
|
|
"Unpublishing the episode will delete all the notes associated with the episode and remove it from the podcast's RSS feed.",
|
|
'understand' => 'I understand, I want to unpublish the episode',
|
|
'submit' => 'Unpublish',
|
|
],
|
|
'soundbites' => 'Soundbites',
|
|
'soundbites_form' => [
|
|
'title' => 'Edit soundbites',
|
|
'info_section_title' => 'Episode soundbites',
|
|
'info_section_subtitle' => 'Add, edit or delete soundbites',
|
|
'start_time' => 'Start',
|
|
'start_time_hint' =>
|
|
'The first second of the soundbite, it can be a decimal number.',
|
|
'duration' => 'Duration',
|
|
'duration_hint' =>
|
|
'The duration of the soundbite (in seconds), it can be a decimal number.',
|
|
'label' => 'Label',
|
|
'label_hint' => 'Text that will be displayed.',
|
|
'play' => 'Play soundbite',
|
|
'delete' => 'Delete soundbite',
|
|
'bookmark' =>
|
|
'Click while playing to get current position, click again to get duration.',
|
|
'submit_edit' => 'Save all soundbites',
|
|
],
|
|
'embeddable_player' => [
|
|
'add' => 'Add embeddable player',
|
|
'title' => 'Embeddable player',
|
|
'label' =>
|
|
'Pick a theme color, copy the embeddable player to clipboard, then paste it on your website.',
|
|
'clipboard_iframe' => 'Copy embeddable player to clipboard',
|
|
'clipboard_url' => 'Copy address to clipboard',
|
|
'dark' => 'Dark',
|
|
'dark-transparent' => 'Dark transparent',
|
|
'light' => 'Light',
|
|
'light-transparent' => 'Light transparent',
|
|
],
|
|
];
|