Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeng753 committed Mar 6, 2020
1 parent 0025803 commit ad509d9
Show file tree
Hide file tree
Showing 12 changed files with 1,109 additions and 973 deletions.
2 changes: 1 addition & 1 deletion SRC/Waifu2x-Extension-QT/Anime4K.cpp
Expand Up @@ -316,7 +316,7 @@ int MainWindow::Anime4k_Video_scale(QMap<QString,QString> Sub_Thread_info,int *S
else
{
Delay_sec_sleep(5);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
}
}
//=========
Expand Down
3 changes: 3 additions & 0 deletions SRC/Waifu2x-Extension-QT/checkupdate.cpp
Expand Up @@ -34,6 +34,7 @@ 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"));
}
/*
自动检查更新:
Expand Down Expand Up @@ -96,6 +97,8 @@ int MainWindow::CheckUpadte_Auto()
{
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);
return 0;
}
/*
Expand Down
Binary file modified SRC/Waifu2x-Extension-QT/language_Chinese.qm
Binary file not shown.
688 changes: 371 additions & 317 deletions SRC/Waifu2x-Extension-QT/language_Chinese.ts

Large diffs are not rendered by default.

676 changes: 351 additions & 325 deletions SRC/Waifu2x-Extension-QT/language_English.ts

Large diffs are not rendered by default.

Binary file modified SRC/Waifu2x-Extension-QT/language_Japanese.qm
Binary file not shown.
688 changes: 371 additions & 317 deletions SRC/Waifu2x-Extension-QT/language_Japanese.ts

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions SRC/Waifu2x-Extension-QT/main.cpp
Expand Up @@ -31,8 +31,6 @@ int main(int argc, char *argv[])
}

/*
############## 发更新前别忘了翻译!!! ################
Change log:
- 新特性:支持记住上一次浏览的文件夹.(remember the last browsed folder)
- 新特性:改进自动检查更新, 支持显示更新日志.
Expand All @@ -43,6 +41,7 @@ Change log:
- 更改部分界面布局.
- 改进稳定性.
- 添加了一些提示.
- 修改了一些令人迷惑的文本.
--------------------------------------------------------------------------
To do:
- 浏览文件记住上一次文件夹
Expand Down
4 changes: 2 additions & 2 deletions SRC/Waifu2x-Extension-QT/mainwindow.ui
Expand Up @@ -3682,7 +3682,7 @@ height:28
}</string>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab_3">
<attribute name="title">
Expand Down Expand Up @@ -3826,7 +3826,7 @@ height:28
<item row="5" column="0">
<widget class="QLabel" name="label_45">
<property name="text">
<string>Extra Command:</string>
<string>Extra command:</string>
</property>
</widget>
</item>
Expand Down
6 changes: 3 additions & 3 deletions SRC/Waifu2x-Extension-QT/srmd_ncnn_vulkan.cpp
Expand Up @@ -187,7 +187,7 @@ int MainWindow::SRMD_NCNN_Vulkan_Image(int rowNum)
else
{
QFile::remove(OutputPath_tmp);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
Delay_sec_sleep(5);
}
}
Expand Down Expand Up @@ -698,7 +698,7 @@ int MainWindow::SRMD_NCNN_Vulkan_GIF_scale(QMap<QString, QString> Sub_Thread_inf
else
{
QFile::remove(OutputPath_tmp);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
Delay_sec_sleep(5);
}
}
Expand Down Expand Up @@ -1114,7 +1114,7 @@ int MainWindow::SRMD_NCNN_Vulkan_Video_scale(QMap<QString,QString> Sub_Thread_in
else
{
QFile::remove(OutputPath_tmp);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
Delay_sec_sleep(5);
}
}
Expand Down
6 changes: 3 additions & 3 deletions SRC/Waifu2x-Extension-QT/waifu2x_converter.cpp
Expand Up @@ -116,7 +116,7 @@ int MainWindow::Waifu2x_Converter_Image(int rowNum)
else
{
Delay_sec_sleep(5);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
}
}
//========
Expand Down Expand Up @@ -553,7 +553,7 @@ int MainWindow::Waifu2x_Converter_GIF_scale(QMap<QString, QString> Sub_Thread_in
else
{
Delay_sec_sleep(5);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
}
}
//========================
Expand Down Expand Up @@ -874,7 +874,7 @@ int MainWindow::Waifu2x_Converter_Video_scale(QMap<QString,QString> Sub_Thread_i
else
{
Delay_sec_sleep(5);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
}
}
//========
Expand Down
6 changes: 3 additions & 3 deletions SRC/Waifu2x-Extension-QT/waifu2x_ncnn_vulkan.cpp
Expand Up @@ -206,7 +206,7 @@ int MainWindow::Waifu2x_NCNN_Vulkan_Image(int rowNum)
else
{
QFile::remove(OutputPath_tmp);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
Delay_sec_sleep(5);
}
}
Expand Down Expand Up @@ -737,7 +737,7 @@ int MainWindow::Waifu2x_NCNN_Vulkan_GIF_scale(QMap<QString, QString> Sub_Thread_
else
{
QFile::remove(OutputPath_tmp);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
Delay_sec_sleep(5);
}
}
Expand Down Expand Up @@ -1176,7 +1176,7 @@ int MainWindow::Waifu2x_NCNN_Vulkan_Video_scale(QMap<QString,QString> Sub_Thread
else
{
QFile::remove(OutputPath_tmp);
emit Send_TextBrowser_NewMessage(tr("Retry"));
emit Send_TextBrowser_NewMessage(tr("Automatic retry, please wait."));
Delay_sec_sleep(5);
}
}
Expand Down

0 comments on commit ad509d9

Please sign in to comment.