mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-14 10:15:46 +00:00

- add james-heinrich/getid3 library as a dependency to composer.json - update DEPENDENCIES.md file - fix episodes table migration script - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit - reformat all files to the prettier format - refactor code by separating some logic as helper functions - overwrite existing files when uploading new files with the same name fixes #1
24 lines
617 B
PHP
24 lines
617 B
PHP
<?
|
|
|
|
return [
|
|
'create' => 'Add an episode',
|
|
'form' => [
|
|
'file' => 'Audio file',
|
|
'title' => 'Title',
|
|
'slug' => 'Slug',
|
|
'description' => 'Description',
|
|
'pub_date' => 'Publication date',
|
|
'image' => 'Image',
|
|
'explicit' => 'Explicit',
|
|
'type' => [
|
|
'label' => 'Type',
|
|
'full' => 'Full',
|
|
'trailer' => 'Trailer',
|
|
'bonus' => 'Bonus',
|
|
],
|
|
'episode_number' => 'Episode number',
|
|
'season_number' => 'Season number',
|
|
'block' => 'Block',
|
|
'submit' => 'Create episode',
|
|
]
|
|
]; |