diff --git a/QtScrcpy/dialog.cpp b/QtScrcpy/dialog.cpp index ec92a5e..6cc509e 100644 --- a/QtScrcpy/dialog.cpp +++ b/QtScrcpy/dialog.cpp @@ -102,7 +102,7 @@ void Dialog::on_startServerBtn_clicked() quint16 videoSize = ui->videoSizeBox->currentText().trimmed().toUShort(); m_videoForm = new VideoForm(ui->serialBox->currentText().trimmed(), videoSize, bitRate, absFilePath); - outLog("start server..."); + outLog("start server...", false); } m_videoForm->show(); } @@ -111,7 +111,7 @@ void Dialog::on_stopServerBtn_clicked() { if (m_videoForm) { m_videoForm->close(); - outLog("stop server...", false); + outLog("stop server..."); } } @@ -202,9 +202,7 @@ void Dialog::on_selectRecordPathBtn_clicked() tr("select path"), "", options); - if (!directory.isEmpty()) { - ui->recordPathEdt->setText(directory); - } + ui->recordPathEdt->setText(directory); } void Dialog::on_recordPathEdt_textChanged(const QString &arg1) diff --git a/QtScrcpy/i18n/QtScrcpy_en.qm b/QtScrcpy/i18n/QtScrcpy_en.qm index e20e8b1..e68d0b4 100644 Binary files a/QtScrcpy/i18n/QtScrcpy_en.qm and b/QtScrcpy/i18n/QtScrcpy_en.qm differ diff --git a/QtScrcpy/i18n/QtScrcpy_en.ts b/QtScrcpy/i18n/QtScrcpy_en.ts index bc9824e..6e80b91 100644 --- a/QtScrcpy/i18n/QtScrcpy_en.ts +++ b/QtScrcpy/i18n/QtScrcpy_en.ts @@ -4,62 +4,78 @@ Dialog - + Wireless Wireless - + wireless connect wireless connect - + wireless disconnect wireless disconnect - + + record save path: + record save psth: + + + + + select path + select path + + + USB line USB line - + stop server stop server - + start server start server - + device serial: device serial: - + + Config + Config + + + bit rate: bit rate: - + video size: video size: - + start adbd start adbd - + get device ip get device ip - + update device update device @@ -120,22 +136,22 @@ VideoForm - + wait current file transfer to complete wait current file transfer to complete - + file transfer complete file transfer complete - + file transfer failed file transfer failed - + file does not exist file does not exist diff --git a/QtScrcpy/i18n/QtScrcpy_zh.qm b/QtScrcpy/i18n/QtScrcpy_zh.qm index b6617d2..2b8bda8 100644 Binary files a/QtScrcpy/i18n/QtScrcpy_zh.qm and b/QtScrcpy/i18n/QtScrcpy_zh.qm differ diff --git a/QtScrcpy/i18n/QtScrcpy_zh.ts b/QtScrcpy/i18n/QtScrcpy_zh.ts index 801b707..7182fe1 100644 --- a/QtScrcpy/i18n/QtScrcpy_zh.ts +++ b/QtScrcpy/i18n/QtScrcpy_zh.ts @@ -4,62 +4,78 @@ Dialog - + Wireless 无线 - + wireless connect 无线连接 - + wireless disconnect 无线断开 - + + record save path: + 录像保存路径: + + + + + select path + 选择路径 + + + USB line USB线 - + stop server 停止服务 - + start server 启动服务 - + device serial: 设备序列号: - + + Config + 配置 + + + bit rate: 比特率: - + video size: 视频尺寸: - + start adbd 启动adbd - + get device ip 获取设备IP - + update device 刷新设备列表 @@ -120,22 +136,22 @@ VideoForm - + wait current file transfer to complete 等待当前文件传输完成 - + file transfer complete 文件传输完成 - + file transfer failed 文件传输失败 - + file does not exist 文件不存在