New fr_FR locale

This commit is contained in:
Pierre Rudloff 2017-05-29 19:28:42 +02:00
parent ce1cbe3e0f
commit de8c4525d9
5 changed files with 261 additions and 127 deletions

View File

@ -97,6 +97,7 @@ module.exports = function (grunt) {
poDel: false poDel: false
}, },
files: { files: {
'i18n/fr_FR/LC_MESSAGES/Alltube.mo': 'i18n/fr_FR/LC_MESSAGES/Alltube.po',
'i18n/zh_CN/LC_MESSAGES/Alltube.mo': 'i18n/zh_CN/LC_MESSAGES/Alltube.po' 'i18n/zh_CN/LC_MESSAGES/Alltube.mo': 'i18n/zh_CN/LC_MESSAGES/Alltube.po'
} }
} }

View File

@ -0,0 +1,134 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Pierre Rudloff <contact@rudloff.pro>\n"
"Language-Team: \n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: templates/error.tpl:5
msgid "An error occured"
msgstr "Une erreur est survenue"
#: templates/error.tpl:6
msgid "Please check the URL of your video."
msgstr "Veuillez vérifier l'URL de votre vidéo"
#: templates/playlist.tpl:5
msgid "Videos extracted from"
msgstr "Vidéos extraites depuis"
#: templates/playlist.tpl:7
msgid ":"
msgstr " :"
#: templates/playlist.tpl:26 templates/password.tpl:10 templates/video.tpl:85
#: templates/video.tpl:88 templates/index.tpl:18
msgid "Download"
msgstr "Télécharger"
#: templates/playlist.tpl:27
msgid "More options"
msgstr "Plus d'options"
#: templates/password.tpl:5
msgid "This video is protected"
msgstr "Cette vidéo est protégée"
#: templates/password.tpl:6
msgid "You need a password in order to download this video."
msgstr "L'accès à cette vidéo nécessite un mot de passe."
#: templates/password.tpl:8
msgid "Video password"
msgstr "Mot de passe de la vidéo"
#: templates/extractors.tpl:4
msgid "Supported websites"
msgstr "Sites web supportés"
#: templates/video.tpl:6
msgid "You are going to download"
msgstr "Vous allez télécharger"
#: templates/video.tpl:26
msgid "Available formats:"
msgstr "Formats disponibles :"
#: templates/video.tpl:31
msgid "Generic formats"
msgstr "Formats génériques"
#: templates/video.tpl:34
msgid "Best"
msgstr "Meilleure qualité"
#: templates/video.tpl:39
msgid "Remux best video with best audio"
msgstr "Combiner la meilleure vidéo avec le meilleur audio"
#: templates/video.tpl:43
msgid "Worst"
msgstr "Pire qualité"
#: templates/video.tpl:46
msgid "Detailed formats"
msgstr "Formats détaillés"
#: templates/inc/footer.tpl:4
msgid "Code by"
msgstr "Développé par"
#: templates/inc/footer.tpl:6
msgid "Design by"
msgstr "Designé par"
#: templates/inc/footer.tpl:12
msgid "AllTube Download on Facebook"
msgstr "AllTube Download sur Facebook"
#: templates/inc/footer.tpl:12
msgid "Like us on Facebook"
msgstr "Suivez-nous sur Facebook"
#: templates/inc/footer.tpl:14
msgid "Get the code"
msgstr "Obtenir le code"
#: templates/inc/footer.tpl:16
msgid "Based on"
msgstr "Basé sur"
#: templates/inc/header.tpl:4
msgid "Share on Twitter"
msgstr "Partager sur Twitter"
#: templates/inc/header.tpl:5
msgid "Share on Facebook"
msgstr "Partager sur Facebook"
#: templates/index.tpl:8
msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)"
msgstr "Copiez ici l'URL de votre vidéo (Youtube, Dailymotion, etc.)"
#: templates/index.tpl:23
msgid "Audio only (MP3)"
msgstr "Audio uniquement (MP3)"
#: templates/index.tpl:28
msgid "See all supported websites"
msgstr "Voir tous les sites supportés"
#: templates/index.tpl:30
msgid "Drag this to your bookmarks bar:"
msgstr "Glissez ce lien dans votre barre de favoris :"
#: templates/index.tpl:31
msgid "Bookmarklet"
msgstr "Bookmarklet"

View File

@ -1,124 +1,123 @@
msgid "" msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n" msgstr "Content-Type: text/plain; charset=UTF-8\n"
#: ..\..\..\templates/error.tpl:5 #: templates/error.tpl:5
msgid "An error occured" msgid "An error occured"
msgstr "" msgstr ""
#: ..\..\..\templates/error.tpl:6 #: templates/error.tpl:6
msgid "Please check the URL of your video." msgid "Please check the URL of your video."
msgstr "" msgstr ""
#: ..\..\..\templates/extractors.tpl:4 #: templates/playlist.tpl:5
msgid "Supported websites" msgid "Videos extracted from"
msgstr "" msgstr ""
#: ..\..\..\templates/inc/footer.tpl:4 #: templates/playlist.tpl:7
msgid "Code by" msgid ":"
msgstr "" msgstr ""
#: ..\..\..\templates/inc/footer.tpl:6 #: templates/playlist.tpl:26 templates/password.tpl:10 templates/video.tpl:85
msgid "Design by" #: templates/video.tpl:88 templates/index.tpl:18
msgstr "" msgid "Download"
msgstr ""
#: ..\..\..\templates/inc/footer.tpl:12
msgid "AllTube Download on Facebook" #: templates/playlist.tpl:27
msgstr "" msgid "More options"
msgstr ""
#: ..\..\..\templates/inc/footer.tpl:12
msgid "Like us on Facebook" #: templates/password.tpl:5
msgstr "" msgid "This video is protected"
msgstr ""
#: ..\..\..\templates/inc/footer.tpl:14
msgid "Get the code" #: templates/password.tpl:6
msgstr "" msgid "You need a password in order to download this video."
msgstr ""
#: ..\..\..\templates/inc/footer.tpl:16
msgid "Based on" #: templates/password.tpl:8
msgstr "" msgid "Video password"
msgstr ""
#: ..\..\..\templates/inc/header.tpl:4
msgid "Share on Twitter" #: templates/extractors.tpl:4
msgstr "" msgid "Supported websites"
msgstr ""
#: ..\..\..\templates/inc/header.tpl:5
msgid "Share on Facebook" #: templates/video.tpl:6
msgstr "" msgid "You are going to download"
msgstr ""
#: ..\..\..\templates/index.tpl:9
msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)" #: templates/video.tpl:26
msgstr "" msgid "Available formats:"
msgstr ""
#: ..\..\..\templates/index.tpl:19 ..\..\..\templates/password.tpl:10
#: ..\..\..\templates/playlist.tpl:23 ..\..\..\templates/video.tpl:85 #: templates/video.tpl:31
#: ..\..\..\templates/video.tpl:90 msgid "Generic formats"
msgid "Download" msgstr ""
msgstr ""
#: templates/video.tpl:34
#: ..\..\..\templates/index.tpl:24 msgid "Best"
msgid "Audio only (MP3)" msgstr ""
msgstr ""
#: templates/video.tpl:39
#: ..\..\..\templates/index.tpl:29 msgid "Remux best video with best audio"
msgid "See all supported websites" msgstr ""
msgstr ""
#: templates/video.tpl:43
#: ..\..\..\templates/index.tpl:31 msgid "Worst"
msgid "Drag this to your bookmarks bar:" msgstr ""
msgstr ""
#: templates/video.tpl:46
#: ..\..\..\templates/index.tpl:32 msgid "Detailed formats"
msgid "Bookmarklet" msgstr ""
msgstr ""
#: templates/inc/footer.tpl:4
#: ..\..\..\templates/password.tpl:5 msgid "Code by"
msgid "This video is protected" msgstr ""
msgstr ""
#: templates/inc/footer.tpl:6
#: ..\..\..\templates/password.tpl:6 msgid "Design by"
msgid "You need a password in order to download this video." msgstr ""
msgstr ""
#: templates/inc/footer.tpl:12
#: ..\..\..\templates/password.tpl:8 msgid "AllTube Download on Facebook"
msgid "Video password" msgstr ""
msgstr ""
#: templates/inc/footer.tpl:12
#: ..\..\..\templates/playlist.tpl:5 msgid "Like us on Facebook"
msgid "Videos extracted from the" msgstr ""
msgstr ""
#: templates/inc/footer.tpl:14
#: ..\..\..\templates/playlist.tpl:7 msgid "Get the code"
msgid "playlist:" msgstr ""
msgstr ""
#: templates/inc/footer.tpl:16
#: ..\..\..\templates/playlist.tpl:24 msgid "Based on"
msgid "More options" msgstr ""
msgstr ""
#: templates/inc/header.tpl:4
#: ..\..\..\templates/video.tpl:6 msgid "Share on Twitter"
msgid "You are going to download" msgstr ""
msgstr ""
#: templates/inc/header.tpl:5
#: ..\..\..\templates/video.tpl:24 msgid "Share on Facebook"
msgid "Available formats:" msgstr ""
msgstr ""
#: templates/index.tpl:8
#: ..\..\..\templates/video.tpl:31 msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)"
msgid "Generic formats" msgstr ""
msgstr ""
#: templates/index.tpl:23
#: ..\..\..\templates/video.tpl:34 msgid "Audio only (MP3)"
msgid "Best" msgstr ""
msgstr ""
#: templates/index.tpl:28
#: ..\..\..\templates/video.tpl:39 msgid "See all supported websites"
msgid "Remux best video with best audio" msgstr ""
msgstr ""
#: templates/index.tpl:30
#: ..\..\..\templates/video.tpl:43 msgid "Drag this to your bookmarks bar:"
msgid "Worst" msgstr ""
msgstr ""
#: templates/index.tpl:31
#: ..\..\..\templates/video.tpl:46 msgid "Bookmarklet"
msgid "Detailed formats" msgstr ""
msgstr ""

View File

@ -1,7 +1,7 @@
<?php <?php
$language = 'zh_CN'; $language = 'fr_FR';
putenv('LANG='.$language); putenv('LANG='.$language);
setlocale(LC_ALL, [$language, $language.'.utf8']); setlocale(LC_ALL, [$language, $language.'.utf8']);

View File

@ -2,9 +2,9 @@
<div class="wrapper"> <div class="wrapper">
<div class="main"> <div class="main">
{include file="inc/logo.tpl"} {include file="inc/logo.tpl"}
<p>{t}Videos extracted from the{/t} {if isset($video->title)}<i> <p>{t}Videos extracted from{/t} {if isset($video->title)}<i>
<a href="{$video->webpage_url}"> <a href="{$video->webpage_url}">
{$video->title}</a></i>{/if} {t}playlist:{/t} {$video->title}</a></i>{/if}{t}:{/t}
</p> </p>
{if $config->stream} {if $config->stream}
<a href="{path_for name="redirect"}?url={$video->webpage_url}" class="downloadBtn">Download everything</a> <a href="{path_for name="redirect"}?url={$video->webpage_url}" class="downloadBtn">Download everything</a>