feat: update declare

This commit is contained in:
rankun 2020-03-28 09:34:51 +08:00
commit 702528eb1d
6 changed files with 29 additions and 10 deletions

View file

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

View file

@ -98,7 +98,7 @@ int main(int argc, char *argv[])
g_mainDlg->setWindowTitle(Config::getInstance().getTitle()); g_mainDlg->setWindowTitle(Config::getInstance().getTitle());
g_mainDlg->show(); 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()); qInfo(QString("QtScrcpy %1 <https://github.com/barry-ran/QtScrcpy>").arg(QCoreApplication::applicationVersion()).toUtf8());
int ret = a.exec(); int ret = a.exec();

Binary file not shown.

View file

@ -75,7 +75,7 @@
</message> </message>
<message> <message>
<location filename="../../dialog.ui" line="144"/> <location filename="../../dialog.ui" line="144"/>
<location filename="../../dialog.cpp" line="305"/> <location filename="../../dialog.cpp" line="328"/>
<source>select path</source> <source>select path</source>
<translation>select path</translation> <translation>select path</translation>
</message> </message>
@ -203,7 +203,7 @@
<translation>refresh devices</translation> <translation>refresh devices</translation>
</message> </message>
<message> <message>
<location filename="../../dialog.cpp" line="93"/> <location filename="../../dialog.cpp" line="103"/>
<source>original</source> <source>original</source>
<translation>original</translation> <translation>original</translation>
</message> </message>
@ -211,9 +211,19 @@
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <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> <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> </message>
</context> </context>
<context> <context>

Binary file not shown.

View file

@ -75,7 +75,7 @@
</message> </message>
<message> <message>
<location filename="../../dialog.ui" line="144"/> <location filename="../../dialog.ui" line="144"/>
<location filename="../../dialog.cpp" line="305"/> <location filename="../../dialog.cpp" line="328"/>
<source>select path</source> <source>select path</source>
<translation></translation> <translation></translation>
</message> </message>
@ -203,7 +203,7 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../dialog.cpp" line="93"/> <location filename="../../dialog.cpp" line="103"/>
<source>original</source> <source>original</source>
<translation></translation> <translation></translation>
</message> </message>
@ -211,9 +211,19 @@
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <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> <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> </message>
</context> </context>
<context> <context>