From 59aeb753ed390d0604a28a1933e93d74050c51d0 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 7 Dec 2018 18:19:00 +0100 Subject: [PATCH] feat: Add support for Arabic locale --- classes/LocaleManager.php | 2 +- i18n/ar_001/LC_MESSAGES/Alltube.po | 246 +++++++++++++++++++++++++++++ 2 files changed, 247 insertions(+), 1 deletion(-) create mode 100644 i18n/ar_001/LC_MESSAGES/Alltube.po diff --git a/classes/LocaleManager.php b/classes/LocaleManager.php index 7db7cbc..cbc1ddd 100644 --- a/classes/LocaleManager.php +++ b/classes/LocaleManager.php @@ -19,7 +19,7 @@ class LocaleManager * * @var array */ - private $supportedLocales = ['en_US', 'fr_FR', 'zh_CN', 'es_ES', 'pt_BR', 'de_DE']; + private $supportedLocales = ['en_US', 'fr_FR', 'zh_CN', 'es_ES', 'pt_BR', 'de_DE', 'ar_001']; /** * Current locale. diff --git a/i18n/ar_001/LC_MESSAGES/Alltube.po b/i18n/ar_001/LC_MESSAGES/Alltube.po new file mode 100644 index 0000000..293ed5d --- /dev/null +++ b/i18n/ar_001/LC_MESSAGES/Alltube.po @@ -0,0 +1,246 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.11\n" +"Last-Translator: Pierre Rudloff \n" +"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n" +"Language: ar_001\n" + +#: templates/inc/footer.tpl:4 +msgid "Code by" +msgstr "" + +#: templates/inc/footer.tpl:6 +msgid "Design by" +msgstr "" + +#: templates/inc/footer.tpl:10 +msgid "Get the code" +msgstr "" + +#: templates/inc/footer.tpl:12 +msgid "Based on" +msgstr "" + +#: templates/inc/footer.tpl:14 +msgid "Donate using Liberapay" +msgstr "" + +#: templates/inc/footer.tpl:14 +msgid "Donate" +msgstr "" + +#: templates/inc/header.tpl:4 +msgid "Switch language" +msgstr "" + +#: templates/inc/header.tpl:21 +msgid "Share on Twitter" +msgstr "" + +#: templates/inc/header.tpl:23 +msgid "Share on Facebook" +msgstr "" + +#: templates/playlist.tpl:5 +msgid "Videos extracted from" +msgstr "" + +#: templates/playlist.tpl:7 +msgid ":" +msgstr "" + +#: templates/playlist.tpl:26 templates/video.tpl:96 templates/video.tpl:99 +#: templates/password.tpl:10 templates/index.tpl:19 +#: controllers/FrontController.php:315 +msgid "Download" +msgstr "" + +#: templates/playlist.tpl:27 +msgid "More options" +msgstr "" + +#: templates/extractors.tpl:4 controllers/FrontController.php:167 +msgid "Supported websites" +msgstr "" + +#: templates/video.tpl:6 +msgid "You are going to download" +msgstr "" + +#: templates/video.tpl:24 +msgid "Available formats:" +msgstr "" + +#: templates/video.tpl:29 +msgid "Generic formats" +msgstr "" + +#: templates/video.tpl:32 +msgid "Best" +msgstr "" + +#: templates/video.tpl:37 +msgid "Remux best video with best audio" +msgstr "" + +#: templates/video.tpl:41 +msgid "Worst" +msgstr "" + +#: templates/video.tpl:44 +msgid "Detailed formats" +msgstr "" + +#: templates/video.tpl:85 +msgid "Convert into a custom format:" +msgstr "" + +#: templates/video.tpl:91 +msgid "with" +msgstr "" + +#: templates/video.tpl:93 +msgid "kbit/s audio" +msgstr "" + +#: templates/error.tpl:5 +msgid "An error occurred" +msgstr "" + +#: templates/error.tpl:6 +msgid "Please check the URL of your video." +msgstr "" + +#: templates/password.tpl:5 +msgid "This video is protected" +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:29 +msgid "to" +msgstr "" + +#: templates/index.tpl:36 +msgid "See all supported websites" +msgstr "" + +#: templates/index.tpl:38 +msgid "Drag this to your bookmarks bar:" +msgstr "" + +#: templates/index.tpl:39 +msgid "Bookmarklet" +msgstr "" + +#: classes/VideoDownload.php:117 +msgid "Wrong password" +msgstr "" + +#: classes/VideoDownload.php:158 +msgid "youtube-dl returned an empty URL." +msgstr "" + +#: classes/VideoDownload.php:289 classes/VideoDownload.php:394 +msgid "Can't find avconv or ffmpeg at " +msgstr "" + +#: classes/VideoDownload.php:302 +msgid "Invalid start time: " +msgstr "" + +#: classes/VideoDownload.php:309 +msgid "Invalid end time: " +msgstr "" + +#: classes/VideoDownload.php:359 +msgid "Conversion of playlists is not supported." +msgstr "" + +#: classes/VideoDownload.php:364 classes/VideoDownload.php:526 +msgid "Conversion of M3U8 files is not supported." +msgstr "" + +#: classes/VideoDownload.php:366 +msgid "Conversion of DASH segments is not supported." +msgstr "" + +#: classes/VideoDownload.php:375 classes/VideoDownload.php:412 +#: classes/VideoDownload.php:445 classes/VideoDownload.php:478 +#: classes/VideoDownload.php:534 +msgid "Could not open popen stream." +msgstr "" + +#: classes/VideoDownload.php:502 +msgid "Could not open fopen stream." +msgstr "" + +#: controllers/FrontController.php:124 +msgid "" +"Easily download videos from Youtube, Dailymotion, Vimeo and other websites." +msgstr "" + +#: controllers/FrontController.php:168 +msgid "" +"List of all supported websites from which Alltube Download can extract video " +"or audio files" +msgstr "" + +#: controllers/FrontController.php:193 +msgid "Password prompt" +msgstr "" + +#: controllers/FrontController.php:194 +msgid "" +"You need a password in order to download this video with Alltube Download" +msgstr "" + +#: controllers/FrontController.php:311 +msgid "Video download" +msgstr "" + +#: controllers/FrontController.php:312 +msgid "Download video from " +msgstr "" + +#: controllers/FrontController.php:315 +msgid "from" +msgstr "" + +#: controllers/FrontController.php:378 +msgid "Error" +msgstr "" + +#: controllers/FrontController.php:450 +msgid "You need to enable remux mode to merge two formats." +msgstr "" + +#: controllers/FrontController.php:525 +msgid "Can't find URL of video." +msgstr ""