From 4fbbb20258319e3783b4ac64202017703eb12492 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Sat, 9 May 2020 19:40:07 -0400 Subject: [PATCH] updated zh_CN translation files --- src/locale/zh_CN/LC_MESSAGES/video2x.mo | Bin 0 -> 5768 bytes src/locale/zh_CN/LC_MESSAGES/zh_CN.mo | Bin 0 -> 5768 bytes src/locale/zh_CN/LC_MESSAGES/zh_CN.po | 96 +++++---- src/video2x.pot | 266 ++++++++++++++++++++++++ 4 files changed, 322 insertions(+), 40 deletions(-) create mode 100644 src/locale/zh_CN/LC_MESSAGES/video2x.mo create mode 100644 src/locale/zh_CN/LC_MESSAGES/zh_CN.mo create mode 100644 src/video2x.pot diff --git a/src/locale/zh_CN/LC_MESSAGES/video2x.mo b/src/locale/zh_CN/LC_MESSAGES/video2x.mo new file mode 100644 index 0000000000000000000000000000000000000000..367c02f08722958d69bf2c3a60466568fef14c4a GIT binary patch literal 5768 zcmai0TX0)P8Qxx?AX+E|dZWNXLIZ6SJ8=SuLVz~ZNv64&+UbP{m}BYKK14ba=Nu(= zJDri6`j$AcTidzWN$kX_ou;-D(k8Oy%P<2oz!NhJFL@{rXpf|)0#o1tX3F>Pt|i%p z_Ka7bchByB{r-Q?yZ7BW#PEC{;}MLzZ)dC?_@6uQgJG{{*fEuKKjHYbTKGXatfz zN8=m%{VgEve;-J3cqpL!-U56S^S!{Y1Cv0~cM?c($^t2#e*&%t{vG%Q;Oft)^P7PW zV7>=P`%ECodj)tO@G_A0&jCsAAAl*~Ux6I>i@TLSuLHk@`67_wUjWj%I}v1(^B|Do z{WyL|&K4l;djWVaFbSkMb^=%5#@Kn_W0?Q?vnnp{0m;q}^!xz?i{h~c_$Azz0O|bgP`(DZ21s$=2Mhua1AhR#1|&QF23!YxxhS(7vAl z9|p#Nw*f1k$MuBbwHbrzhOZta0mwX2> zP**<0!?hS3gJMb##fl#4JqR^J`;qwp$UGB%hko!7KM`ixe<*j=7?cC~Jkc0;Jj-ql z@x5_=(2A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nTywzA}bG`0+OVaO|D2(+|38hh2y?!cNm>w$}0cU3@p81K_AtVc-%E;W}nBSge`MJw*K(kX- zhNd=%)0b94b;dwYX&Y1fP$b3dslxO)9IvcH@IxJ_Dh@38$1gF_pGK{$%#})jNY7N( zEH=Rj6;gffqq6A_-arOK`v{s591?vuSt*yw^kRD#b`%Fs7t-nSI~fp}YecHBI4FkC zG)!9ONNTn4OAo{PAI8|nl5~F$?nYA<@EuJ1%ZAB|ecZ%*SIH!^(`j6!& zbf=^08ch4W?RbkS$iF@6kIsp?KHZ^~YJ}cqCjMuyRB2FoW18l=L#y(VjYZK(d9P$I zefH#gy8V&2um%qT2u2~*K@QR9D4`vKK>i1&_0;I zp7l@6C{mZ&w;EI!_}zg|6$+M4>*lkRP8_wxi&YO|fuPRg0LpQB0-K zw;BG!?WU5C-mfdUQfgI23q+%rjiGqu6x!9Y&0>0O0Lrwi cm_nv5SlL=iTGX0Mi=sm5GiO=DkT)LtFUqp|DgXcg literal 0 HcmV?d00001 diff --git a/src/locale/zh_CN/LC_MESSAGES/zh_CN.mo b/src/locale/zh_CN/LC_MESSAGES/zh_CN.mo new file mode 100644 index 0000000000000000000000000000000000000000..367c02f08722958d69bf2c3a60466568fef14c4a GIT binary patch literal 5768 zcmai0TX0)P8Qxx?AX+E|dZWNXLIZ6SJ8=SuLVz~ZNv64&+UbP{m}BYKK14ba=Nu(= zJDri6`j$AcTidzWN$kX_ou;-D(k8Oy%P<2oz!NhJFL@{rXpf|)0#o1tX3F>Pt|i%p z_Ka7bchByB{r-Q?yZ7BW#PEC{;}MLzZ)dC?_@6uQgJG{{*fEuKKjHYbTKGXatfz zN8=m%{VgEve;-J3cqpL!-U56S^S!{Y1Cv0~cM?c($^t2#e*&%t{vG%Q;Oft)^P7PW zV7>=P`%ECodj)tO@G_A0&jCsAAAl*~Ux6I>i@TLSuLHk@`67_wUjWj%I}v1(^B|Do z{WyL|&K4l;djWVaFbSkMb^=%5#@Kn_W0?Q?vnnp{0m;q}^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MPKtSQbmE7W4sDoWf7X<+X`Qu&c|6=M)esHpw>M4%Ru)@NC=(r?a@1=jbW|al`YguvbC|S@u zQ|vgVH>n7fwyG&M6%NnmhclwTSMT#rrI&))o15=cf@$&iRez+1f_H2vmw8hqs(eO_ zpDC@rH&;Fh4JC=p?@7UM3YD~5nTywzA}bG`0+OVaO|D2(+|38hh2y?!cNm>w$}0cU3@p81K_AtVc-%E;W}nBSge`MJw*K(kX- zhNd=%)0b94b;dwYX&Y1fP$b3dslxO)9IvcH@IxJ_Dh@38$1gF_pGK{$%#})jNY7N( zEH=Rj6;gffqq6A_-arOK`v{s591?vuSt*yw^kRD#b`%Fs7t-nSI~fp}YecHBI4FkC zG)!9ONNTn4OAo{PAI8|nl5~F$?nYA<@EuJ1%ZAB|ecZ%*SIH!^(`j6!& zbf=^08ch4W?RbkS$iF@6kIsp?KHZ^~YJ}cqCjMuyRB2FoW18l=L#y(VjYZK(d9P$I zefH#gy8V&2um%qT2u2~*K@QR9D4`vKK>i1&_0;I zp7l@6C{mZ&w;EI!_}zg|6$+M4>*lkRP8_wxi&YO|fuPRg0LpQB0-K zw;BG!?WU5C-mfdUQfgI23q+%rjiGqu6x!9Y&0>0O0Lrwi cm_nv5SlL=iTGX0Mi=sm5GiO=DkT)LtFUqp|DgXcg literal 0 HcmV?d00001 diff --git a/src/locale/zh_CN/LC_MESSAGES/zh_CN.po b/src/locale/zh_CN/LC_MESSAGES/zh_CN.po index c1ec084..1817d3d 100644 --- a/src/locale/zh_CN/LC_MESSAGES/zh_CN.po +++ b/src/locale/zh_CN/LC_MESSAGES/zh_CN.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2020-05-08 22:10-0400\n" -"PO-Revision-Date: 2020-05-08 22:11-0400\n" +"POT-Creation-Date: 2020-05-09 19:34-0400\n" +"PO-Revision-Date: 2020-05-09 19:38-0400\n" "Last-Translator: \n" "Language-Team: \n" "Language: zh_CN\n" @@ -105,83 +105,99 @@ msgstr "解析驱动程序参数失败:{}" msgid "Unrecognized driver: {}" msgstr "无法识别的驱动名称:{}" -#: upscaler.py:309 +#: upscaler.py:311 msgid "Starting progress monitor" msgstr "启动进度监视器" -#: upscaler.py:314 +#: upscaler.py:316 msgid "Starting upscaled image cleaner" msgstr "启动已放大图像清理程序" -#: upscaler.py:323 upscaler.py:340 +#: upscaler.py:325 upscaler.py:342 msgid "Killing progress monitor" msgstr "终结进度监视器" -#: upscaler.py:326 upscaler.py:343 +#: upscaler.py:328 upscaler.py:345 msgid "Killing upscaled image cleaner" msgstr "终结已放大图像清理程序" -#: upscaler.py:347 +#: upscaler.py:349 msgid "Terminating all processes" msgstr "正在终止所有进程" -#: upscaler.py:354 +#: upscaler.py:356 msgid "Main process waiting for subprocesses to exit" msgstr "主进程开始等待子进程结束" -#: upscaler.py:373 upscaler.py:377 +#: upscaler.py:375 upscaler.py:379 msgid "Subprocess {} exited with code {}" msgstr "子进程 {} 结束,返回码 {}" -#: upscaler.py:383 +#: upscaler.py:385 msgid "Stop signal received" msgstr "收到停止信号" -#: upscaler.py:388 +#: upscaler.py:390 msgid "Subprocess execution ran into an error" msgstr "子进程执行遇到错误" -#: upscaler.py:430 +#: upscaler.py:432 msgid "Upscaling single video file: {}" msgstr "放大单个视频文件:{}" -#: upscaler.py:452 upscaler.py:515 +#: upscaler.py:454 upscaler.py:517 msgid "Starting to upscale extracted images" msgstr "开始对提取的帧进行放大" -#: upscaler.py:461 upscaler.py:517 +#: upscaler.py:463 upscaler.py:519 msgid "Upscaling completed" msgstr "放大完成" -#: upscaler.py:470 +#: upscaler.py:472 msgid "Reading video information" msgstr "读取视频信息" -#: upscaler.py:484 +#: upscaler.py:486 msgid "Aborting: No video stream found" msgstr "程序中止:文件中未找到视频流" -#: upscaler.py:502 +#: upscaler.py:504 msgid "Unsupported pixel format: {}" msgstr "不支持的像素格式:{}" -#: upscaler.py:505 +#: upscaler.py:507 msgid "Framerate: {}" msgstr "帧率:{}" -#: upscaler.py:520 +#: upscaler.py:522 msgid "Converting extracted frames into video" -msgstr "将提取的帧转换为视频" +msgstr "正在将提取的帧转换为视频" -#: upscaler.py:525 +#: upscaler.py:529 msgid "Conversion completed" msgstr "转换已完成" -#: upscaler.py:528 -msgid "Migrating audio tracks and subtitles to upscaled video" -msgstr "将音轨和字幕迁移到放大后的视频" +#: upscaler.py:533 +msgid "Migrating audio, subtitles and other streams to upscaled video" +msgstr "正在将音频、字幕和其他流迁移到放大后的视频" -#: video2x.py:87 +#: upscaler.py:542 +msgid "Failed to migrate streams" +msgstr "迁移流失败" + +#: upscaler.py:543 +msgid "Trying to output video without additional streams" +msgstr "正在尝试输出不含其他流的视频" + +#: upscaler.py:550 +msgid "Output video file exists, aborting" +msgstr "输出目标文件已存在,取消输出" + +#: upscaler.py:554 +msgid "Writing intermediate file to: {}" +msgstr "正在将中间视频文件写入至:{}" + +#: video2x.py:84 msgid "" "Video2X Version: {}\n" "Author: K4YT3X\n" @@ -195,63 +211,63 @@ msgstr "" "GitHub 主页:https://github.com/k4yt3x/video2x\n" "联系方式:k4yt3x@k4yt3x.com" -#: video2x.py:109 +#: video2x.py:106 msgid "General Options" msgstr "通用选项" -#: video2x.py:110 +#: video2x.py:107 msgid "show this help message and exit" msgstr "显示此帮助消息并退出" -#: video2x.py:111 +#: video2x.py:108 msgid "source video file/directory" msgstr "源视频文件/目录" -#: video2x.py:112 +#: video2x.py:109 msgid "output video file/directory" msgstr "输出视频文件/目录" -#: video2x.py:113 +#: video2x.py:110 msgid "video2x config file path" msgstr "video2x 配置文件路径" -#: video2x.py:115 +#: video2x.py:112 msgid "upscaling driver" msgstr "视频放大驱动" -#: video2x.py:116 +#: video2x.py:113 msgid "number of processes to use for upscaling" msgstr "并发进程数" -#: video2x.py:117 +#: video2x.py:114 msgid "display version, lawful information and exit" msgstr "显示版本和法律信息并退出" -#: video2x.py:120 +#: video2x.py:117 msgid "Scaling Options" msgstr "缩放选项" -#: video2x.py:121 +#: video2x.py:118 msgid "output video width" msgstr "输出视频宽度" -#: video2x.py:122 +#: video2x.py:119 msgid "output video height" msgstr "输出视频高度" -#: video2x.py:123 +#: video2x.py:120 msgid "scaling ratio" msgstr "缩放比" -#: video2x.py:163 +#: video2x.py:160 msgid "This file cannot be imported" msgstr "此文件无法被当作模块导入" -#: video2x.py:224 +#: video2x.py:225 msgid "Program completed, taking {} seconds" msgstr "程序执行完毕,总计花费 {} 秒" -#: video2x.py:227 +#: video2x.py:228 msgid "An exception has occurred" msgstr "发生了异常" diff --git a/src/video2x.pot b/src/video2x.pot new file mode 100644 index 0000000..72d6649 --- /dev/null +++ b/src/video2x.pot @@ -0,0 +1,266 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2020-05-09 19:34-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=cp1252\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: pygettext.py 1.5\n" + + +#: progress_monitor.py:42 +msgid "Upscaling Progress" +msgstr "" + +#: upscaler.py:105 +msgid "Specified or default cache directory is a file/link" +msgstr "" + +#: upscaler.py:111 +msgid "Creating cache directory {}" +msgstr "" + +#: upscaler.py:114 +msgid "Unable to create {}" +msgstr "" + +#: upscaler.py:119 +msgid "Extracted frames are being saved to: {}" +msgstr "" + +#: upscaler.py:121 +msgid "Upscaled frames are being saved to: {}" +msgstr "" + +#: upscaler.py:131 +msgid "Cleaning up cache directory: {}" +msgstr "" + +#: upscaler.py:134 +msgid "Unable to delete: {}" +msgstr "" + +#: upscaler.py:140 upscaler.py:155 upscaler.py:166 +msgid "Input and output path type mismatch" +msgstr "" + +#: upscaler.py:141 +msgid "Input is multiple files but output is not directory" +msgstr "" + +#: upscaler.py:145 +msgid "Input path {} is neither a file nor a directory" +msgstr "" + +#: upscaler.py:149 upscaler.py:171 +msgid "Input directory and output directory cannot be the same" +msgstr "" + +#: upscaler.py:156 +msgid "Input is single file but output is directory" +msgstr "" + +#: upscaler.py:159 +msgid "No suffix found in output file path" +msgstr "" + +#: upscaler.py:160 +msgid "Suffix must be specified for FFmpeg" +msgstr "" + +#: upscaler.py:167 +msgid "Input is directory but output is existing single file" +msgstr "" + +#: upscaler.py:176 +msgid "Input path is neither a file nor a directory" +msgstr "" + +#: upscaler.py:185 +msgid "FFmpeg or FFprobe cannot be found under the specified path" +msgstr "" + +#: upscaler.py:186 upscaler.py:196 +msgid "Please check the configuration file settings" +msgstr "" + +#: upscaler.py:195 +msgid "Specified driver executable directory doesn't exist" +msgstr "" + +#: upscaler.py:222 +msgid "Failed to parse driver argument: {}" +msgstr "" + +#: upscaler.py:237 +msgid "Unrecognized driver: {}" +msgstr "" + +#: upscaler.py:311 +msgid "Starting progress monitor" +msgstr "" + +#: upscaler.py:316 +msgid "Starting upscaled image cleaner" +msgstr "" + +#: upscaler.py:325 upscaler.py:342 +msgid "Killing progress monitor" +msgstr "" + +#: upscaler.py:328 upscaler.py:345 +msgid "Killing upscaled image cleaner" +msgstr "" + +#: upscaler.py:349 +msgid "Terminating all processes" +msgstr "" + +#: upscaler.py:356 +msgid "Main process waiting for subprocesses to exit" +msgstr "" + +#: upscaler.py:375 upscaler.py:379 +msgid "Subprocess {} exited with code {}" +msgstr "" + +#: upscaler.py:385 +msgid "Stop signal received" +msgstr "" + +#: upscaler.py:390 +msgid "Subprocess execution ran into an error" +msgstr "" + +#: upscaler.py:432 +msgid "Upscaling single video file: {}" +msgstr "" + +#: upscaler.py:454 upscaler.py:517 +msgid "Starting to upscale extracted images" +msgstr "" + +#: upscaler.py:463 upscaler.py:519 +msgid "Upscaling completed" +msgstr "" + +#: upscaler.py:472 +msgid "Reading video information" +msgstr "" + +#: upscaler.py:486 +msgid "Aborting: No video stream found" +msgstr "" + +#: upscaler.py:504 +msgid "Unsupported pixel format: {}" +msgstr "" + +#: upscaler.py:507 +msgid "Framerate: {}" +msgstr "" + +#: upscaler.py:522 +msgid "Converting extracted frames into video" +msgstr "" + +#: upscaler.py:529 +msgid "Conversion completed" +msgstr "" + +#: upscaler.py:533 +msgid "Migrating audio, subtitles and other streams to upscaled video" +msgstr "" + +#: upscaler.py:542 +msgid "Failed to migrate streams" +msgstr "" + +#: upscaler.py:543 +msgid "Trying to output video without additional streams" +msgstr "" + +#: upscaler.py:550 +msgid "Output video file exists, aborting" +msgstr "" + +#: upscaler.py:554 +msgid "Writing intermediate file to: {}" +msgstr "" + +#: video2x.py:84 +msgid "" +"Video2X Version: {}\n" +"Author: K4YT3X\n" +"License: GNU GPL v3\n" +"Github Page: https://github.com/k4yt3x/video2x\n" +"Contact: k4yt3x@k4yt3x.com" +msgstr "" + +#: video2x.py:106 +msgid "General Options" +msgstr "" + +#: video2x.py:107 +msgid "show this help message and exit" +msgstr "" + +#: video2x.py:108 +msgid "source video file/directory" +msgstr "" + +#: video2x.py:109 +msgid "output video file/directory" +msgstr "" + +#: video2x.py:110 +msgid "video2x config file path" +msgstr "" + +#: video2x.py:112 +msgid "upscaling driver" +msgstr "" + +#: video2x.py:113 +msgid "number of processes to use for upscaling" +msgstr "" + +#: video2x.py:114 +msgid "display version, lawful information and exit" +msgstr "" + +#: video2x.py:117 +msgid "Scaling Options" +msgstr "" + +#: video2x.py:118 +msgid "output video width" +msgstr "" + +#: video2x.py:119 +msgid "output video height" +msgstr "" + +#: video2x.py:120 +msgid "scaling ratio" +msgstr "" + +#: video2x.py:160 +msgid "This file cannot be imported" +msgstr "" + +#: video2x.py:225 +msgid "Program completed, taking {} seconds" +msgstr "" + +#: video2x.py:228 +msgid "An exception has occurred" +msgstr "" +