Added translation file

This commit is contained in:
Unknown 2017-05-25 23:55:04 -07:00
parent fed425fce3
commit 3ee71db762
3 changed files with 44 additions and 6 deletions

Binary file not shown.

View file

@ -0,0 +1,37 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.2\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: E:\GitKraken\alltube\templates/index.tpl:9
msgid "Copy here the URL of your video (Youtube, Dailymotion, etc.)"
msgstr "在这里复制您的视频 Youtube、 Dailymotion 等) 的 URL"
#: E:\GitKraken\alltube\templates/index.tpl:19
msgid "Download"
msgstr "下载"
#: E:\GitKraken\alltube\templates/index.tpl:24
msgid "Audio only (MP3)"
msgstr "仅限音频mp3"
#: E:\GitKraken\alltube\templates/index.tpl:29
msgid "See all supported websites"
msgstr "请参阅支持的所有网站"
#: E:\GitKraken\alltube\templates/index.tpl:31
msgid "Drag this to your bookmarks bar:"
msgstr "把这个拖到你的书签栏︰"
#: E:\GitKraken\alltube\templates/index.tpl:32
msgid "Bookmarklet"
msgstr "书签工具"

View file

@ -1,11 +1,12 @@
{include file='inc/head.tpl'}
{include file='inc/header.tpl'}
{locale path="Translations" domain="AllTube"}
<div class="main">
<div><img class="logo" src="{base_url}/img/logo.png"
alt="AllTube Download" width="328" height="284"></div>
<form action="{path_for name="video"}">
<label class="labelurl" for="url">
Copy here the URL of your video (Youtube, Dailymotion, etc.)
{t}Copy here the URL of your video (Youtube, Dailymotion, etc.){/t}
</label>
<div class="champs">
<span class="URLinput_wrapper">
@ -15,20 +16,20 @@
{if $uglyUrls}
<input type="hidden" name="page" value="video" />
{/if}
<input class="downloadBtn" type="submit" value="Download" /><br/>
<input class="downloadBtn" type="submit" value="{t}Download{/t}" /><br/>
{if $convert}
<div class="mp3">
<p><input type="checkbox" id="audio" class="audio" name="audio">
<label for="audio"><span class="ui"></span>
Audio only (MP3)</label></p>
{t}Audio only (MP3){/t}</label></p>
</div>
{/if}
</div>
</form>
<a class="combatiblelink" href="{path_for name="extractors"}">See all supported websites</a>
<a class="combatiblelink" href="{path_for name="extractors"}">{t}See all supported websites{/t}</a>
<div id="bookmarklet" class="bookmarklet_wrapper">
<p> Drag this to your bookmarks bar: </p>
<a class="bookmarklet" href="javascript:window.location='{$domain}{path_for name='video'}?url='+encodeURIComponent(location.href);">Bookmarklet</a>
<p> {t}Drag this to your bookmarks bar:{/t} </p>
<a class="bookmarklet" href="javascript:window.location='{$domain}{path_for name='video'}?url='+encodeURIComponent(location.href);">{t}Bookmarklet{/t}</a>
</div>
</div>