diff --git a/SRC/Waifu2x-Extension-QT/Donate.cpp b/SRC/Waifu2x-Extension-QT/Donate.cpp index 16019e296..e6d369eba 100644 --- a/SRC/Waifu2x-Extension-QT/Donate.cpp +++ b/SRC/Waifu2x-Extension-QT/Donate.cpp @@ -24,30 +24,47 @@ online update for QRCode at donate tab */ int MainWindow::Donate_DownloadOnlineQRCode() { + bool isGiteeBanned = ui->checkBox_BanGitee->isChecked(); //============================ - QString Github_OnlineQRCode = Current_Path+"/Online_Donate_QRCode_Github.jpg"; - QString Gitee_OnlineQRCode = Current_Path+"/Online_Donate_QRCode_Gitee.jpg"; - QFile::remove(Github_OnlineQRCode); - QFile::remove(Gitee_OnlineQRCode); + QString Github_OnlineQRCode_online = "https://raw.githubusercontent.com/AaronFeng753/Waifu2x-Extension-GUI/master/.github/Online_Donate_QRCode.jpg"; + QString Gitee_OnlineQRCode_online = "https://gitee.com/aaronfeng0711/Waifu2x-Extension-GUI/raw/master/.github/Online_Donate_QRCode.jpg"; + //= + QString Github_OnlineQRCode_local = Current_Path+"/Online_Donate_QRCode_Github.jpg"; + QString Gitee_OnlineQRCode_local = Current_Path+"/Online_Donate_QRCode_Gitee.jpg"; + //= + QFile::remove(Github_OnlineQRCode_local); + QFile::remove(Gitee_OnlineQRCode_local); //=========================== QString program = Current_Path+"/python_ext_waifu2xEX.exe"; QProcess DownloadOnlineQRCode; - DownloadOnlineQRCode.start("\""+program+"\" \""+Current_Path+"\" DownloadDonateQRCode"); + //==================== 从Github下载文件 ======================== + emit Send_TextBrowser_NewMessage(tr("Starting to download QRCode image(for [Donate] tab) from Github.")); + DownloadOnlineQRCode.start("\""+program+"\" \""+Github_OnlineQRCode_online+"\" download2 \""+Github_OnlineQRCode_local+"\""); while(!DownloadOnlineQRCode.waitForStarted(500)&&!QProcess_stop) {} while(!DownloadOnlineQRCode.waitForFinished(500)&&!QProcess_stop) {} - //========= 先检查github的文件是否下载成功 ================= - QFileInfo *Github_OnlineQRCode_QFileInfo = new QFileInfo(Github_OnlineQRCode); - if(QFile::exists(Github_OnlineQRCode)&&(Github_OnlineQRCode_QFileInfo->size()>1000)) + emit Send_TextBrowser_NewMessage(tr("Finished to download QRCode image from Github.")); + //========= 检查github的文件是否下载成功 ================= + QFileInfo *Github_OnlineQRCode_QFileInfo = new QFileInfo(Github_OnlineQRCode_local); + if(QFile::exists(Github_OnlineQRCode_local)&&(Github_OnlineQRCode_QFileInfo->size()>1000)) { - emit Send_Donate_ReplaceQRCode(Github_OnlineQRCode); + emit Send_Donate_ReplaceQRCode(Github_OnlineQRCode_local); return 1; } - //========= 再检查gitee的文件是否下载成功 ================= - QFileInfo *Gitee_OnlineQRCode_QFileInfo = new QFileInfo(Gitee_OnlineQRCode); - if(QFile::exists(Gitee_OnlineQRCode)&&(Gitee_OnlineQRCode_QFileInfo->size()>1000)) + //==================== 从码云下载文件 ======================== + if(isGiteeBanned==false) { - emit Send_Donate_ReplaceQRCode(Gitee_OnlineQRCode); - return 1; + emit Send_TextBrowser_NewMessage(tr("Starting to download QRCode image(for [Donate] tab) from Gitee.")); + DownloadOnlineQRCode.start("\""+program+"\" \""+Gitee_OnlineQRCode_online+"\" download2 \""+Gitee_OnlineQRCode_local+"\""); + while(!DownloadOnlineQRCode.waitForStarted(500)&&!QProcess_stop) {} + while(!DownloadOnlineQRCode.waitForFinished(500)&&!QProcess_stop) {} + emit Send_TextBrowser_NewMessage(tr("Finished to download QRCode image from Gitee.")); + //========= 检查gitee的文件是否下载成功 ================= + QFileInfo *Gitee_OnlineQRCode_QFileInfo = new QFileInfo(Gitee_OnlineQRCode_local); + if(QFile::exists(Gitee_OnlineQRCode_local)&&(Gitee_OnlineQRCode_QFileInfo->size()>1000)&&!isGiteeBanned) + { + emit Send_Donate_ReplaceQRCode(Gitee_OnlineQRCode_local); + return 1; + } } emit Send_Donate_ReplaceQRCode("");//下载失败,直接跳转 return 0; diff --git a/SRC/Waifu2x-Extension-QT/Waifu2x-Extension-QT.pro.user b/SRC/Waifu2x-Extension-QT/Waifu2x-Extension-QT.pro.user index 0eea29f8a..9a4d6a4a2 100644 --- a/SRC/Waifu2x-Extension-QT/Waifu2x-Extension-QT.pro.user +++ b/SRC/Waifu2x-Extension-QT/Waifu2x-Extension-QT.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/SRC/Waifu2x-Extension-QT/checkupdate.cpp b/SRC/Waifu2x-Extension-QT/checkupdate.cpp index 5e12937a1..02ac78359 100644 --- a/SRC/Waifu2x-Extension-QT/checkupdate.cpp +++ b/SRC/Waifu2x-Extension-QT/checkupdate.cpp @@ -33,11 +33,11 @@ check update :[python_ext_waifu2xEX.exe Current_Path checkupdate] */ void MainWindow::on_pushButton_CheckUpdate_clicked() { - QDesktopServices::openUrl(QUrl("https://github.com/AaronFeng753/Waifu2x-Extension-GUI/releases/latest")); if(ui->comboBox_language->currentIndex()==1) { QDesktopServices::openUrl(QUrl("https://gitee.com/aaronfeng0711/Waifu2x-Extension-GUI/releases")); } + QDesktopServices::openUrl(QUrl("https://github.com/AaronFeng753/Waifu2x-Extension-GUI/releases")); } /* 自动检查更新: @@ -45,38 +45,45 @@ void MainWindow::on_pushButton_CheckUpdate_clicked() */ int MainWindow::CheckUpadte_Auto() { + bool isGiteeBanned = ui->checkBox_BanGitee->isChecked(); //============ QString Latest_Ver=""; QString Current_Ver=""; - QString checkupdate_cmd=""; + QString Github_UpdateInfo_online = ""; + QString Gitee_UpdateInfo_online = ""; switch(ui->comboBox_UpdateChannel->currentIndex()) { case 0: Current_Ver=LastStableVer; - checkupdate_cmd="checkupdate"; + Github_UpdateInfo_online = "https://raw.githubusercontent.com/AaronFeng753/Waifu2x-Extension-GUI/master/.github/Update_Info.ini"; + Gitee_UpdateInfo_online = "https://gitee.com/aaronfeng0711/Waifu2x-Extension-GUI/raw/master/.github/Update_Info.ini"; break; case 1: Current_Ver=VERSION; - checkupdate_cmd="checkupdate_beta"; + Github_UpdateInfo_online = "https://raw.githubusercontent.com/AaronFeng753/Waifu2x-Extension-GUI/master/.github/Update_Info_Beta.ini"; + Gitee_UpdateInfo_online = "https://gitee.com/aaronfeng0711/Waifu2x-Extension-GUI/raw/master/.github/Update_Info_Beta.ini"; break; default: break; } //============================ - QString Github_UpdateInfo = Current_Path+"/Update_Info_Github.ini"; - QString Gitee_UpdateInfo = Current_Path+"/Update_Info_Gitee.ini"; - QFile::remove(Github_UpdateInfo); - QFile::remove(Gitee_UpdateInfo); - //=========================== + QString Github_UpdateInfo_local = Current_Path+"/Update_Info_Github.ini"; + QString Gitee_UpdateInfo_local = Current_Path+"/Update_Info_Gitee.ini"; + //= + QFile::remove(Github_UpdateInfo_local); + QFile::remove(Gitee_UpdateInfo_local); + //============= 从Github下载更新信息 ============== QString program = Current_Path+"/python_ext_waifu2xEX.exe"; QProcess checkupdate; - checkupdate.start("\""+program+"\" \""+Current_Path+"\" "+checkupdate_cmd); + emit Send_TextBrowser_NewMessage(tr("Starting to download update information(for auto-check update) from Github.")); + checkupdate.start("\""+program+"\" \""+Github_UpdateInfo_online+"\" download2 \""+Github_UpdateInfo_local+"\""); while(!checkupdate.waitForStarted(500)&&!QProcess_stop) {} while(!checkupdate.waitForFinished(500)&&!QProcess_stop) {} - //========= 先检查github的文件是否下载成功 ================= - if(QFile::exists(Github_UpdateInfo)) + emit Send_TextBrowser_NewMessage(tr("Finished to download update information from Github.")); + //========= 检查github的文件是否下载成功 ================= + if(QFile::exists(Github_UpdateInfo_local)) { - QSettings *configIniRead = new QSettings(Github_UpdateInfo, QSettings::IniFormat); + QSettings *configIniRead = new QSettings(Github_UpdateInfo_local, QSettings::IniFormat); configIniRead->setIniCodec(QTextCodec::codecForName("UTF-8")); Latest_Ver = configIniRead->value("/Latest_Version/Ver").toString(); QString Change_log = configIniRead->value("/Change_log/log").toString(); @@ -85,34 +92,43 @@ int MainWindow::CheckUpadte_Auto() { emit Send_CheckUpadte_NewUpdate(Latest_Ver,Change_log); //===== - QFile::remove(Github_UpdateInfo); - QFile::remove(Gitee_UpdateInfo); + QFile::remove(Github_UpdateInfo_local); + QFile::remove(Gitee_UpdateInfo_local); return 0; } } - //========= 再检查gitee的文件是否下载成功 ================= - if(QFile::exists(Gitee_UpdateInfo)) + //============= 从码云下载更新信息 ============== + if(isGiteeBanned==false) { - QSettings *configIniRead = new QSettings(Gitee_UpdateInfo, QSettings::IniFormat); - configIniRead->setIniCodec(QTextCodec::codecForName("UTF-8")); - Latest_Ver = configIniRead->value("/Latest_Version/Ver").toString(); - QString Change_log = configIniRead->value("/Change_log/log").toString(); - Latest_Ver = Latest_Ver.trimmed(); - if(Latest_Ver!=Current_Ver&&Latest_Ver!="") + emit Send_TextBrowser_NewMessage(tr("Starting to download update information(for auto-check update) from Gitee.")); + checkupdate.start("\""+program+"\" \""+Gitee_UpdateInfo_online+"\" download2 \""+Gitee_UpdateInfo_local+"\""); + while(!checkupdate.waitForStarted(500)&&!QProcess_stop) {} + while(!checkupdate.waitForFinished(500)&&!QProcess_stop) {} + emit Send_TextBrowser_NewMessage(tr("Finished to download update information from Gitee.")); + //========= 检查gitee的文件是否下载成功 ================= + if(QFile::exists(Gitee_UpdateInfo_local)) { - emit Send_CheckUpadte_NewUpdate(Latest_Ver,Change_log); - //===== - QFile::remove(Github_UpdateInfo); - QFile::remove(Gitee_UpdateInfo); - return 0; + QSettings *configIniRead = new QSettings(Gitee_UpdateInfo_local, QSettings::IniFormat); + configIniRead->setIniCodec(QTextCodec::codecForName("UTF-8")); + Latest_Ver = configIniRead->value("/Latest_Version/Ver").toString(); + QString Change_log = configIniRead->value("/Change_log/log").toString(); + Latest_Ver = Latest_Ver.trimmed(); + if(Latest_Ver!=Current_Ver&&Latest_Ver!="") + { + emit Send_CheckUpadte_NewUpdate(Latest_Ver,Change_log); + //===== + QFile::remove(Github_UpdateInfo_local); + QFile::remove(Gitee_UpdateInfo_local); + return 0; + } } } if(Latest_Ver=="") { emit Send_TextBrowser_NewMessage(tr("Unable to check for updates automatically! Please check your network or check for updates manually.")); } - QFile::remove(Github_UpdateInfo); - QFile::remove(Gitee_UpdateInfo); + QFile::remove(Github_UpdateInfo_local); + QFile::remove(Gitee_UpdateInfo_local); return 0; } /* diff --git a/SRC/Waifu2x-Extension-QT/language_Chinese.qm b/SRC/Waifu2x-Extension-QT/language_Chinese.qm index 8e32ed7fa..00531f788 100644 Binary files a/SRC/Waifu2x-Extension-QT/language_Chinese.qm and b/SRC/Waifu2x-Extension-QT/language_Chinese.qm differ diff --git a/SRC/Waifu2x-Extension-QT/language_Chinese.ts b/SRC/Waifu2x-Extension-QT/language_Chinese.ts index 594d7dd0b..7023799de 100644 --- a/SRC/Waifu2x-Extension-QT/language_Chinese.ts +++ b/SRC/Waifu2x-Extension-QT/language_Chinese.ts @@ -101,12 +101,12 @@ 一直隐藏输入路径 - + When the file processing status changes, the file list scrolls automatically. 当文件的处理状态改变时,文件列表自动滑动. - + File list scrolls automatically 自动滑动文件列表 @@ -115,12 +115,12 @@ Alpha通道图像引擎: - + Report issue 反馈 - + Check update 检查更新 @@ -129,7 +129,7 @@ 说明文档 - + Save settings 保存设置 @@ -143,19 +143,19 @@ ★ 捐赠 ★ - + Run a compatibility test to see which engines your computer is compatible with. 进行兼容性测试以了解您的电脑与哪些引擎兼容. - - + + Compatibility test 兼容性测试 - + Reset settings 重置设置 @@ -354,7 +354,7 @@ display the window, double-click to maximize the window. - + Hide Text Browser 隐藏文本框 @@ -1166,7 +1166,7 @@ Uncheck the [OLD Version] to enable [TTA]. ★★ 捐赠 ★★ - + Wiki 使用教程 @@ -1180,8 +1180,8 @@ Uncheck the [OLD Version] to enable [TTA]. PayPal - - + + When processing video in segments, the length of each video clip. This will determine how much hard disk space the program will occupy when processing video in segments. @@ -1197,17 +1197,37 @@ when processing video in segments. 一直隐藏路径设置 - + Scan sub-folders 扫描子文件夹 - + Interactive file list 可交互文件列表 - + + Starting to download QRCode image(for [Donate] tab) from Github. + 开始从Github下载二维码图片(用于[捐赠]标签页). + + + + Finished to download QRCode image from Github. + 结束从Github下载二维码图片. + + + + Starting to download QRCode image(for [Donate] tab) from Gitee. + 开始从码云下载二维码图片(用于[捐赠]标签页). + + + + Finished to download QRCode image from Gitee. + 结束从码云下载二维码图片. + + + Please donate to support developers, so we can bring further update for this software, thank you! (。・∀・)ノ゙ 请捐赠以支持开发者, 您的支持是我们更新软件的动力, 谢谢您! (。・∀・)ノ゙ @@ -1556,37 +1576,37 @@ increase the time and storage space required to process image. 预处理图片 - + A pop-up window will prompts when an update is detected. 当检测到更新时弹窗提示. - + Update channel: 更新通道: - + Stable 稳定版 - + Beta 测试版 - + Minimize to taskbar 最小化到任务栏 - + Enable Custom Font Settings. 启用自定义字体设置. - + When the alpha channel is detected in the picture, software will automatically force the picture to be saved as PNG. @@ -1596,22 +1616,42 @@ automatically force the picture to be saved as PNG. ★Anime4K 引擎不支持处理Alpha通道.★ - + Compress JPG files. 压缩 JPG 文件. - + + Enable this will stop download anything from Communist China website Gitee. + +If you are in China, due to government banned raw.githubusercontent.com, +enable this will affect auto update. + +For detailed information, please read privacy policy. + 启用本选项后将停止从中国大陆网站码云下载任何数据. + +如果您在中国大陆,由于政府封禁了raw.githubusercontent.com, +启用本选项将影响自动检查更新. + +更多详细信息,请查看隐私政策. + + + + Ban Gitee + 禁止连接码云 + + + Official website 访问官网 - + Open Waifu2x-Extension-GUI online wiki. 打开Waifu2x-Extension-GUI的在线使用说明. - + [Python extension, FFmpeg, FFprobe, ImageMagick, Gifsicle, SoX] must be compatible with your computer, to make sure you can use all functions in this software. And if one of the engines is compatible with your PC, you can use all the functions of this software. @@ -1634,7 +1674,7 @@ waifu2x-caffe [ 速度:★☆ 画质:★★★ ] Realsr-ncnn-vulkan [ 速度:☆ 画质:★★★ ] - + Waifu2x-ncnn-vulkan(Latest) Waifu2x-ncnn-vulkan(最新版) @@ -1704,24 +1744,24 @@ waifu2x-caffe [ 速度:★☆ 画质:★★★ ] 当转换视频到mp4时 - - + + The number of retries when failed to processing a image (or frame). 当处理一个图片(或帧)失败时重试的次数. - + Retry: 重试: - + When adding a folder to the file list, scan the files in the subfolder and add them to the file list. 当向文件列表内添加文件夹时,扫描子文件夹内的文件并一同加入文件列表中. - + Keep video cache after processing the video. 处理完视频后保存缓存. @@ -1730,14 +1770,14 @@ the subfolder and add them to the file list. <html><head/><body><p>压缩 <span style=" font-weight:600;">JPG</span> 图片, 近乎无损.</p></body></html> - + 0(worst quality)~99 We recommend you use the default value(95) 0(画质最差)~99 我们建议您使用默认值(95) - + <html><head/><body><p>Save the scaled image as &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>Images are stored in &quot;<span style=" font-weight:600;">.png</span>&quot; format by default.</p></body></html> <html><head/><body><p>将放大后的图片保存为 &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>默认将图片保存为 &quot;<span style=" font-weight:600;">.png</span>&quot; 格式.</p></body></html> @@ -1752,7 +1792,7 @@ waifu2x-converter引擎来处理图片并强制将图片另存为PNG。 在启用此选项之前,请先确保waifu2x-converter引擎与您的PC兼容. - + Auto detect Alpha channel 自动检测Alpha通道 @@ -1786,12 +1826,12 @@ srmd-ncnn-vulkan [ 速度:★★ 画质:★★★ ] waifu2x-caffe [ 速度:★☆ 画质:★★★ ] - + Engines: 引擎: - + Plugins: 插件: @@ -1881,8 +1921,8 @@ SRMD-ncnn-vulkan 可以同时支持所有图像样式且无需更改设置.Waifu2x-converter - - + + For processing Video. For processing GIF and Video. 用于处理视频. @@ -1978,7 +2018,7 @@ be processed successfully) (无法保证一定能成功处理您自行添加的文件格式) - + Compatibility test results 兼容性测试结果 @@ -2009,7 +2049,7 @@ Anime4k [ 速度:★★★ 画质:★ ] srmd-ncnn-vulkan [ 速度:★☆ 画质:★★★ ] - + For audio denoise(video). 用于给音频降噪(视频). @@ -2032,7 +2072,7 @@ Anime4k [ 速度:★★★ 画质:★ ] srmd-ncnn-vulkan [ 速度:★★ 画质:★★★ ] - + Waifu2x-ncnn-vulkan(OLD) Waifu2x-ncnn-vulkan(旧版本) @@ -2041,17 +2081,17 @@ srmd-ncnn-vulkan [ 速度:★★ 画质:★★★ ] Anime4K(GPU) - - - - - - - - - - - + + + + + + + + + + + Image processing engine. 图像处理引擎。 @@ -2080,8 +2120,8 @@ waifu2x-caffe [ Speed:★ Image Quality:★★★ ] FFprobe - - + + For processing GIF. 用于处理GIF。 @@ -2098,7 +2138,7 @@ waifu2x-caffe [ Speed:★ Image Quality:★★★ ] Anime4K(CPU) - + Essential, for all sorts of functions. 至关重要,用于实现各种功能。 @@ -2270,12 +2310,12 @@ by the software will be used. 启用此功能后,ffmpeg会将原始视频的视频部分直接复制到mp4文件,可能会导致错误。 - + Update popup 更新弹窗 - + Processing video in segments can greatly reduce the hard disk space occupied by processing video. But it will increase the time required to process video. @@ -2291,17 +2331,17 @@ will increase the time required to process video. s - + Segment duration: 视频片段时长: - + Prompt when exit 退出时弹窗 - + Keep video cache 保存视频缓存 @@ -2310,7 +2350,7 @@ will increase the time required to process video. 实验性功能,可以减少处理视频时的硬盘空间占用量. - + Process video by segment 分段处理视频 @@ -2387,24 +2427,24 @@ image quality. 已完成的文件将在下次开始时被重复处理. - + Optimizing the scaled gif will slightly reduce the image quality, but it can reduce the GIF file size. It is recommended to enable this option. 优化放大后的GIF会导致轻微的画质损失,但是可以压缩文件体积. 推荐您启用该功能. - + Optimize ".gif" 优化".gif" - + Custom Font Settings (Restart the software to take effect) 自定义字体设置 (重启软件以生效) - + Custom font size: 自定义字体大小: @@ -2413,12 +2453,12 @@ It is recommended to enable this option. - + Enable 启用 - + Custom font: 自定义字体: @@ -2427,12 +2467,12 @@ It is recommended to enable this option. 语言: - + [Text browser] will be automatically hidden when the software starts. [文本框] 将在软件启动时自动隐藏. - + Always hide Text Browser 一直隐藏文本框 @@ -2441,12 +2481,12 @@ It is recommended to enable this option. 宋体 - + Save Custom Font Settings 保存自定义字体设置 - + Compressed ".jpg" image quality: 压缩后的 ".jpg" 图像质量: @@ -2457,14 +2497,14 @@ We recommend you use the default value(90) 我们建议您使用默认值(90) - - + + About 关于 - - + + We recommend that you restart the software after changing the language for the language settings to fully take effect. 我们建议您在更改语言设置后重启软件 @@ -2477,12 +2517,12 @@ the language for the language settings to fully take effect. (重启本软件以生效) - + Settings will be saved automatically when you close the software. 当您关闭软件时将自动保存设置. - + Auto save settings 自动保存设置 @@ -2495,7 +2535,7 @@ the language for the language settings to fully take effect. 一直隐藏输入路径 - + Aspect Ratio: (Custom resolution) 纵横比: @@ -2512,27 +2552,27 @@ the language for the language settings to fully take effect. 保存 - + Ignore Aspect Ratio 忽略纵横比 - + Keep Aspect Ratio 保持纵横比 - + Keep Aspect Ratio By Expanding 保持纵横比(扩展) - + [Settings] will be automatically hidden when the software starts. [设置] 将会在软件启动时自动隐藏. - + Always hide Settings 一直隐藏设置 @@ -2541,12 +2581,12 @@ the language for the language settings to fully take effect. 捐赠: - + Play Notification sound when all files in the list have been processed. 处理完列表内所有文件后播放提示音. - + Notification sound 提示音 @@ -2555,7 +2595,7 @@ the language for the language settings to fully take effect. 压缩JPG文件,近乎无损. - + Compress ".jpg" 压缩".jpg" @@ -2584,7 +2624,7 @@ the language for the language settings to fully take effect. 将放大后的图片保存为".jpg".(图片默认保存为".png") - + Save as ".jpg" 保存为".jpg" @@ -2598,12 +2638,12 @@ the language for the language settings to fully take effect. 重复处理已完成的文件 - + Output internal Scale and Denoise progress of GIF and video process inside textbrowser. 在Textbrowser内输出视频和GIF的内部放大与降噪进度. - + Show internal progress 显示内部进度 @@ -2858,6 +2898,7 @@ the language for the language settings to fully take effect. + @@ -2879,7 +2920,7 @@ the language for the language settings to fully take effect. - + @@ -2906,8 +2947,8 @@ the language for the language settings to fully take effect. - - + + Adding files, please wait. 添加文件中,请稍等. @@ -2956,10 +2997,10 @@ the language for the language settings to fully take effect. - - - - + + + + @@ -2987,7 +3028,7 @@ Do you wanna update now??? 您想现在更新吗??? - + Unable to check for updates automatically! Please check your network or check for updates manually. 无法自动检查更新!请检查您的网络或者手动检查更新. @@ -3006,18 +3047,38 @@ Do you wanna update now??? 您想现在更新吗??? - - + + Starting to download update information(for auto-check update) from Github. + 开始从Github下载更新信息(用于自动检查更新). + + + + Finished to download update information from Github. + 结束从Github下载更新信息. + + + + Starting to download update information(for auto-check update) from Gitee. + 开始从码云下载更新信息(用于自动检查更新). + + + + Finished to download update information from Gitee. + 结束从码云下载更新信息. + + + + New 检测到 - + update available! 更新! - + New version: %1 Brief change log: @@ -3032,14 +3093,14 @@ Do you wanna update now??? 您想要现在更新吗??? - + - + YES - + update: %1 is available! Click [Check update] button to download the latest version! 更新: %1 ! 点击 [检查更新] 按钮以下载最新版! @@ -3048,25 +3109,25 @@ Do you wanna update now??? 新版本: %1 已经发布! 点击 [检查更新] 按钮以下载最新版本! - - + + - + NO - + Settings saved successfully! 成功保存设置参数! - + Do you really wanna RESET all the settings? 您确定要重置所有设定吗? - + The settings file has been reset, please restart the software manually for the default settings to take effect. 设置配置文件已重置,请手动重启软件以应用默认设置. @@ -3605,7 +3666,7 @@ Do you wanna update now??? - + Show settings 显示设置 @@ -3668,7 +3729,7 @@ Do you wanna update now??? 请稍等,读取文件中. - + Cannot find the saved Files List! 找不到已保存的文件列表! @@ -3744,7 +3805,7 @@ Or do not have sufficient permissions to write files to the output path, you mig Realsr-ncnn-vulkan引擎将自动为图像降噪. - + Custom Font Settings saved successfully. Restart the software to take effect. @@ -3758,14 +3819,14 @@ Restart the software to take effect. 选择文件 - + All file( 所有文件( - - + + Show Text Browser 显示文本框 @@ -3780,52 +3841,52 @@ Restart the software to take effect. 无法加载语言文件. - + Select files 选择文件 - + - Please read the Wiki before starting to use the software. - 正式开始使用本软件前请先阅读 Wiki. - + - If there is a problem with the software font display, you can modify the font in the additional settings. - 如果软件字体显示有问题, 您可以在附加设置内修改字体. - + - This software is free software, if you find anyone selling this software, please report the seller. - 本软件为免费软件, 如果您发现任何人贩售本软件, 请举报贩售者. - + - This software is free and open source, and is is licensed under the GNU Affero General Public License v3.0. All consequences of using this software are borne by the user, and the developer does not bear any responsibility. - 本软件免费开源, 并基于 GNU Affero General Public License v3.0 协议发行, 使用本软件的一切后果均由用户自己承担, 开发者不承担任何责任. - + - If you like this software, please donate to the developer, thank you. - 如果您喜欢本软件, 请向开发者捐赠, 谢谢. - + !!! Tips !!! !!! 必读 !!! - + It is detected that this is the first time you have started the software, so the compatibility test will be performed automatically. Please wait for a while, then check the test result. 检测到这是您第一次启动本软件,因此将自动执行兼容性测试.请稍等片刻,然后查看测试结果. @@ -3862,7 +3923,7 @@ Restart the software to take effect. 未检测到可用处理器! - + Force retry. 强制重试. diff --git a/SRC/Waifu2x-Extension-QT/language_English.ts b/SRC/Waifu2x-Extension-QT/language_English.ts index 7d93f513b..691a63838 100644 --- a/SRC/Waifu2x-Extension-QT/language_English.ts +++ b/SRC/Waifu2x-Extension-QT/language_English.ts @@ -113,50 +113,50 @@ - + 0(worst quality)~99 We recommend you use the default value(95) - + <html><head/><body><p>Save the scaled image as &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>Images are stored in &quot;<span style=" font-weight:600;">.png</span>&quot; format by default.</p></body></html> - - - - - - - - - - - + + + + + + + + + + + Image processing engine. - + Engines: - - + + For processing Video. - - + + For processing GIF. - + [Python extension, FFmpeg, FFprobe, ImageMagick, Gifsicle, SoX] must be compatible with your computer, to make sure you can use all functions in this software. And if one of the engines is compatible with your PC, you can use all the functions of this software. @@ -170,22 +170,42 @@ Realsr-ncnn-vulkan [ Speed:☆ Image Quality:★★★ ] - + Waifu2x-ncnn-vulkan(Latest) - + Plugins: - + For audio denoise(video). - + + Starting to download QRCode image(for [Donate] tab) from Github. + + + + + Finished to download QRCode image from Github. + + + + + Starting to download QRCode image(for [Donate] tab) from Gitee. + + + + + Finished to download QRCode image from Gitee. + + + + Please donate to support developers, so we can bring further update for this software, thank you! (。・∀・)ノ゙ @@ -668,75 +688,75 @@ increase the time and storage space required to process image. - - + + The number of retries when failed to processing a image (or frame). - + When adding a folder to the file list, scan the files in the subfolder and add them to the file list. - + Keep video cache after processing the video. - + Output internal Scale and Denoise progress of GIF and video process inside textbrowser. - + Show internal progress - + Compress ".jpg" - + Official website - + Open Waifu2x-Extension-GUI online wiki. - + Compatibility test results - + Waifu2x-ncnn-vulkan(OLD) - + Essential, for all sorts of functions. - + Save as ".jpg" - + Optimizing the scaled gif will slightly reduce the image quality, but it can reduce the GIF file size. It is recommended to enable this option. - + Optimize ".gif" @@ -746,12 +766,12 @@ It is recommended to enable this option. - + Play Notification sound when all files in the list have been processed. - + Notification sound @@ -776,12 +796,12 @@ It is recommended to enable this option. - + When the file processing status changes, the file list scrolls automatically. - + File list scrolls automatically @@ -877,7 +897,7 @@ Smaller tile size means waifu2x will use less GPU memory and run slower. - + Hide Text Browser @@ -1105,7 +1125,7 @@ Uncheck the [OLD Version] to enable [TTA]. - + Wiki @@ -1115,30 +1135,30 @@ Uncheck the [OLD Version] to enable [TTA]. - - + + When processing video in segments, the length of each video clip. This will determine how much hard disk space the program will occupy when processing video in segments. - + Scan sub-folders - + Interactive file list - + Retry: - + Auto detect Alpha channel @@ -1393,34 +1413,34 @@ by the software will be used. - + Update popup - + Processing video in segments can greatly reduce the hard disk space occupied by processing video. But it will increase the time required to process video. - + Segment duration: - + Prompt when exit - + Keep video cache - + Process video by segment @@ -1513,42 +1533,42 @@ Will improve image quality. - + A pop-up window will prompts when an update is detected. - + Update channel: - + Stable - + Beta - + Minimize to taskbar - + Custom Font Settings (Restart the software to take effect) - + Custom font size: - + Enable Custom Font Settings. @@ -1557,22 +1577,22 @@ Will improve image quality. - + Enable - + Custom font: - + Save Custom Font Settings - + When the alpha channel is detected in the picture, software will automatically force the picture to be saved as PNG. @@ -1580,101 +1600,116 @@ automatically force the picture to be saved as PNG. - + Compress JPG files. - + Compressed ".jpg" image quality: - + [Text browser] will be automatically hidden when the software starts. - + Always hide Text Browser - + + Enable this will stop download anything from Communist China website Gitee. + +If you are in China, due to government banned raw.githubusercontent.com, +enable this will affect auto update. + +For detailed information, please read privacy policy. + + + + + Ban Gitee + + + + Report issue - - + + About - + Settings will be saved automatically when you close the software. - + Auto save settings - + Aspect Ratio: (Custom resolution) - + Ignore Aspect Ratio - + Keep Aspect Ratio - + Keep Aspect Ratio By Expanding - + [Settings] will be automatically hidden when the software starts. - + Always hide Settings - + Check update - + Save settings - + Run a compatibility test to see which engines your computer is compatible with. - - + + Compatibility test - + Reset settings @@ -1722,8 +1757,8 @@ automatically force the picture to be saved as PNG. - - + + We recommend that you restart the software after changing the language for the language settings to fully take effect. @@ -1853,6 +1888,7 @@ the language for the language settings to fully take effect. + @@ -1874,7 +1910,7 @@ the language for the language settings to fully take effect. - + @@ -1901,8 +1937,8 @@ the language for the language settings to fully take effect. - - + + Adding files, please wait. @@ -1947,10 +1983,10 @@ the language for the language settings to fully take effect. - - - - + + + + @@ -1960,23 +1996,43 @@ the language for the language settings to fully take effect. - + + Starting to download update information(for auto-check update) from Github. + + + + + Finished to download update information from Github. + + + + + Starting to download update information(for auto-check update) from Gitee. + + + + + Finished to download update information from Gitee. + + + + Unable to check for updates automatically! Please check your network or check for updates manually. - - + + New - + update available! - + New version: %1 Brief change log: @@ -1986,37 +2042,37 @@ Do you wanna update now??? - + - + YES - + update: %1 is available! Click [Check update] button to download the latest version! - - + + - + NO - + Settings saved successfully! - + Do you really wanna RESET all the settings? - + The settings file has been reset, please restart the software manually for the default settings to take effect. @@ -2523,12 +2579,12 @@ Do you wanna update now??? - + Select files - + It is detected that this is the first time you have started the software, so the compatibility test will be performed automatically. Please wait for a while, then check the test result. @@ -2618,7 +2674,7 @@ Or do not have sufficient permissions to write files to the output path, you mig - + Show settings @@ -2638,62 +2694,62 @@ Or do not have sufficient permissions to write files to the output path, you mig - + Cannot find the saved Files List! - + Custom Font Settings saved successfully. Restart the software to take effect. - + All file( - - + + Show Text Browser - + - Please read the Wiki before starting to use the software. - + - If there is a problem with the software font display, you can modify the font in the additional settings. - + - This software is free software, if you find anyone selling this software, please report the seller. - + - This software is free and open source, and is is licensed under the GNU Affero General Public License v3.0. All consequences of using this software are borne by the user, and the developer does not bear any responsibility. - + - If you like this software, please donate to the developer, thank you. - + !!! Tips !!! @@ -2723,7 +2779,7 @@ Restart the software to take effect. - + Force retry. diff --git a/SRC/Waifu2x-Extension-QT/language_Japanese.qm b/SRC/Waifu2x-Extension-QT/language_Japanese.qm index 7472daeb2..0eef7177e 100644 Binary files a/SRC/Waifu2x-Extension-QT/language_Japanese.qm and b/SRC/Waifu2x-Extension-QT/language_Japanese.qm differ diff --git a/SRC/Waifu2x-Extension-QT/language_Japanese.ts b/SRC/Waifu2x-Extension-QT/language_Japanese.ts index cadc2182a..8e6bd3796 100644 --- a/SRC/Waifu2x-Extension-QT/language_Japanese.ts +++ b/SRC/Waifu2x-Extension-QT/language_Japanese.ts @@ -157,7 +157,7 @@ display the window, double-click to maximize the window. - + Hide Text Browser テキスト ブラウザを非表示にする @@ -167,7 +167,27 @@ display the window, double-click to maximize the window. 寄付する - + + Starting to download QRCode image(for [Donate] tab) from Github. + GithubからQRCode画像([寄付]タブ用)のダウンロードを開始しました。 + + + + Finished to download QRCode image from Github. + GithubからQRCode画像のダウンロードが完了しました。 + + + + Starting to download QRCode image(for [Donate] tab) from Gitee. + GiteeからQRCode画像([寄付]タブ用)のダウンロードを開始します。 + + + + Finished to download QRCode image from Gitee. + GiteeからQRCode画像のダウンロードが完了しました。 + + + Please donate to support developers, so we can bring further update for this software, thank you! (。・∀・)ノ゙ 開発者をサポートするために寄付してください。そうすれば、このソフトウェアの更なるアップデートをもたらすことができます、ありがとう! (。・∀・)ノ゙ @@ -336,19 +356,19 @@ When this option is enabled, alpha channel (ransparent images)support will be lo このオプションを有効にすると、アルファ チャンネル (ransparent イメージ) のサポートは失われます。 - + Save as ".jpg" 「.jpg」として保存 - + Optimizing the scaled gif will slightly reduce the image quality, but it can reduce the GIF file size. It is recommended to enable this option. 拡大縮小されたgifを最適化すると、画像の品質はわずかに低下しますが、GIFファイルのサイズは小さくなります。 このオプションを有効にすることをお勧めします。 - + Optimize ".gif" 「.gif」を最適化する @@ -369,27 +389,27 @@ It is recommended to enable this option. JPGファイルをほとんどロスレスで圧縮します。 - + Compress ".jpg" 「.jpg」を圧縮 - + Play Notification sound when all files in the list have been processed. リスト内のすべてのファイルが処理されたときに通知音を再生します。 - + Notification sound 通知音 - + Output internal Scale and Denoise progress of GIF and video process inside textbrowser. テキストブラウザー内のGIFおよびビデオプロセスの内部スケールおよびノイズ除去の進行状況を出力します。 - + Show internal progress 内部の進捗状況を表示する @@ -961,12 +981,12 @@ waifu2x-converterのみがアルファチャネルをサポートします。 古いバージョン - + Update popup ポップアップを更新 - + Processing video in segments can greatly reduce the hard disk space occupied by processing video. But it will increase the time required to process video. @@ -983,17 +1003,17 @@ will increase the time required to process video. s - + Segment duration: ビデオクリップの長さ: - + Prompt when exit 終了時にプロンプト - + Keep video cache ビデオキャッシュを保持する @@ -1002,7 +1022,7 @@ will increase the time required to process video. 実験的な機能は、ビデオを処理するときのハードディスク領域の占有を減らすことができます。 - + Process video by segment セグメントごとにビデオを処理する @@ -1372,24 +1392,24 @@ Uncheck the [OLD Version] to enable [TTA]. ★★ 寄付 ★★ - + Run a compatibility test to see which engines your computer is compatible with. 互換性テストを実行して、コンピューターが互換性のあるエンジンを確認します。 - - + + Compatibility test 互換性テスト - + Wiki Wiki - + Check update 更新を確認する @@ -1407,23 +1427,23 @@ Uncheck the [OLD Version] to enable [TTA]. Readme - - + + About について - + Report issue 問題を報告する - + Save settings 設定を保存する - + Reset settings 設定をリセット @@ -1445,28 +1465,28 @@ Uncheck the [OLD Version] to enable [TTA]. 更新を自動的に確認する - + When the file processing status changes, the file list scrolls automatically. ファイル処理ステータスが変更されると、ファイルリストが自動的にスクロールします。 - + File list scrolls automatically ファイルリストは自動的にスクロールします - + Settings will be saved automatically when you close the software. ソフトウェアを閉じると、設定は自動的に保存されます。 - + Auto save settings 自動保存設定 - - + + When processing video in segments, the length of each video clip. This will determine how much hard disk space the program will occupy when processing video in segments. @@ -1483,43 +1503,43 @@ when processing video in segments. パス設定を常に非表示にする - + [Text browser] will be automatically hidden when the software starts. [テキストブラウザ]は、ソフトウェアの起動時に自動的に非表示になります。 - + Always hide Text Browser テキストブラウザを常に非表示にする - + [Settings] will be automatically hidden when the software starts. [設定]は、ソフトウェアの起動時に自動的に非表示になります。 - + Always hide Settings 設定を常に非表示にする - + Scan sub-folders サブフォルダーをスキャンする - + Interactive file list インタラクティブファイルリスト - + Retry: リトライ: - - + + We recommend that you restart the software after changing the language for the language settings to fully take effect. 変更後にソフトウェアを再起動することをお勧めします @@ -1530,12 +1550,12 @@ the language for the language settings to fully take effect. 言語: - + Compressed ".jpg" image quality: 圧縮された「.jpg」画像品質: - + Aspect Ratio: (Custom resolution) アスペクト比: @@ -1565,8 +1585,8 @@ the language for the language settings to fully take effect. Waifu2x-converter - - + + For processing Video. For processing GIF and Video. ビデオの処理用。 @@ -1655,17 +1675,17 @@ be processed successfully) 正常に処理される) - + Ignore Aspect Ratio アスペクト比を無視 - + Keep Aspect Ratio アスペクト比を維持 - + Keep Aspect Ratio By Expanding 拡大してアスペクト比を維持 @@ -1688,7 +1708,7 @@ waifu2x-converterエンジンに互換性があることを確認してくださ このオプションを有効にする前に、PCを使用してください。 - + Auto detect Alpha channel アルファチャネルを自動検出 @@ -1697,7 +1717,7 @@ waifu2x-converterエンジンに互換性があることを確認してくださ アルファチャネルのエンジン: - + Compatibility test results 互換性テストの結果 @@ -1728,7 +1748,7 @@ Anime4k [速度:★★★ 画質:★] srmd-ncnn-vulkan [速度:★☆ 画質:★★★] - + For audio denoise(video). オーディオのノイズ除去(ビデオ)。 @@ -1751,7 +1771,7 @@ Anime4k [ 速度:★★★ 画質:★ ] srmd-ncnn-vulkan [ 速度:★★ 画質:★★★ ] - + Waifu2x-ncnn-vulkan(OLD) Waifu2x-ncnn-vulkan(古いバージョン) @@ -1760,17 +1780,17 @@ srmd-ncnn-vulkan [ 速度:★★ 画質:★★★ ] Anime4K(GPU) - - - - - - - - - - - + + + + + + + + + + + Image processing engine. 画像処理エンジン。 @@ -1799,8 +1819,8 @@ waifu2x-caffe [速度:★ 画質:★★★] FFprobe - - + + For processing GIF. GIFの処理用。 @@ -1817,7 +1837,7 @@ waifu2x-caffe [速度:★ 画質:★★★] Anime4K(CPU) - + Essential, for all sorts of functions. あらゆる種類の機能に不可欠です。 @@ -2384,37 +2404,37 @@ increase the time and storage space required to process image. 前処理画像 - + A pop-up window will prompts when an update is detected. 更新が検出されると、ポップアップウィンドウが表示されます。 - + Update channel: チャンネルを更新: - + Stable 安定 - + Beta ベータ - + Minimize to taskbar タスクバーに最小化 - + Enable Custom Font Settings. カスタムフォント設定を有効にします。 - + When the alpha channel is detected in the picture, software will automatically force the picture to be saved as PNG. @@ -2425,22 +2445,42 @@ automatically force the picture to be saved as PNG. ★Anime4Kエンジンはアルファチャネルをサポートしていません。★ - + Compress JPG files. JPGファイルを圧縮します。 - + + Enable this will stop download anything from Communist China website Gitee. + +If you are in China, due to government banned raw.githubusercontent.com, +enable this will affect auto update. + +For detailed information, please read privacy policy. + これを有効にすると、共産主義中国のウェブサイトGiteeからのダウンロードが停止します。 + +中国にいる場合、政府がraw.githubusercontent.comを禁止したため、 +これを有効にすると、自動更新に影響します。 + +詳しくはプライバシーポリシーをご覧ください。 + + + + Ban Gitee + 禁止Gitee + + + Official website 公式ウェブサイト - + Open Waifu2x-Extension-GUI online wiki. Waifu2x-Extension-GUIオンラインwikiを開きます。 - + [Python extension, FFmpeg, FFprobe, ImageMagick, Gifsicle, SoX] must be compatible with your computer, to make sure you can use all functions in this software. And if one of the engines is compatible with your PC, you can use all the functions of this software. @@ -2463,7 +2503,7 @@ waifu2x-caffe [速度:★☆ 画質:★★★] Realsr-ncnn-vulkan [速度:☆ 画質:★★★] - + Waifu2x-ncnn-vulkan(Latest) Waifu2x-ncnn-vulkan(最新バージョン) @@ -2520,30 +2560,30 @@ waifu2x-caffe [速度:★☆ 画質:★★★] PCに対応しています。 - - + + The number of retries when failed to processing a image (or frame). 画像(またはフレーム)の処理に失敗した場合の再試行回数. - + When adding a folder to the file list, scan the files in the subfolder and add them to the file list. フォルダをファイルリストに追加する場合は、サブフォルダ 内のファイルをスキャンして、ファイルリストに追加します。 - + Keep video cache after processing the video. ビデオの処理後もビデオキャッシュを保持します。 - + Custom Font Settings (Restart the software to take effect) カスタムフォント設定(ソフトウェアを再起動して有効にします) - + Custom font size: カスタムフォントサイズ: @@ -2552,17 +2592,17 @@ the subfolder and add them to the file list. - + Enable 有効にする - + Custom font: カスタムフォント: - + Save Custom Font Settings カスタムフォント設定を保存 @@ -2571,14 +2611,14 @@ the subfolder and add them to the file list. ほぼ無損失のJPGファイルを圧縮します. - + 0(worst quality)~99 We recommend you use the default value(95) 0(最低品質)〜99 デフォルト値(95)を使用することをお勧めします - + <html><head/><body><p>Save the scaled image as &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>Images are stored in &quot;<span style=" font-weight:600;">.png</span>&quot; format by default.</p></body></html> スケーリングした画像を「.jpg」という名前で保存します。 画像はデフォルトで「.png」形式で保存されます。 @@ -2613,12 +2653,12 @@ srmd-ncnn-vulkan [ 速度:★☆ 画質:★★★ ] waifu2x-caffe [ 速度:★☆ 画質:★★★ ] - + Engines: エンジン: - + Plugins: プラグイン: @@ -3172,6 +3212,7 @@ by the software will be used. + @@ -3192,7 +3233,7 @@ by the software will be used. - + @@ -3230,7 +3271,7 @@ Do you wanna update now??? 今すぐ更新しますか??? - + Unable to check for updates automatically! Please check your network or check for updates manually. 更新を自動的に確認できません! ネットワークを確認するか、更新を手動で確認してください。 @@ -3249,18 +3290,38 @@ Do you wanna update now??? 今すぐ更新しますか? - - + + Starting to download update information(for auto-check update) from Github. + Githubからアップデート情報(オートチェックアップデート用)のダウンロードを開始しました。 + + + + Finished to download update information from Github. + Githubから更新情報のダウンロードが完了しました。 + + + + Starting to download update information(for auto-check update) from Gitee. + Giteeから更新情報(自動チェック更新用)のダウンロードを開始します。 + + + + Finished to download update information from Gitee. + Giteeから更新情報のダウンロードが完了しました。 + + + + New 新しい - + update available! 更新が利用可能です! - + New version: %1 Brief change log: @@ -3275,14 +3336,14 @@ Do you wanna update now??? 今すぐ更新しますか??? - + - + YES はい - + update: %1 is available! Click [Check update] button to download the latest version! 更新: %1 が利用可能です! [アップデート確認]ボタンをクリックして最新版をダウンロードしてください! @@ -3291,18 +3352,18 @@ Do you wanna update now??? 新しいバージョン: %1 が利用可能です! [更新状況を確認して]ボタンをクリックして最新版をダウンロード! - - + + - + NO いいえ - - + + Adding files, please wait. ファイルを追加しています。しばらくお待ちください。 @@ -3351,10 +3412,10 @@ Do you wanna update now??? - - - - + + + + @@ -3436,7 +3497,7 @@ Or do not have sufficient permissions to write files to the output path, you mig 言語ファイルを正しく読み込めません。 - + Custom Font Settings saved successfully. Restart the software to take effect. @@ -3535,7 +3596,7 @@ Otherwise, this software may not work properly. - + Show settings 設定を表示 @@ -3563,7 +3624,7 @@ Otherwise, this software may not work properly. ファイルの読み取り中にお待ちください。 - + Cannot find the saved Files List! 保存されたファイルリストが見つかりません! @@ -3605,64 +3666,64 @@ If you like the software, please donate to support the developers to ensure the ファイルを選択 - + All file( すべてのファイル( - - + + Show Text Browser テキストブラウザを表示 - + Select files ファイルを選択 - + - Please read the Wiki before starting to use the software. - ソフトウェアを使用する前にWikiをお読みください。 - + - If there is a problem with the software font display, you can modify the font in the additional settings. - ソフトウェアのフォント表示に問題がある場合は、追加設定でフォントを変更できます。 - + - This software is free software, if you find anyone selling this software, please report the seller. - このソフトウェアはフリーソフトウェアです。このソフトウェアを販売している人を見つけた場合は、販売者に報告してください。 - + - This software is free and open source, and is is licensed under the GNU Affero General Public License v3.0. All consequences of using this software are borne by the user, and the developer does not bear any responsibility. - このソフトウェアは無料でオープンソースであり、GNU Affero General Public License v3.0の下でライセンスされています。 このソフトウェアを使用した結果はすべてユーザーが負担し、開発者は一切の責任を負いません。 - + - If you like this software, please donate to the developer, thank you. - このソフトウェアが気に入ったら、開発者に寄付してください、ありがとう。 - + !!! Tips !!! !!! プロンプト !!! - + It is detected that this is the first time you have started the software, so the compatibility test will be performed automatically. Please wait for a while, then check the test result. ソフトウェアを初めて起動したことが検出されたため、互換性テストが自動的に実行されます。 しばらく待ってから、テスト結果を確認してください。 @@ -3716,22 +3777,22 @@ If you like the software, please donate to support the developers to ensure the 利用可能なプロセッサが検出されません! - + Force retry. 強制的に再試行します。 - + Settings saved successfully! 設定が正常に保存されました! - + Do you really wanna RESET all the settings? 本当にすべての設定をリセットしますか? - + The settings file has been reset, please restart the software manually for the default settings to take effect. 設定ファイルがリセットされました。デフォルト設定を有効にするには、ソフトウェアを手動で再起動してください。 diff --git a/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.qm b/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.qm index 0bb979e39..586615264 100644 Binary files a/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.qm and b/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.qm differ diff --git a/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.ts b/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.ts index 5bd86beee..82caeaf70 100644 --- a/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.ts +++ b/SRC/Waifu2x-Extension-QT/language_TraditionalChinese.ts @@ -101,22 +101,22 @@ 一律隱藏輸入路徑 - + When the file processing status changes, the file list scrolls automatically. 當文件的處理狀態改變時,文件列表自動滑動. - + File list scrolls automatically 自動滑動文件列表 - + Enable Custom Font Settings. 啟用自定義字體設定. - + When the alpha channel is detected in the picture, software will automatically force the picture to be saved as PNG. @@ -126,17 +126,37 @@ automatically force the picture to be saved as PNG. ★Anime4K 引擎不支持處理Alpha通道.★ - + Compress JPG files. 壓縮 JPG 文件. - + + Enable this will stop download anything from Communist China website Gitee. + +If you are in China, due to government banned raw.githubusercontent.com, +enable this will affect auto update. + +For detailed information, please read privacy policy. + 啟用本選項後將停止從中國大陸網站碼雲下載任何數據。 + +如果您在中國大陸,由於政府封禁了raw.githubusercontent.com, +啟用本選項將影響自動檢查更新。 + +更多詳細信息,請查看隱私政策。 + + + + Ban Gitee + 禁止連接碼雲 + + + Report issue 反饋 - + Check update 檢查更新 @@ -145,7 +165,7 @@ automatically force the picture to be saved as PNG. 說明文檔 - + Save settings 保存設定 @@ -159,19 +179,19 @@ automatically force the picture to be saved as PNG. ★ 捐贈 ★ - + Run a compatibility test to see which engines your computer is compatible with. 進行兼容性測試以了解您的電腦與所有引擎的兼容性. - - + + Compatibility test 兼容性測試 - + Reset settings 重置設定 @@ -370,7 +390,7 @@ display the window, double-click to maximize the window. - + Hide Text Browser 隱藏文本框 @@ -742,19 +762,19 @@ waifu2x-caffe [ 速度:★☆ 畫質:★★★ ] 您可以運行兼容性測試以知悉您的PC與哪些引擎兼容. - - + + The number of retries when failed to processing a image (or frame). 當處理一個圖片(或幀)失敗時重試的次數. - + When adding a folder to the file list, scan the files in the subfolder and add them to the file list. 當向文件列表內添加文件夾時,掃描子文件夾內的文件並一同加入文件列表中. - + Keep video cache after processing the video. 處理完視頻後保存緩存. @@ -763,14 +783,14 @@ the subfolder and add them to the file list. <html><head/><body><p>壓縮 <span style=" font-weight:600;">JPG</span> 圖片, 近乎無損.</p></body></html> - + 0(worst quality)~99 We recommend you use the default value(95) 0(畫質最差)~99 我們建議您使用預設值(95) - + <html><head/><body><p>Save the scaled image as &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>Images are stored in &quot;<span style=" font-weight:600;">.png</span>&quot; format by default.</p></body></html> <html><head/><body><p>將放大後的圖片保存為 &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>默認將圖片保存為 &quot;<span style=" font-weight:600;">.png</span>&quot; 格式.</p></body></html> @@ -779,12 +799,12 @@ We recommend you use the default value(95) Alpha通道圖像引擎: - + Compatibility test results 兼容性測試結果 - + [Python extension, FFmpeg, FFprobe, ImageMagick, Gifsicle, SoX] must be compatible with your computer, to make sure you can use all functions in this software. And if one of the engines is compatible with your PC, you can use all the functions of this software. @@ -807,17 +827,17 @@ waifu2x-caffe [ 速度:★☆ 畫質:★★★ ] Realsr-ncnn-vulkan [ 速度:☆ 畫質:★★★ ] - + Waifu2x-ncnn-vulkan(Latest) Waifu2x-ncnn-vulkan(最新版) - + Engines: 引擎: - + Plugins: 外掛程式: @@ -836,7 +856,7 @@ Anime4k [ 速度:★★★ 畫質:★ ] srmd-ncnn-vulkan [ 速度:★★ 畫質:★★★ ] - + Waifu2x-ncnn-vulkan(OLD) Waifu2x-ncnn-vulkan(舊版本) @@ -853,7 +873,7 @@ srmd-ncnn-vulkan [ 速度:★★ 畫質:★★★ ] Anime4K(CPU) - + Essential, for all sorts of functions. 至關重要,用於實現各種功能。 @@ -1099,7 +1119,7 @@ Uncheck the [OLD Version] to enable [TTA]. ★★ 捐贈 ★★ - + Wiki 使用教程 @@ -1113,8 +1133,8 @@ Uncheck the [OLD Version] to enable [TTA]. PayPal - - + + When processing video in segments, the length of each video clip. This will determine how much hard disk space the program will occupy when processing video in segments. @@ -1130,17 +1150,37 @@ when processing video in segments. 一律隱藏路徑設置 - + Scan sub-folders 掃描子文件夾 - + Interactive file list 可交互文件列表 - + + Starting to download QRCode image(for [Donate] tab) from Github. + 開始從Github下載二維碼圖片(用於[捐贈]標籤頁). + + + + Finished to download QRCode image from Github. + 結束從Github下載二維碼圖片. + + + + Starting to download QRCode image(for [Donate] tab) from Gitee. + 開始從碼雲下載二維碼圖片(用於[捐贈]標籤頁). + + + + Finished to download QRCode image from Gitee. + 結束從碼雲下載二維碼圖片. + + + Please donate to support developers, so we can bring further update for this software, thank you! (。・∀・)ノ゙ 請捐贈以支持開發者, 您的支持是我們更新軟件的動力, 謝謝您! (。・∀・)ノ゙ @@ -1278,7 +1318,7 @@ increase the time and storage space required to process image. 預處理圖片 - + Retry: 重試: @@ -1293,7 +1333,7 @@ waifu2x-converter引擎來處理圖片並強制將圖片另存為PNG. 在啟用此選項之前,請先確保waifu2x-converter引擎與您的PC兼容. - + Auto detect Alpha channel 自動檢測Alpha通道 @@ -1721,37 +1761,37 @@ the number of threads must >= the number of GPUs. 那麼線程數量必須大於等於可用顯卡數量. - + A pop-up window will prompts when an update is detected. 當檢測到更新時彈窗提示. - + Update channel: 更新頻道: - + Stable 穩定版 - + Beta 測試版 - + Minimize to taskbar 最小化到任務欄 - + Official website 訪問官網 - + Open Waifu2x-Extension-GUI online wiki. 打開Waifu2x-Extension-GUI的在線使用說明. @@ -1931,23 +1971,23 @@ srmd-ncnn-vulkan [ 速度:★★ 畫質:★★★ ] waifu2x-caffe [ 速度:★☆ 畫質:★★★ ] - - - - - - - - - - - + + + + + + + + + + + Image processing engine. 圖像處理引擎。 - - + + For processing Video. 用於處理視頻。 @@ -1956,8 +1996,8 @@ waifu2x-caffe [ 速度:★☆ 畫質:★★★ ] FFprobe - - + + For processing GIF. 用於處理GIF。 @@ -2004,7 +2044,7 @@ Anime4k [ 速度:★★★ 畫質:★ ] srmd-ncnn-vulkan [ 速度:★☆ 畫質:★★★ ] - + For audio denoise(video). 用於給音頻降噪(視頻). @@ -2255,12 +2295,12 @@ by the software will be used. 啟用此功能後,ffmpeg會將原始視頻的視頻部分直接複製到mp4文件,可能會導致錯誤。 - + Update popup 更新彈窗 - + Processing video in segments can greatly reduce the hard disk space occupied by processing video. But it will increase the time required to process video. @@ -2276,17 +2316,17 @@ will increase the time required to process video. s - + Segment duration: 影片分段時長: - + Prompt when exit 退出時提醒 - + Keep video cache 保存影片緩存 @@ -2295,7 +2335,7 @@ will increase the time required to process video. 實驗性功能,可以減少處理影片時的硬盤空間佔用量. - + Process video by segment 分段處理影片 @@ -2373,24 +2413,24 @@ image quality. 已完成的文件將在下次開始時被重複處理. - + Optimizing the scaled gif will slightly reduce the image quality, but it can reduce the GIF file size. It is recommended to enable this option. 優化放大後的GIF會導致輕微的畫質損失,但是可以壓縮文件體積. 推薦您啟用該功能. - + Optimize ".gif" 优化".gif" - + Custom Font Settings (Restart the software to take effect) 自定義字體設定 (重啟軟件以生效) - + Custom font size: 自定義字體大小: @@ -2399,12 +2439,12 @@ It is recommended to enable this option. - + Enable 啟用 - + Custom font: 自定義字體: @@ -2413,12 +2453,12 @@ It is recommended to enable this option. 語言: - + [Text browser] will be automatically hidden when the software starts. [文本框] 將在軟件啟動時自動隱藏. - + Always hide Text Browser 一律隱藏文本框 @@ -2427,12 +2467,12 @@ It is recommended to enable this option. 宋体 - + Save Custom Font Settings 保存自定義字體設定 - + Compressed ".jpg" image quality: 压缩后的 ".jpg" 畫面質量: @@ -2443,14 +2483,14 @@ We recommend you use the default value(90) 我們建議您使用預設值(90) - - + + About 關於 - - + + We recommend that you restart the software after changing the language for the language settings to fully take effect. 我們建議您在更改語言設定後重啟軟件 @@ -2463,12 +2503,12 @@ the language for the language settings to fully take effect. (重啟本軟件以生效) - + Settings will be saved automatically when you close the software. 當您關閉軟件時將自動保存設定. - + Auto save settings 自動保存設定 @@ -2481,7 +2521,7 @@ the language for the language settings to fully take effect. 一律隱藏輸入路徑 - + Aspect Ratio: (Custom resolution) 纵横比: @@ -2498,27 +2538,27 @@ the language for the language settings to fully take effect. 保存 - + Ignore Aspect Ratio 忽略長寬比 - + Keep Aspect Ratio 保持長寬比 - + Keep Aspect Ratio By Expanding 保持長寬比(擴展) - + [Settings] will be automatically hidden when the software starts. [設定] 將會在軟件啟動時自動隱藏. - + Always hide Settings 一律隱藏輸入路徑 @@ -2527,12 +2567,12 @@ the language for the language settings to fully take effect. 捐贈: - + Play Notification sound when all files in the list have been processed. 處理完列表內所有文件後播放提示音. - + Notification sound 提示音 @@ -2541,7 +2581,7 @@ the language for the language settings to fully take effect. 壓縮JPG文件,近乎無損. - + Compress ".jpg" 壓縮".jpg" @@ -2570,7 +2610,7 @@ the language for the language settings to fully take effect. 將放大後的圖片保存為".jpg".(圖片默認保存為".png") - + Save as ".jpg" 保存為".jpg" @@ -2584,12 +2624,12 @@ the language for the language settings to fully take effect. 重複處理已完成的文件 - + Output internal Scale and Denoise progress of GIF and video process inside textbrowser. 在Textbrowser內輸出影片和GIF的內部放大與降噪進度. - + Show internal progress 顯示內部進度 @@ -2844,6 +2884,7 @@ the language for the language settings to fully take effect. + @@ -2865,7 +2906,7 @@ the language for the language settings to fully take effect. - + @@ -2892,8 +2933,8 @@ the language for the language settings to fully take effect. - - + + Adding files, please wait. 添加文件中,請稍等. @@ -2942,10 +2983,10 @@ the language for the language settings to fully take effect. - - - - + + + + @@ -2973,7 +3014,7 @@ Do you wanna update now??? 您想要現在更新嗎??? - + Unable to check for updates automatically! Please check your network or check for updates manually. 無法自動檢查更新!請檢查您的網絡或者手動檢查更新. @@ -2992,18 +3033,38 @@ Do you wanna update now??? 您想現在更新嗎??? - - + + Starting to download update information(for auto-check update) from Github. + 開始從Github下載更新信息(用於自動檢查更新). + + + + Finished to download update information from Github. + 結束從Github下載更新信息. + + + + Starting to download update information(for auto-check update) from Gitee. + 開始從碼雲下載更新信息(用於自動檢查更新). + + + + Finished to download update information from Gitee. + 結束從碼雲下載更新信息. + + + + New 檢測到 - + update available! 更新! - + New version: %1 Brief change log: @@ -3018,14 +3079,14 @@ Do you wanna update now??? 您想要現在更新嗎??? - + - + YES - + update: %1 is available! Click [Check update] button to download the latest version! 更新: %1 ! 點擊 [檢查更新] 按鈕以下載最新版! @@ -3034,25 +3095,25 @@ Do you wanna update now??? 新版本: %1 已經發布! 點擊 [檢查更新] 按鈕以下載最新版本! - - + + - + NO - + Settings saved successfully! 成功保存設置參數! - + Do you really wanna RESET all the settings? 您確定要重置所有設定嗎? - + The settings file has been reset, please restart the software manually for the default settings to take effect. 設置配置文件已重置,請手動重啟軟件以應用默認設置. @@ -3591,7 +3652,7 @@ Do you wanna update now??? - + Show settings 顯示設定 @@ -3654,7 +3715,7 @@ Do you wanna update now??? 請稍等,讀取文件中. - + Cannot find the saved Files List! 找不到已保存的文件列表! @@ -3726,7 +3787,7 @@ Or do not have sufficient permissions to write files to the output path, you mig Realsr-ncnn-vulkan引擎將自動為圖像降噪. - + Custom Font Settings saved successfully. Restart the software to take effect. @@ -3740,14 +3801,14 @@ Restart the software to take effect. 選擇文件 - + All file( 所有文件( - - + + Show Text Browser 顯示文本框 @@ -3762,52 +3823,52 @@ Restart the software to take effect. 無法加載語言文件. - + Select files 選擇文件 - + - Please read the Wiki before starting to use the software. - 正式開始使用本軟件前請先閱讀 Wiki. - + - If there is a problem with the software font display, you can modify the font in the additional settings. - 如果軟件字體顯示有問題, 您可以在附加設置內修改字體. - + - This software is free software, if you find anyone selling this software, please report the seller. - 本軟件為免費軟件, 如果您發現任何人販售本軟件, 請舉報販售者. - + - This software is free and open source, and is is licensed under the GNU Affero General Public License v3.0. All consequences of using this software are borne by the user, and the developer does not bear any responsibility. - 本軟件免費開源, 並基於 GNU Affero General Public License v3.0 協議發行, 使用本軟件的一切後果均由用戶自己承擔, 開發者不承擔任何責任. - + - If you like this software, please donate to the developer, thank you. - 如果您喜歡本軟件, 請向開發者捐贈, 謝謝. - + !!! Tips !!! !!! 必讀 !!! - + It is detected that this is the first time you have started the software, so the compatibility test will be performed automatically. Please wait for a while, then check the test result. 檢測到這是您第一次啟動本軟件,因此將自動執行兼容性測試.請稍等片刻,然後查看測試結果. @@ -3844,7 +3905,7 @@ Restart the software to take effect. 未檢測到可用處理器! - + Force retry. 強制重試. diff --git a/SRC/Waifu2x-Extension-QT/main.cpp b/SRC/Waifu2x-Extension-QT/main.cpp index fc6bd9514..77178485f 100644 --- a/SRC/Waifu2x-Extension-QT/main.cpp +++ b/SRC/Waifu2x-Extension-QT/main.cpp @@ -34,11 +34,21 @@ int main(int argc, char *argv[]) /* Brief change log: - 新特性:[添加文件]按钮支持选中并添加多个文件. -- 更新ImageMagick. +- 新特性:加入[禁止Gitee]选项,启用本选项将禁止本软件从码云下载文件. +- 更新ImageMagick,Python扩展. - 性能优化. - 修复多个bug. ---------------------------- Detailed change log: +v2.53.02-beta: +- 新特性:加入[禁止Gitee]选项,启用本选项将禁止本软件从码云下载文件.(可能影响自动检查更新) +- 性能优化,减少对python扩展的多余调用. +- 在文本框内展示当前正在进行的联网活动. +- 更新Python扩展,优化性能. +- 将[找不到已保存的文件列表]的提示改为弹窗展示. +- 更改檢查更新按鈕的網頁打開順序,以及不再跳轉到latest release頁面而是release頁面. +- 為所有插件和引擎添加對應的許可協議文件. +- 添加隐私政策的本地文件 v2.53.01-beta: - 新特性:[添加文件]按钮支持选中并添加多个文件. - 性能优化. diff --git a/SRC/Waifu2x-Extension-QT/mainwindow.cpp b/SRC/Waifu2x-Extension-QT/mainwindow.cpp index 06d0b3bc2..af74c1e64 100644 --- a/SRC/Waifu2x-Extension-QT/mainwindow.cpp +++ b/SRC/Waifu2x-Extension-QT/mainwindow.cpp @@ -1133,7 +1133,12 @@ void MainWindow::on_pushButton_ReadFileList_clicked() } else { - Send_TextBrowser_NewMessage(tr("Cannot find the saved Files List!")); + QMessageBox *MSG_FileList404 = new QMessageBox(); + MSG_FileList404->setWindowTitle(tr("Error")); + MSG_FileList404->setText(tr("Cannot find the saved Files List!")); + MSG_FileList404->setIcon(QMessageBox::Warning); + MSG_FileList404->setModal(true); + MSG_FileList404->show(); } } diff --git a/SRC/Waifu2x-Extension-QT/mainwindow.h b/SRC/Waifu2x-Extension-QT/mainwindow.h index e9b9b122d..fa4eab8fc 100644 --- a/SRC/Waifu2x-Extension-QT/mainwindow.h +++ b/SRC/Waifu2x-Extension-QT/mainwindow.h @@ -75,7 +75,7 @@ class MainWindow : public QMainWindow MainWindow(QWidget *parent = nullptr); void changeEvent(QEvent *e); //======================= - QString VERSION = "v2.53.01-beta";//软件版本号 + QString VERSION = "v2.53.02-beta";//软件版本号 bool isBetaVer = true; QString LastStableVer = "v2.52.16"; //======================= diff --git a/SRC/Waifu2x-Extension-QT/mainwindow.ui b/SRC/Waifu2x-Extension-QT/mainwindow.ui index 9719c7e15..f3a3f39c9 100644 --- a/SRC/Waifu2x-Extension-QT/mainwindow.ui +++ b/SRC/Waifu2x-Extension-QT/mainwindow.ui @@ -4725,217 +4725,206 @@ increase the time and storage space required to process image. - - + + - + Custom Font Settings (Restart the software to take effect) - - - - - Output internal Scale and Denoise progress of GIF and video process inside textbrowser. - + + + - Show internal progress + Custom font size: - - true + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - - When processing video in segments, the length of each video clip. -This will determine how much hard disk space the program will occupy -when processing video in segments. - - - s + + + + Custom font: - - + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - 1 + + + + + + + 16777215 + 16777215 + - - 999999999 + + QPushButton{ +background-color: rgb(26, 188, 156); +color: rgb(255, 255, 255); +border-style:outset; +border-radius:8px; +padding:10px; +} +QPushButton:hover{ +background-color: rgb(29, 214, 177); +color: rgb(255, 255, 255); +border-style:outset; +border-radius:8px; +padding:10px; +} +QPushButton:pressed{ +background-color: rgb(23, 173, 143); +color: rgb(255, 255, 255); +border-style:outset; +border-radius:8px; +padding:10px; +} +QPushButton:disabled{ +background-color: rgb(166, 166, 166); +color: rgb(255, 255, 255); +border-style:outset; +border-radius:8px; +padding:10px; +} - - 10 + + Save Custom Font Settings - - - - The number of retries when failed to processing a image (or frame). + + + + + 16777215 + 16777215 + 1 - 999999999 + 999 - 5 + 15 - - - - Processing video in segments can greatly reduce the -hard disk space occupied by processing video. But it -will increase the time required to process video. - - - Process video by segment + + + + 宋体 - - true + + + 宋体 + - - + + - Play Notification sound when all files in the list have been processed. - - - Notification sound - - - true + Enable Custom Font Settings. - - - - - Interactive file list - - - false + Enable - - + + + + + + + + + + + - When processing video in segments, the length of each video clip. -This will determine how much hard disk space the program will occupy -when processing video in segments. + <html><head/><body><p>Save the scaled image as &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>Images are stored in &quot;<span style=" font-weight:600;">.png</span>&quot; format by default.</p></body></html> - Segment duration: + Save as ".jpg" - - - - Minimize to taskbar + + + + false - - - - - [Settings] will be automatically hidden when the software starts. + Compress JPG files. - Always hide Settings + Compress ".jpg" - - - - - 280 - 0 - - - - <html><head/><body><p><img src=":/new/prefix1/OtherPic/AspectRatioStrategy.jpg"/></p></body></html> - - - 1 + + + + Compressed ".jpg" image quality: - - - Ignore Aspect Ratio - - - - - Keep Aspect Ratio - - - - - Keep Aspect Ratio By Expanding - - - - - - - 16777215 - 16777215 - - + + - We recommend that you restart the software after changing -the language for the language settings to fully take effect. - - - Language: + When the alpha channel is detected in the picture, software will +automatically force the picture to be saved as PNG. + +★Anime4K engine does NOT supports alpha channel.★ - - - - - Prompt when exit + Auto detect Alpha channel true - - + + - Keep video cache after processing the video. + 0(worst quality)~99 +We recommend you use the default value(95) - - Keep video cache + + 0 - - false + + 95 - - + + - Settings will be saved automatically when you close the software. + Optimizing the scaled gif will slightly reduce the image quality, but it can reduce the GIF file size. +It is recommended to enable this option. - Auto save settings - - - true + Optimize ".gif" - + + + + + + + + + + @@ -4972,87 +4961,53 @@ the language for the language settings to fully take effect. - - + + - When adding a folder to the file list, scan the files in -the subfolder and add them to the file list. + When the file processing status changes, the file list scrolls automatically. - Scan sub-folders + File list scrolls automatically true - - - - [Text browser] will be automatically hidden when the software starts. - + + - Always hide Text Browser + Minimize to taskbar - - - - <html><head/><body><p><img src=":/new/prefix1/OtherPic/AspectRatioStrategy.jpg"/></p></body></html> - + + - Aspect Ratio: -(Custom resolution) + Interactive file list - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + false - - + + The number of retries when failed to processing a image (or frame). - - Retry: - - - - - - - When the file processing status changes, the file list scrolls automatically. - - - File list scrolls automatically - - - true - - - - - - - - 0 - 0 - - - - A pop-up window will prompts when an update is detected. + + 1 - - Update popup + + 999999999 - - true + + 5 - + 2 @@ -5083,196 +5038,263 @@ the subfolder and add them to the file list. - - - - - - - Custom Font Settings (Restart the software to take effect) - - - - + + + + + 16777215 + 16777215 + + + + We recommend that you restart the software after changing +the language for the language settings to fully take effect. + - Custom font size: + Language: - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + When processing video in segments, the length of each video clip. +This will determine how much hard disk space the program will occupy +when processing video in segments. + + + s + + + + + + 1 + + + 999999999 + + + 10 - - + + + + When adding a folder to the file list, scan the files in +the subfolder and add them to the file list. + - Custom font: + Scan sub-folders - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + true - - - - - 16777215 - 16777215 - + + + + Processing video in segments can greatly reduce the +hard disk space occupied by processing video. But it +will increase the time required to process video. - - QPushButton{ -background-color: rgb(26, 188, 156); -color: rgb(255, 255, 255); -border-style:outset; -border-radius:8px; -padding:10px; -} -QPushButton:hover{ -background-color: rgb(29, 214, 177); -color: rgb(255, 255, 255); -border-style:outset; -border-radius:8px; -padding:10px; -} -QPushButton:pressed{ -background-color: rgb(23, 173, 143); -color: rgb(255, 255, 255); -border-style:outset; -border-radius:8px; -padding:10px; -} -QPushButton:disabled{ -background-color: rgb(166, 166, 166); -color: rgb(255, 255, 255); -border-style:outset; -border-radius:8px; -padding:10px; -} + + Process video by segment + + + true + + + + + + + + 0 + 0 + + + + A pop-up window will prompts when an update is detected. - Save Custom Font Settings + Update popup + + + true - - - - - 16777215 - 16777215 - + + + + Output internal Scale and Denoise progress of GIF and video process inside textbrowser. - - 1 + + Show internal progress - - 999 + + true - - 15 + + + + + + <html><head/><body><p><img src=":/new/prefix1/OtherPic/AspectRatioStrategy.jpg"/></p></body></html> + + + Aspect Ratio: +(Custom resolution) + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - - 宋体 + + + + Prompt when exit - - - 宋体 - + + true - - + + - Enable Custom Font Settings. + Settings will be saved automatically when you close the software. - Enable + Auto save settings + + + true - - - - - - - - - - - + + - <html><head/><body><p>Save the scaled image as &quot;<span style=" font-weight:600;">.jpg</span>&quot;.</p><p>Images are stored in &quot;<span style=" font-weight:600;">.png</span>&quot; format by default.</p></body></html> + When processing video in segments, the length of each video clip. +This will determine how much hard disk space the program will occupy +when processing video in segments. - Save as ".jpg" + Segment duration: - - + + - When the alpha channel is detected in the picture, software will -automatically force the picture to be saved as PNG. - -★Anime4K engine does NOT supports alpha channel.★ + Play Notification sound when all files in the list have been processed. - Auto detect Alpha channel + Notification sound true - - - + + + + Keep video cache after processing the video. + + + Keep video cache + + false + + + + - Compress JPG files. + [Text browser] will be automatically hidden when the software starts. - Compress ".jpg" + Always hide Text Browser - - + + - Optimizing the scaled gif will slightly reduce the image quality, but it can reduce the GIF file size. -It is recommended to enable this option. + [Settings] will be automatically hidden when the software starts. - Optimize ".gif" + Always hide Settings - - + + - 0(worst quality)~99 -We recommend you use the default value(95) + The number of retries when failed to processing a image (or frame). - - 0 + + Retry: - - 95 + + + + + + + 280 + 0 + + + <html><head/><body><p><img src=":/new/prefix1/OtherPic/AspectRatioStrategy.jpg"/></p></body></html> + + + 1 + + + + Ignore Aspect Ratio + + + + + Keep Aspect Ratio + + + + + Keep Aspect Ratio By Expanding + + - - + + + + Enable this will stop download anything from Communist China website Gitee. + +If you are in China, due to government banned raw.githubusercontent.com, +enable this will affect auto update. + +For detailed information, please read privacy policy. + - Compressed ".jpg" image quality: + Ban Gitee + + + + + + + Qt::Vertical diff --git a/SRC/Waifu2x-Extension-QT/settings.cpp b/SRC/Waifu2x-Extension-QT/settings.cpp index aac401c42..640d54976 100644 --- a/SRC/Waifu2x-Extension-QT/settings.cpp +++ b/SRC/Waifu2x-Extension-QT/settings.cpp @@ -103,6 +103,7 @@ int MainWindow::Settings_Save() configIniWrite->setValue("/settings/ImageEXT", ui->Ext_image->text()); configIniWrite->setValue("/settings/VideoEXT", ui->Ext_video->text()); //=================== 存储 杂项设置 ================================= + configIniWrite->setValue("/settings/checkBox_BanGitee", ui->checkBox_BanGitee->isChecked()); configIniWrite->setValue("/settings/comboBox_UpdateChannel", ui->comboBox_UpdateChannel->currentIndex()); configIniWrite->setValue("/settings/checkBox_MinimizeToTaskbar", ui->checkBox_MinimizeToTaskbar->isChecked()); configIniWrite->setValue("/settings/checkBox_custres_isAll", ui->checkBox_custres_isAll->isChecked()); @@ -348,6 +349,7 @@ int MainWindow::Settings_Read_Apply() ui->Ext_image->setText(Settings_Read_value("/settings/ImageEXT").toString()); ui->Ext_video->setText(Settings_Read_value("/settings/VideoEXT").toString()); //================== 加载 杂项设置 ================================== + ui->checkBox_BanGitee->setChecked(Settings_Read_value("/settings/checkBox_BanGitee").toBool()); ui->comboBox_UpdateChannel->setCurrentIndex(Settings_Read_value("/settings/comboBox_UpdateChannel").toInt()); ui->checkBox_MinimizeToTaskbar->setChecked(Settings_Read_value("/settings/checkBox_MinimizeToTaskbar").toBool()); ui->checkBox_custres_isAll->setChecked(Settings_Read_value("/settings/checkBox_custres_isAll").toBool());