Simplify PSR-4 autoload
This commit is contained in:
parent
65ccf95437
commit
d127964eff
12 changed files with 81 additions and 84 deletions
|
@ -67,9 +67,6 @@
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Alltube\\": "classes/",
|
"Alltube\\": "classes/",
|
||||||
"Alltube\\Stream\\": "classes/streams/",
|
|
||||||
"Alltube\\Exception\\": "classes/exceptions/",
|
|
||||||
"Alltube\\Controller\\": "controllers/",
|
|
||||||
"Alltube\\Test\\": "tests/"
|
"Alltube\\Test\\": "tests/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -79,7 +76,7 @@
|
||||||
"release": "robo release --ansi",
|
"release": "robo release --ansi",
|
||||||
"update-locales": [
|
"update-locales": [
|
||||||
"tsmarty2c.php templates > i18n/template.pot",
|
"tsmarty2c.php templates > i18n/template.pot",
|
||||||
"xgettext --omit-header -kt -j -o i18n/template.pot classes/*.php classes/*/*.php controllers/*"
|
"xgettext --omit-header -kt -j -o i18n/template.pot classes/*.php classes/*/*.php"
|
||||||
],
|
],
|
||||||
"youtube-dl": "vendor/ytdl-org/youtube-dl/youtube_dl/__main__.py"
|
"youtube-dl": "vendor/ytdl-org/youtube-dl/youtube_dl/__main__.py"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,27 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr "Content-Type: text/plain; charset=UTF-8\n"
|
msgstr "Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
|
||||||
|
#: templates/playlist.tpl:12
|
||||||
|
msgid "Videos extracted from @title:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/playlist.tpl:38 templates/password.tpl:11 templates/index.tpl:19
|
||||||
|
#: templates/info.tpl:101
|
||||||
|
msgid "Download"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/playlist.tpl:39
|
||||||
|
msgid "More options"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/inc/header.tpl:4
|
||||||
|
msgid "Switch language"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/inc/header.tpl:8
|
||||||
|
msgid "Set language"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: templates/inc/footer.tpl:8
|
#: templates/inc/footer.tpl:8
|
||||||
msgid "Code by @dev"
|
msgid "Code by @dev"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -25,12 +46,44 @@ msgstr ""
|
||||||
msgid "Donate"
|
msgid "Donate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/inc/header.tpl:4
|
#: templates/password.tpl:5
|
||||||
msgid "Switch language"
|
msgid "This video is protected"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/inc/header.tpl:8
|
#: templates/password.tpl:6
|
||||||
msgid "Set language"
|
msgid "You need a password in order to download this video."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/password.tpl:8
|
||||||
|
msgid "Video password"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.tpl:8
|
||||||
|
msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.tpl:25
|
||||||
|
msgid "Audio only (MP3)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.tpl:28
|
||||||
|
msgid "From"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.tpl:31
|
||||||
|
msgid "to"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.tpl:39
|
||||||
|
msgid "See all supported websites"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.tpl:41
|
||||||
|
msgid "Drag this to your bookmarks bar:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/index.tpl:43
|
||||||
|
msgid "Bookmarklet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/info.tpl:11
|
#: templates/info.tpl:11
|
||||||
|
@ -81,23 +134,6 @@ msgstr ""
|
||||||
msgid "kbit/s audio"
|
msgid "kbit/s audio"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/info.tpl:101 templates/playlist.tpl:38 templates/password.tpl:11
|
|
||||||
#: templates/index.tpl:19
|
|
||||||
msgid "Download"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/playlist.tpl:12
|
|
||||||
msgid "Videos extracted from @title:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/playlist.tpl:39
|
|
||||||
msgid "More options"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/extractors.tpl:4 controllers/FrontController.php:109
|
|
||||||
msgid "Supported websites"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/error.tpl:5
|
#: templates/error.tpl:5
|
||||||
msgid "An error occurred"
|
msgid "An error occurred"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -106,106 +142,71 @@ msgstr ""
|
||||||
msgid "Please check the URL of your video."
|
msgid "Please check the URL of your video."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/password.tpl:5
|
#: templates/extractors.tpl:4 classes/Controller/FrontController.php:109
|
||||||
msgid "This video is protected"
|
msgid "Supported websites"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/password.tpl:6
|
|
||||||
msgid "You need a password in order to download this video."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/password.tpl:8
|
|
||||||
msgid "Video password"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.tpl:8
|
|
||||||
msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.tpl:25
|
|
||||||
msgid "Audio only (MP3)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.tpl:28
|
|
||||||
msgid "From"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.tpl:31
|
|
||||||
msgid "to"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.tpl:39
|
|
||||||
msgid "See all supported websites"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.tpl:41
|
|
||||||
msgid "Drag this to your bookmarks bar:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/index.tpl:43
|
|
||||||
msgid "Bookmarklet"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: classes/Config.php:156
|
|
||||||
msgid "Best"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: classes/Config.php:157
|
|
||||||
msgid "Remux best video with best audio"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: classes/Config.php:158
|
#: classes/Config.php:158
|
||||||
|
msgid "Best"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: classes/Config.php:159
|
||||||
|
msgid "Remux best video with best audio"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: classes/Config.php:160
|
||||||
msgid "Worst"
|
msgid "Worst"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/DownloadController.php:63 controllers/FrontController.php:164
|
#: classes/Controller/DownloadController.php:63
|
||||||
|
#: classes/Controller/FrontController.php:164
|
||||||
msgid "Wrong password"
|
msgid "Wrong password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/DownloadController.php:68
|
#: classes/Controller/DownloadController.php:68
|
||||||
msgid "Conversion of playlists is not supported."
|
msgid "Conversion of playlists is not supported."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/DownloadController.php:75
|
#: classes/Controller/DownloadController.php:75
|
||||||
msgid "Conversion of M3U8 files is not supported."
|
msgid "Conversion of M3U8 files is not supported."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/DownloadController.php:81
|
#: classes/Controller/DownloadController.php:81
|
||||||
msgid "Conversion of DASH segments is not supported."
|
msgid "Conversion of DASH segments is not supported."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:63
|
#: classes/Controller/FrontController.php:63
|
||||||
msgid ""
|
msgid ""
|
||||||
"Easily download videos from Youtube, Dailymotion, Vimeo and other websites."
|
"Easily download videos from Youtube, Dailymotion, Vimeo and other websites."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:110
|
#: classes/Controller/FrontController.php:110
|
||||||
msgid ""
|
msgid ""
|
||||||
"List of all supported websites from which Alltube Download can extract video "
|
"List of all supported websites from which Alltube Download can extract video "
|
||||||
"or audio files"
|
"or audio files"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:136
|
#: classes/Controller/FrontController.php:136
|
||||||
msgid "Password prompt"
|
msgid "Password prompt"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:138
|
#: classes/Controller/FrontController.php:138
|
||||||
msgid ""
|
msgid ""
|
||||||
"You need a password in order to download this video with Alltube Download"
|
"You need a password in order to download this video with Alltube Download"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:172
|
#: classes/Controller/FrontController.php:172
|
||||||
msgid "Video download"
|
msgid "Video download"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:174
|
#: classes/Controller/FrontController.php:174
|
||||||
msgid "Download video from @extractor"
|
msgid "Download video from @extractor"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:180
|
#: classes/Controller/FrontController.php:180
|
||||||
msgid "Download @title from @extractor"
|
msgid "Download @title from @extractor"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: controllers/FrontController.php:253
|
#: classes/Controller/FrontController.php:253
|
||||||
msgid "Error"
|
msgid "Error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist>
|
<whitelist>
|
||||||
<directory>classes/</directory>
|
<directory>classes/</directory>
|
||||||
<directory>controllers/</directory>
|
|
||||||
</whitelist>
|
</whitelist>
|
||||||
</filter>
|
</filter>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
|
Loading…
Reference in a new issue