From e9351d09e0116ce65e7789c138468aa33082c619 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 26 May 2017 03:58:48 -0700 Subject: [PATCH] Finish preparing pot file --- templates/Translations/template.pot | 124 ++++++++++++++++++++++++++++ templates/Translations/zh_CN.mo | Bin 783 -> 2222 bytes templates/Translations/zh_CN.po | 114 +++++++++++++++++++++++-- templates/error.tpl | 4 +- templates/extractors.tpl | 2 +- templates/inc/footer.tpl | 10 +-- templates/inc/header.tpl | 4 +- templates/password.tpl | 8 +- templates/playlist.tpl | 8 +- templates/video.tpl | 18 ++-- 10 files changed, 257 insertions(+), 35 deletions(-) create mode 100644 templates/Translations/template.pot diff --git a/templates/Translations/template.pot b/templates/Translations/template.pot new file mode 100644 index 0000000..e4178ba --- /dev/null +++ b/templates/Translations/template.pot @@ -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 "" diff --git a/templates/Translations/zh_CN.mo b/templates/Translations/zh_CN.mo index 334876a0d05d0037a032bbb175a9495ac776d670..3507120b32be0e93e8cedf03e35ce0437045fbd7 100644 GIT binary patch literal 2222 zcmZvc`*Raj6vwZE4+1_wL=@3GqbM*W@(>3CIF^PojIDNPc=?O7Np739o4s*&Lx~PE zDcbY_Z9yy0T7&|H4zJd!+R_KiIF3L1gFpF$qd$<{BtKRE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2c2;g1M2bt#i7nJ93w<9jcQo7TuaOYm(&Vc8!FnldPnRS)0 z-1y1D^fYriIuIo{e#1F=)@~cgO<%%RSJcc@A1h}1px@h4=o+)T&$=Q>Ubz-_%cwIt z!cElcOE?jAG3*si2 z8}D*Wx1Qw3?mkgG-{SNPJExlA!D-Jp{q6bbGx?jn%x=r(CT>Fh+<(ovsq$@|-Rf;} z({|(8-RE-mFE|}nnP(4Y(Fo7TO_sW4kKJJ?kKH+Hk7V8IQH3y7?9UXgHQS{;Pf`Al?bYAn{W`Yy-sCfS3b_g&7$b z6o9l0kd^|{wm_NnURFkpt#434EKnfVI&c{!B|8omL>nhZ|)`PsRNMcFy2B@E8_ z1(gaJsYR)iKQfC=c43yET*s_AS&Kz_vNWsjtN>6sTzMMJX<^0Vr7fpP>rz5w( r`2C(vh9^6hJzu-;>Gq{hTenX>%H}p%m0gML*@FJ}J2p(d$gThYlYc@C diff --git a/templates/Translations/zh_CN.po b/templates/Translations/zh_CN.po index b86d3f4..11c17f7 100644 --- a/templates/Translations/zh_CN.po +++ b/templates/Translations/zh_CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" "PO-Revision-Date: \n" -"Last-Translator: \n" +"Last-Translator: Shiqiang Yu \n" "Language-Team: \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" @@ -12,26 +12,124 @@ msgstr "" "X-Generator: Poedit 2.0.2\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.)" 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" msgstr "下载" -#: E:\GitKraken\alltube\templates/index.tpl:24 +#: ..\..\..\templates/index.tpl:24 msgid "Audio only (MP3)" msgstr "仅限音频(mp3)" -#: E:\GitKraken\alltube\templates/index.tpl:29 +#: ..\..\..\templates/index.tpl:29 msgid "See all supported websites" msgstr "请参阅支持的所有网站" -#: E:\GitKraken\alltube\templates/index.tpl:31 +#: ..\..\..\templates/index.tpl:31 msgid "Drag this to your bookmarks bar:" -msgstr "把这个拖到你的书签栏︰" +msgstr "把这个拖到你的书签:" -#: E:\GitKraken\alltube\templates/index.tpl:32 +#: ..\..\..\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 "详细格式" diff --git a/templates/error.tpl b/templates/error.tpl index 67a0fae..ded9676 100644 --- a/templates/error.tpl +++ b/templates/error.tpl @@ -2,8 +2,8 @@
{include file="inc/logo.tpl"} -

An error occured

- Please check the URL of your video. +

{t}An error occured{/t}

+ {t}Please check the URL of your video.{/t}

{foreach $errors as $error} {$error|escape} diff --git a/templates/extractors.tpl b/templates/extractors.tpl index 4944193..fb85994 100644 --- a/templates/extractors.tpl +++ b/templates/extractors.tpl @@ -1,7 +1,7 @@ {include file='inc/head.tpl'} {include file='inc/header.tpl'} {include file='inc/logo.tpl'} -

Supported websites

+

{t}Supported websites{/t}

    {foreach $extractors as $extractor} diff --git a/templates/inc/footer.tpl b/templates/inc/footer.tpl index c5797fc..b9ff314 100644 --- a/templates/inc/footer.tpl +++ b/templates/inc/footer.tpl @@ -1,19 +1,19 @@
diff --git a/templates/inc/header.tpl b/templates/inc/header.tpl index fc42083..628b0f7 100644 --- a/templates/inc/header.tpl +++ b/templates/inc/header.tpl @@ -1,8 +1,8 @@
diff --git a/templates/password.tpl b/templates/password.tpl index ab8e302..a4c56f2 100644 --- a/templates/password.tpl +++ b/templates/password.tpl @@ -2,12 +2,12 @@
{include file="inc/logo.tpl"} -

This video is protected

-

You need a password in order to download this video.

+

{t}This video is protected{/t}

+

{t}You need a password in order to download this video.{/t}

- +

- +
{include file='inc/footer.tpl'} diff --git a/templates/playlist.tpl b/templates/playlist.tpl index f6c9f22..c88d739 100644 --- a/templates/playlist.tpl +++ b/templates/playlist.tpl @@ -2,9 +2,9 @@
{include file="inc/logo.tpl"} -

Videos extracted from the {if isset($video->title)} +

{t}Videos extracted from the{/t} {if isset($video->title)} -{$video->title}{/if} playlist: +{$video->title}{/if} {t}playlist:{/t}

{foreach $video->entries as $video}
@@ -20,8 +20,8 @@ {$video->title} {/if} - url}">Download - url}">More options + url}">{t}Download{/t} + url}">{t}More options{/t}
{/foreach} diff --git a/templates/video.tpl b/templates/video.tpl index 64ca555..a2e1601 100644 --- a/templates/video.tpl +++ b/templates/video.tpl @@ -3,7 +3,7 @@