Added translation file
This commit is contained in:
parent
fed425fce3
commit
3ee71db762
3 changed files with 44 additions and 6 deletions
BIN
templates/Translations/zh_CN.mo
Normal file
BIN
templates/Translations/zh_CN.mo
Normal file
Binary file not shown.
37
templates/Translations/zh_CN.po
Normal file
37
templates/Translations/zh_CN.po
Normal 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 "书签工具"
|
|
@ -1,11 +1,12 @@
|
||||||
{include file='inc/head.tpl'}
|
{include file='inc/head.tpl'}
|
||||||
{include file='inc/header.tpl'}
|
{include file='inc/header.tpl'}
|
||||||
|
{locale path="Translations" domain="AllTube"}
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div><img class="logo" src="{base_url}/img/logo.png"
|
<div><img class="logo" src="{base_url}/img/logo.png"
|
||||||
alt="AllTube Download" width="328" height="284"></div>
|
alt="AllTube Download" width="328" height="284"></div>
|
||||||
<form action="{path_for name="video"}">
|
<form action="{path_for name="video"}">
|
||||||
<label class="labelurl" for="url">
|
<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>
|
</label>
|
||||||
<div class="champs">
|
<div class="champs">
|
||||||
<span class="URLinput_wrapper">
|
<span class="URLinput_wrapper">
|
||||||
|
@ -15,20 +16,20 @@
|
||||||
{if $uglyUrls}
|
{if $uglyUrls}
|
||||||
<input type="hidden" name="page" value="video" />
|
<input type="hidden" name="page" value="video" />
|
||||||
{/if}
|
{/if}
|
||||||
<input class="downloadBtn" type="submit" value="Download" /><br/>
|
<input class="downloadBtn" type="submit" value="{t}Download{/t}" /><br/>
|
||||||
{if $convert}
|
{if $convert}
|
||||||
<div class="mp3">
|
<div class="mp3">
|
||||||
<p><input type="checkbox" id="audio" class="audio" name="audio">
|
<p><input type="checkbox" id="audio" class="audio" name="audio">
|
||||||
<label for="audio"><span class="ui"></span>
|
<label for="audio"><span class="ui"></span>
|
||||||
Audio only (MP3)</label></p>
|
{t}Audio only (MP3){/t}</label></p>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</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">
|
<div id="bookmarklet" class="bookmarklet_wrapper">
|
||||||
<p> Drag this to your bookmarks bar: </p>
|
<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);">Bookmarklet</a>
|
<a class="bookmarklet" href="javascript:window.location='{$domain}{path_for name='video'}?url='+encodeURIComponent(location.href);">{t}Bookmarklet{/t}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue