feat: update declare

This commit is contained in:
rankun 2020-03-28 09:34:51 +08:00
parent 52aa41bcf9
commit 5e93f4b530
6 changed files with 29 additions and 10 deletions

View file

@ -301,7 +301,6 @@ void Dialog::getIPbyIp()
return;
}
QStringList adbArgs;
adbArgs << "shell";
adbArgs << "ip -o a";

View file

@ -98,7 +98,7 @@ int main(int argc, char *argv[])
g_mainDlg->setWindowTitle(Config::getInstance().getTitle());
g_mainDlg->show();
qInfo(QObject::tr("This software is completely open source and free, you can download it at the following address:").toUtf8());
qInfo(QObject::tr("This software is completely open source and free. Strictly used for illegal purposes, or at your own risk. You can download it at the following address:").toUtf8());
qInfo(QString("QtScrcpy %1 <https://github.com/barry-ran/QtScrcpy>").arg(QCoreApplication::applicationVersion()).toUtf8());
int ret = a.exec();

Binary file not shown.

View file

@ -75,7 +75,7 @@
</message>
<message>
<location filename="../../dialog.ui" line="144"/>
<location filename="../../dialog.cpp" line="305"/>
<location filename="../../dialog.cpp" line="328"/>
<source>select path</source>
<translation>select path</translation>
</message>
@ -203,7 +203,7 @@
<translation>refresh devices</translation>
</message>
<message>
<location filename="../../dialog.cpp" line="93"/>
<location filename="../../dialog.cpp" line="103"/>
<source>original</source>
<translation>original</translation>
</message>
@ -211,9 +211,19 @@
<context>
<name>QObject</name>
<message>
<location filename="../../main.cpp" line="101"/>
<source>This software is completely open source and free, you can download it at the following address:</source>
<translation>This software is completely open source and free, you can download it at the following address:</translation>
<translation type="vanished">This software is completely open source and free, you can download it at the following address:</translation>
</message>
<message>
<source>This software is completely open source and free.
Strictly used for illegal purposes, or at your own risk.
You can download it at the following address:</source>
<translation type="vanished">This software is completely open source and free.\nStrictly used for illegal purposes, or at your own risk.\nYou can download it at the following address:</translation>
</message>
<message>
<location filename="../../main.cpp" line="101"/>
<source>This software is completely open source and free. Strictly used for illegal purposes, or at your own risk. You can download it at the following address:</source>
<translation>This software is completely open source and free. Strictly used for illegal purposes, or at your own risk. You can download it at the following address:</translation>
</message>
</context>
<context>

Binary file not shown.

View file

@ -75,7 +75,7 @@
</message>
<message>
<location filename="../../dialog.ui" line="144"/>
<location filename="../../dialog.cpp" line="305"/>
<location filename="../../dialog.cpp" line="328"/>
<source>select path</source>
<translation></translation>
</message>
@ -203,7 +203,7 @@
<translation></translation>
</message>
<message>
<location filename="../../dialog.cpp" line="93"/>
<location filename="../../dialog.cpp" line="103"/>
<source>original</source>
<translation></translation>
</message>
@ -211,9 +211,19 @@
<context>
<name>QObject</name>
<message>
<location filename="../../main.cpp" line="101"/>
<source>This software is completely open source and free, you can download it at the following address:</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<source>This software is completely open source and free.
Strictly used for illegal purposes, or at your own risk.
You can download it at the following address:</source>
<translation type="vanished">.\n严禁用于非法用途.\n你可以在下面地址下载:</translation>
</message>
<message>
<location filename="../../main.cpp" line="101"/>
<source>This software is completely open source and free. Strictly used for illegal purposes, or at your own risk. You can download it at the following address:</source>
<translation>:</translation>
</message>
</context>
<context>