diff --git a/src/locale/zh_CN/LC_MESSAGES/video2x.mo b/src/locale/zh_CN/LC_MESSAGES/video2x.mo index 7b71b0e..356a660 100644 Binary files a/src/locale/zh_CN/LC_MESSAGES/video2x.mo and b/src/locale/zh_CN/LC_MESSAGES/video2x.mo differ diff --git a/src/locale/zh_CN/LC_MESSAGES/zh_CN.mo b/src/locale/zh_CN/LC_MESSAGES/zh_CN.mo index 7b71b0e..356a660 100644 Binary files a/src/locale/zh_CN/LC_MESSAGES/zh_CN.mo and b/src/locale/zh_CN/LC_MESSAGES/zh_CN.mo differ diff --git a/src/locale/zh_CN/LC_MESSAGES/zh_CN.po b/src/locale/zh_CN/LC_MESSAGES/zh_CN.po index e1d52ff..ca3cbaf 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-11 04:39-0400\n" -"PO-Revision-Date: 2020-05-11 04:40-0400\n" +"POT-Creation-Date: 2020-05-12 04:27-0400\n" +"PO-Revision-Date: 2020-05-12 04:29-0400\n" "Last-Translator: \n" "Language-Team: \n" "Language: zh_CN\n" @@ -21,179 +21,203 @@ msgstr "" msgid "Upscaling Progress" msgstr "放大进度" -#: upscaler.py:104 +#: upscaler.py:106 msgid "Specified or default cache directory is a file/link" msgstr "指定或默认的缓存目录是文件/链接" -#: upscaler.py:110 +#: upscaler.py:112 msgid "Creating cache directory {}" msgstr "创建缓存目录 {}" -#: upscaler.py:113 +#: upscaler.py:115 msgid "Unable to create {}" msgstr "无法创建 {}" -#: upscaler.py:118 +#: upscaler.py:120 msgid "Extracted frames are being saved to: {}" msgstr "提取的帧将被保存到:{}" -#: upscaler.py:120 +#: upscaler.py:122 msgid "Upscaled frames are being saved to: {}" msgstr "已放大的帧将被保存到:{}" -#: upscaler.py:130 +#: upscaler.py:132 msgid "Cleaning up cache directory: {}" msgstr "清理缓存目录:{}" -#: upscaler.py:133 +#: upscaler.py:135 msgid "Unable to delete: {}" msgstr "无法删除:{}" -#: upscaler.py:139 upscaler.py:154 upscaler.py:165 +#: upscaler.py:141 upscaler.py:156 upscaler.py:167 msgid "Input and output path type mismatch" msgstr "输入和输出路径类型不匹配" -#: upscaler.py:140 +#: upscaler.py:142 msgid "Input is multiple files but output is not directory" msgstr "输入是多个文件,但输出不是目录" -#: upscaler.py:144 +#: upscaler.py:146 msgid "Input path {} is neither a file nor a directory" msgstr "输入路径 {} 既不是文件也不是目录" -#: upscaler.py:148 upscaler.py:170 +#: upscaler.py:150 upscaler.py:172 msgid "Input directory and output directory cannot be the same" msgstr "输入目录和输出目录不能相同" -#: upscaler.py:155 +#: upscaler.py:157 msgid "Input is single file but output is directory" msgstr "所选的输入路径是单个文件,但输出路径是目录" -#: upscaler.py:158 +#: upscaler.py:160 msgid "No suffix found in output file path" msgstr "在输出文件路径中未找到后缀" -#: upscaler.py:159 -msgid "Suffix must be specified for FFmpeg" -msgstr "必须为 FFmpeg 指定后缀" +#: upscaler.py:161 +msgid "Suffix must be specified" +msgstr "必须指定文件后缀" -#: upscaler.py:166 +#: upscaler.py:168 msgid "Input is directory but output is existing single file" msgstr "输入是目录,但输出是现有的单个文件" -#: upscaler.py:175 +#: upscaler.py:177 msgid "Input path is neither a file nor a directory" msgstr "输入路径既不是文件也不是目录" -#: upscaler.py:184 +#: upscaler.py:186 msgid "FFmpeg or FFprobe cannot be found under the specified path" msgstr "在指定的路径下找不到 FFmpeg 或 FFprobe" -#: upscaler.py:185 upscaler.py:195 +#: upscaler.py:187 upscaler.py:197 msgid "Please check the configuration file settings" msgstr "请检查配置文件设置" -#: upscaler.py:194 +#: upscaler.py:196 msgid "Specified driver executable directory doesn't exist" msgstr "指定驱动的可执行文件不存在" -#: upscaler.py:221 +#: upscaler.py:223 msgid "Failed to parse driver argument: {}" msgstr "解析驱动程序参数失败:{}" -#: upscaler.py:253 +#: upscaler.py:248 +msgid "Anime4KCPP doesn't yet support GIF processing" +msgstr "Anime4KCPP 尚不支持GIF处理" + +#: upscaler.py:263 msgid "Unrecognized driver: {}" msgstr "无法识别的驱动名称:{}" -#: upscaler.py:293 +#: upscaler.py:303 msgid "Starting progress monitor" msgstr "启动进度监视器" -#: upscaler.py:298 +#: upscaler.py:308 msgid "Starting upscaled image cleaner" msgstr "启动已放大图像清理程序" -#: upscaler.py:307 upscaler.py:324 +#: upscaler.py:317 upscaler.py:334 msgid "Killing progress monitor" msgstr "终结进度监视器" -#: upscaler.py:310 upscaler.py:327 +#: upscaler.py:320 upscaler.py:337 msgid "Killing upscaled image cleaner" msgstr "终结已放大图像清理程序" -#: upscaler.py:331 +#: upscaler.py:341 msgid "Terminating all processes" msgstr "正在终止所有进程" -#: upscaler.py:338 +#: upscaler.py:348 msgid "Main process waiting for subprocesses to exit" msgstr "主进程开始等待子进程结束" -#: upscaler.py:357 upscaler.py:361 +#: upscaler.py:367 upscaler.py:371 msgid "Subprocess {} exited with code {}" msgstr "子进程 {} 结束,返回码 {}" -#: upscaler.py:367 +#: upscaler.py:377 msgid "Stop signal received" msgstr "收到停止信号" -#: upscaler.py:372 +#: upscaler.py:382 msgid "Subprocess execution ran into an error" msgstr "子进程执行遇到错误" -#: upscaler.py:421 -msgid "Upscaling single video file: {}" -msgstr "放大单个视频文件:{}" +#: upscaler.py:430 +msgid "Upscaling single file: {}" +msgstr "放大单个文件:{}" -#: upscaler.py:443 upscaler.py:502 -msgid "Starting to upscale extracted images" -msgstr "开始对提取的帧进行放大" +#: upscaler.py:466 +msgid "Starting to upscale image" +msgstr "开始放大图像" -#: upscaler.py:448 upscaler.py:504 +#: upscaler.py:469 upscaler.py:487 upscaler.py:545 msgid "Upscaling completed" msgstr "放大完成" -#: upscaler.py:457 +#: upscaler.py:482 +msgid "Starting to upscale video with Anime4KCPP" +msgstr "开始用 Anime4KCPP 放大视频" + +#: upscaler.py:496 msgid "Reading video information" msgstr "读取视频信息" -#: upscaler.py:471 +#: upscaler.py:510 msgid "Aborting: No video stream found" msgstr "程序中止:文件中未找到视频流" -#: upscaler.py:490 +#: upscaler.py:531 msgid "Unsupported pixel format: {}" msgstr "不支持的像素格式:{}" -#: upscaler.py:493 +#: upscaler.py:534 msgid "Framerate: {}" msgstr "帧率:{}" -#: upscaler.py:507 -msgid "Converting extracted frames into video" -msgstr "正在将提取的帧转换为视频" +#: upscaler.py:543 +msgid "Starting to upscale extracted frames" +msgstr "开始对提取的帧进行放大" -#: upscaler.py:514 +#: upscaler.py:550 +msgid "File {} ({}) neither an image of a video" +msgstr "文件 {} ({}) 既不是图片也不是视频" + +#: upscaler.py:551 +msgid "Skipping this file" +msgstr "将跳过此文件" + +#: upscaler.py:561 +msgid "Converting extracted frames into GIF image" +msgstr "正在将提取的帧转换为 GIF" + +#: upscaler.py:565 upscaler.py:574 msgid "Conversion completed" msgstr "转换已完成" -#: upscaler.py:518 +#: upscaler.py:570 +msgid "Converting extracted frames into video" +msgstr "正在将提取的帧转换为视频" + +#: upscaler.py:578 msgid "Migrating audio, subtitles and other streams to upscaled video" msgstr "正在将音频、字幕和其他流迁移到放大后的视频" -#: upscaler.py:527 +#: upscaler.py:587 msgid "Failed to migrate streams" msgstr "迁移流失败" -#: upscaler.py:528 +#: upscaler.py:588 msgid "Trying to output video without additional streams" msgstr "正在尝试输出不含其他流的视频" -#: upscaler.py:535 +#: upscaler.py:599 msgid "Output video file exists, aborting" msgstr "输出目标文件已存在,取消输出" -#: upscaler.py:539 +#: upscaler.py:603 msgid "Writing intermediate file to: {}" msgstr "正在将中间视频文件写入至:{}" @@ -259,11 +283,11 @@ msgstr "保留提取的和放大的帧" msgid "This file cannot be imported" msgstr "此文件无法被当作模块导入" -#: video2x.py:229 +#: video2x.py:234 msgid "Program completed, taking {} seconds" msgstr "程序执行完毕,总计花费 {} 秒" -#: video2x.py:232 +#: video2x.py:237 msgid "An exception has occurred" msgstr "发生了异常" diff --git a/src/video2x.pot b/src/video2x.pot index b03241f..4b6f5bb 100644 --- a/src/video2x.pot +++ b/src/video2x.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2020-05-11 04:39-0400\n" +"POT-Creation-Date: 2020-05-12 04:27-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -19,179 +19,203 @@ msgstr "" msgid "Upscaling Progress" msgstr "" -#: upscaler.py:104 +#: upscaler.py:106 msgid "Specified or default cache directory is a file/link" msgstr "" -#: upscaler.py:110 +#: upscaler.py:112 msgid "Creating cache directory {}" msgstr "" -#: upscaler.py:113 +#: upscaler.py:115 msgid "Unable to create {}" msgstr "" -#: upscaler.py:118 +#: upscaler.py:120 msgid "Extracted frames are being saved to: {}" msgstr "" -#: upscaler.py:120 +#: upscaler.py:122 msgid "Upscaled frames are being saved to: {}" msgstr "" -#: upscaler.py:130 +#: upscaler.py:132 msgid "Cleaning up cache directory: {}" msgstr "" -#: upscaler.py:133 +#: upscaler.py:135 msgid "Unable to delete: {}" msgstr "" -#: upscaler.py:139 upscaler.py:154 upscaler.py:165 +#: upscaler.py:141 upscaler.py:156 upscaler.py:167 msgid "Input and output path type mismatch" msgstr "" -#: upscaler.py:140 +#: upscaler.py:142 msgid "Input is multiple files but output is not directory" msgstr "" -#: upscaler.py:144 +#: upscaler.py:146 msgid "Input path {} is neither a file nor a directory" msgstr "" -#: upscaler.py:148 upscaler.py:170 +#: upscaler.py:150 upscaler.py:172 msgid "Input directory and output directory cannot be the same" msgstr "" -#: upscaler.py:155 +#: upscaler.py:157 msgid "Input is single file but output is directory" msgstr "" -#: upscaler.py:158 +#: upscaler.py:160 msgid "No suffix found in output file path" msgstr "" -#: upscaler.py:159 -msgid "Suffix must be specified for FFmpeg" +#: upscaler.py:161 +msgid "Suffix must be specified" msgstr "" -#: upscaler.py:166 +#: upscaler.py:168 msgid "Input is directory but output is existing single file" msgstr "" -#: upscaler.py:175 +#: upscaler.py:177 msgid "Input path is neither a file nor a directory" msgstr "" -#: upscaler.py:184 +#: upscaler.py:186 msgid "FFmpeg or FFprobe cannot be found under the specified path" msgstr "" -#: upscaler.py:185 upscaler.py:195 +#: upscaler.py:187 upscaler.py:197 msgid "Please check the configuration file settings" msgstr "" -#: upscaler.py:194 +#: upscaler.py:196 msgid "Specified driver executable directory doesn't exist" msgstr "" -#: upscaler.py:221 +#: upscaler.py:223 msgid "Failed to parse driver argument: {}" msgstr "" -#: upscaler.py:253 +#: upscaler.py:248 +msgid "Anime4KCPP doesn't yet support GIF processing" +msgstr "" + +#: upscaler.py:263 msgid "Unrecognized driver: {}" msgstr "" -#: upscaler.py:293 +#: upscaler.py:303 msgid "Starting progress monitor" msgstr "" -#: upscaler.py:298 +#: upscaler.py:308 msgid "Starting upscaled image cleaner" msgstr "" -#: upscaler.py:307 upscaler.py:324 +#: upscaler.py:317 upscaler.py:334 msgid "Killing progress monitor" msgstr "" -#: upscaler.py:310 upscaler.py:327 +#: upscaler.py:320 upscaler.py:337 msgid "Killing upscaled image cleaner" msgstr "" -#: upscaler.py:331 +#: upscaler.py:341 msgid "Terminating all processes" msgstr "" -#: upscaler.py:338 +#: upscaler.py:348 msgid "Main process waiting for subprocesses to exit" msgstr "" -#: upscaler.py:357 upscaler.py:361 +#: upscaler.py:367 upscaler.py:371 msgid "Subprocess {} exited with code {}" msgstr "" -#: upscaler.py:367 +#: upscaler.py:377 msgid "Stop signal received" msgstr "" -#: upscaler.py:372 +#: upscaler.py:382 msgid "Subprocess execution ran into an error" msgstr "" -#: upscaler.py:421 -msgid "Upscaling single video file: {}" +#: upscaler.py:430 +msgid "Upscaling single file: {}" msgstr "" -#: upscaler.py:443 upscaler.py:502 -msgid "Starting to upscale extracted images" +#: upscaler.py:466 +msgid "Starting to upscale image" msgstr "" -#: upscaler.py:448 upscaler.py:504 +#: upscaler.py:469 upscaler.py:487 upscaler.py:545 msgid "Upscaling completed" msgstr "" -#: upscaler.py:457 +#: upscaler.py:482 +msgid "Starting to upscale video with Anime4KCPP" +msgstr "" + +#: upscaler.py:496 msgid "Reading video information" msgstr "" -#: upscaler.py:471 +#: upscaler.py:510 msgid "Aborting: No video stream found" msgstr "" -#: upscaler.py:490 +#: upscaler.py:531 msgid "Unsupported pixel format: {}" msgstr "" -#: upscaler.py:493 +#: upscaler.py:534 msgid "Framerate: {}" msgstr "" -#: upscaler.py:507 -msgid "Converting extracted frames into video" +#: upscaler.py:543 +msgid "Starting to upscale extracted frames" msgstr "" -#: upscaler.py:514 +#: upscaler.py:550 +msgid "File {} ({}) neither an image of a video" +msgstr "" + +#: upscaler.py:551 +msgid "Skipping this file" +msgstr "" + +#: upscaler.py:561 +msgid "Converting extracted frames into GIF image" +msgstr "" + +#: upscaler.py:565 upscaler.py:574 msgid "Conversion completed" msgstr "" -#: upscaler.py:518 +#: upscaler.py:570 +msgid "Converting extracted frames into video" +msgstr "" + +#: upscaler.py:578 msgid "Migrating audio, subtitles and other streams to upscaled video" msgstr "" -#: upscaler.py:527 +#: upscaler.py:587 msgid "Failed to migrate streams" msgstr "" -#: upscaler.py:528 +#: upscaler.py:588 msgid "Trying to output video without additional streams" msgstr "" -#: upscaler.py:535 +#: upscaler.py:599 msgid "Output video file exists, aborting" msgstr "" -#: upscaler.py:539 +#: upscaler.py:603 msgid "Writing intermediate file to: {}" msgstr "" @@ -252,11 +276,11 @@ msgstr "" msgid "This file cannot be imported" msgstr "" -#: video2x.py:229 +#: video2x.py:234 msgid "Program completed, taking {} seconds" msgstr "" -#: video2x.py:232 +#: video2x.py:237 msgid "An exception has occurred" msgstr ""