Finish preparing pot file

This commit is contained in:
Unknown 2017-05-26 03:58:48 -07:00
parent 124e6782dc
commit e9351d09e0
10 changed files with 257 additions and 35 deletions

View file

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

Binary file not shown.

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"POT-Creation-Date: \n" "POT-Creation-Date: \n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: Shiqiang Yu <tony19955569@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: zh_CN\n" "Language: zh_CN\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -12,26 +12,124 @@ msgstr ""
"X-Generator: Poedit 2.0.2\n" "X-Generator: Poedit 2.0.2\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#: E:\GitKraken\alltube\templates/index.tpl:9 #: ..\..\..\templates/error.tpl:5
msgid "An error occured"
msgstr "出错了"
#: ..\..\..\templates/error.tpl:6
msgid "Please check the URL of your video."
msgstr "请检查您的视频的 URL。"
#: ..\..\..\templates/extractors.tpl:4
msgid "Supported websites"
msgstr "支持的网站"
#: ..\..\..\templates/inc/footer.tpl:4
msgid "Code by"
msgstr "代码来自"
#: ..\..\..\templates/inc/footer.tpl:6
msgid "Design by"
msgstr "设计来自"
#: ..\..\..\templates/inc/footer.tpl:12
msgid "AllTube Download on Facebook"
msgstr "去Alltube Download的Facebook页面"
#: ..\..\..\templates/inc/footer.tpl:12
msgid "Like us on Facebook"
msgstr "在Facebook关注我们"
#: ..\..\..\templates/inc/footer.tpl:14
msgid "Get the code"
msgstr "获取代码"
#: ..\..\..\templates/inc/footer.tpl:16
msgid "Based on"
msgstr "基于"
#: ..\..\..\templates/inc/header.tpl:4
msgid "Share on Twitter"
msgstr "分享到 Twitter"
#: ..\..\..\templates/inc/header.tpl:5
msgid "Share on Facebook"
msgstr "分享到 Facebook"
#: ..\..\..\templates/index.tpl:9
msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)" msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)"
msgstr "在这里复制您的视频 Youtube、 Dailymotion 等) 的 URL" msgstr "在这里复制您的视频 Youtube、 Dailymotion 等) 的 URL"
#: E:\GitKraken\alltube\templates/index.tpl:19 #: ..\..\..\templates/index.tpl:19 ..\..\..\templates/password.tpl:10
#: ..\..\..\templates/playlist.tpl:23 ..\..\..\templates/video.tpl:85
#: ..\..\..\templates/video.tpl:90
msgid "Download" msgid "Download"
msgstr "下载" msgstr "下载"
#: E:\GitKraken\alltube\templates/index.tpl:24 #: ..\..\..\templates/index.tpl:24
msgid "Audio only (MP3)" msgid "Audio only (MP3)"
msgstr "仅限音频mp3" msgstr "仅限音频mp3"
#: E:\GitKraken\alltube\templates/index.tpl:29 #: ..\..\..\templates/index.tpl:29
msgid "See all supported websites" msgid "See all supported websites"
msgstr "请参阅支持的所有网站" msgstr "请参阅支持的所有网站"
#: E:\GitKraken\alltube\templates/index.tpl:31 #: ..\..\..\templates/index.tpl:31
msgid "Drag this to your bookmarks bar:" msgid "Drag this to your bookmarks bar:"
msgstr "把这个拖到你的书签栏︰" msgstr "把这个拖到你的书签"
#: E:\GitKraken\alltube\templates/index.tpl:32 #: ..\..\..\templates/index.tpl:32
msgid "Bookmarklet" msgid "Bookmarklet"
msgstr "书签工具" 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/playlist.tpl:5
msgid "Videos extracted from the"
msgstr "视频从"
#: ..\..\..\templates/playlist.tpl:7
msgid "playlist:"
msgstr "播放列表提取:"
#: ..\..\..\templates/playlist.tpl:24
msgid "More options"
msgstr "更多选项"
#: ..\..\..\templates/video.tpl:6
msgid "You are going to download"
msgstr "你即将下载:"
#: ..\..\..\templates/video.tpl:24
msgid "Available formats:"
msgstr "可用的格式︰"
#: ..\..\..\templates/video.tpl:31
msgid "Generic formats"
msgstr "通用格式"
#: ..\..\..\templates/video.tpl:34
msgid "Best"
msgstr "最佳"
#: ..\..\..\templates/video.tpl:39
msgid "Remux best video with best audio"
msgstr "重新封装最佳视频与最佳音频"
#: ..\..\..\templates/video.tpl:43
msgid "Worst"
msgstr "最差"
#: ..\..\..\templates/video.tpl:46
msgid "Detailed formats"
msgstr "详细格式"

View file

@ -2,8 +2,8 @@
<div class="wrapper"> <div class="wrapper">
<div class="main error"> <div class="main error">
{include file="inc/logo.tpl"} {include file="inc/logo.tpl"}
<h2>An error occured</h2> <h2>{t}An error occured{/t}</h2>
Please check the URL of your video. {t}Please check the URL of your video.{/t}
<p><i> <p><i>
{foreach $errors as $error} {foreach $errors as $error}
{$error|escape} {$error|escape}

View file

@ -1,7 +1,7 @@
{include file='inc/head.tpl'} {include file='inc/head.tpl'}
{include file='inc/header.tpl'} {include file='inc/header.tpl'}
{include file='inc/logo.tpl'} {include file='inc/logo.tpl'}
<h2 class="titre">Supported websites</h2> <h2 class="titre">{t}Supported websites{/t}</h2>
<div class="tripleliste"> <div class="tripleliste">
<ul> <ul>
{foreach $extractors as $extractor} {foreach $extractors as $extractor}

View file

@ -1,19 +1,19 @@
</div> </div>
<footer> <footer>
<div class="footer_wrapper"> <div class="footer_wrapper">
Code by <a rel="author" target="blank" {t}Code by{/t} <a rel="author" target="blank"
href="http://rudloff.pro/">Pierre Rudloff</a> href="http://rudloff.pro/">Pierre Rudloff</a>
&middot; Design by &middot; {t}Design by{/t}
<a rel="author" target="blank" <a rel="author" target="blank"
href="http://olivierhaquette.fr">Olivier Haquette</a> href="http://olivierhaquette.fr">Olivier Haquette</a>
&middot; &middot;
<a target="_blank" <a target="_blank"
href="https://www.facebook.com/pages/AllTube-Download/571380966249415" href="https://www.facebook.com/pages/AllTube-Download/571380966249415"
title="AllTube Download on Facebook">Like us on Facebook</a> title="{t}AllTube Download on Facebook{/t}">{t}Like us on Facebook{/t}</a>
&middot; &middot;
<a href="https://github.com/Rudloff/alltube">Get the code</a> <a href="https://github.com/Rudloff/alltube">{t}Get the code{/t}</a>
&middot; &middot;
Based on <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a> {t}Based on{/t} <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
</div> </div>
</footer> </footer>
<script src="{base_url}/dist/main.js"></script> <script src="{base_url}/dist/main.js"></script>

View file

@ -1,8 +1,8 @@
<header> <header>
<div class="social"> <div class="social">
<a class="twitter" href="http://twitter.com/home?status={base_url|urlencode}" target="_blank"> <a class="twitter" href="http://twitter.com/home?status={base_url|urlencode}" target="_blank">
Share on Twitter<div class="twittermask"></div></a> {t}Share on Twitter{/t}<div class="twittermask"></div></a>
<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={base_url|urlencode}" target="_blank">Share on Facebook<div class="facebookmask"></div></a> <a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={base_url|urlencode}" target="_blank">{t}Share on Facebook{/t}<div class="facebookmask"></div></a>
</div> </div>
</header> </header>
<div class="wrapper"> <div class="wrapper">

View file

@ -2,12 +2,12 @@
<div class="wrapper"> <div class="wrapper">
<div class="main"> <div class="main">
{include file="inc/logo.tpl"} {include file="inc/logo.tpl"}
<h2>This video is protected</h2> <h2>{t}This video is protected{/t}</h2>
<p>You need a password in order to download this video.</p> <p>{t}You need a password in order to download this video.{/t}</p>
<form action="" method="POST"> <form action="" method="POST">
<input class="URLinput" type="password" name="password" title="Video password" /> <input class="URLinput" type="password" name="password" title="{t}Video password{/t}" />
<br/><br/> <br/><br/>
<input class="downloadBtn" type="submit" value="Download" /> <input class="downloadBtn" type="submit" value="{t}Download{/t}" />
</form> </form>
</div> </div>
{include file='inc/footer.tpl'} {include file='inc/footer.tpl'}

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>Videos extracted from the {if isset($video->title)}<i> <p>{t}Videos extracted from the{/t} {if isset($video->title)}<i>
<a href="{$video->webpage_url}"> <a href="{$video->webpage_url}">
{$video->title}</a></i>{/if} playlist: {$video->title}</a></i>{/if} {t}playlist:{/t}
</p> </p>
{foreach $video->entries as $video} {foreach $video->entries as $video}
<div class="playlist-entry"> <div class="playlist-entry">
@ -20,8 +20,8 @@
{$video->title} {$video->title}
{/if} {/if}
</a></h3> </a></h3>
<a target="_blank" class="downloadBtn" href="{path_for name="redirect"}?url={$video->url}">Download</a> <a target="_blank" class="downloadBtn" href="{path_for name="redirect"}?url={$video->url}">{t}Download{/t}</a>
<a target="_blank" href="{path_for name="video"}?url={$video->url}">More options</a> <a target="_blank" href="{path_for name="video"}?url={$video->url}">{t}More options{/t}</a>
</div> </div>
{/foreach} {/foreach}

View file

@ -3,7 +3,7 @@
<div itemscope itemtype="http://schema.org/VideoObject"> <div itemscope itemtype="http://schema.org/VideoObject">
<div class="main"> <div class="main">
{include file="inc/logo.tpl"} {include file="inc/logo.tpl"}
<p id="download_intro">You are going to download<i itemprop="name"> <p id="download_intro">{t}You are going to download{/t}<i itemprop="name">
<a itemprop="url" id="video_link" <a itemprop="url" id="video_link"
data-ext="{$video->ext}" data-ext="{$video->ext}"
data-video="{$video->url|escape}" data-video="{$video->url|escape}"
@ -21,29 +21,29 @@
{/if} {/if}
<br/> <br/>
{if isset($video->formats)} {if isset($video->formats)}
<h3><label for="format">Available formats:</label></h3> <h3><label for="format">{t}Available formats:{/t}</label></h3>
<form action="{path_for name="redirect"}"> <form action="{path_for name="redirect"}">
<input type="hidden" name="url" value="{$video->webpage_url}" /> <input type="hidden" name="url" value="{$video->webpage_url}" />
{if $uglyUrls} {if $uglyUrls}
<input type="hidden" name="page" value="redirect" /> <input type="hidden" name="page" value="redirect" />
{/if} {/if}
<select name="format" id="format" class="formats monospace"> <select name="format" id="format" class="formats monospace">
<optgroup label="Generic formats"> <optgroup label="{t}Generic formats{/t}">
<option value="best{$protocol}"> <option value="best{$protocol}">
{strip} {strip}
Best ({$video->ext}) {t}Best{/t} ({$video->ext})
{/strip} {/strip}
</option> </option>
{if $remux} {if $remux}
<option value="bestvideo+bestaudio"> <option value="bestvideo+bestaudio">
Remux best video with best audio {t}Remux best video with best audio{/t}
</option> </option>
{/if} {/if}
<option value="worst{$protocol}"> <option value="worst{$protocol}">
Worst {t}Worst{/t}
</option> </option>
</optgroup> </optgroup>
<optgroup label="Detailed formats" class="monospace"> <optgroup label="{t}Detailed formats{/t}" class="monospace">
{foreach $video->formats as $format} {foreach $video->formats as $format}
{if $config->stream || $format->protocol|in_array:array('http', 'https')} {if $config->stream || $format->protocol|in_array:array('http', 'https')}
{strip} {strip}
@ -82,12 +82,12 @@
{/foreach} {/foreach}
</optgroup> </optgroup>
</select><br/><br/> </select><br/><br/>
<input class="downloadBtn" type="submit" value="Download" /><br/> <input class="downloadBtn" type="submit" value="{t}Download{/t}" /><br/>
</form> </form>
{else} {else}
<input type="hidden" name="format" value="best{$protocol}" /> <input type="hidden" name="format" value="best{$protocol}" />
<a class="downloadBtn" <a class="downloadBtn"
href="{$video->url|escape}">Download</a><br/> href="{$video->url|escape}">{t}Download{/t}</a><br/>
{/if} {/if}
</div> </div>
</div> </div>