🐞 fix(连接模块): 添加多次连接处理,防止连接错误
This commit is contained in:
parent
b3b70c4ccc
commit
bf76835779
|
@ -49,31 +49,33 @@ ConnectionService::~ConnectionService()
|
|||
}
|
||||
}
|
||||
|
||||
void ConnectionService::startClient(const QString host)
|
||||
bool ConnectionService::startClient(const QString host)
|
||||
{
|
||||
if (m_messageTcpSocket != nullptr) {
|
||||
qInfo() << "There is currently a connection in progress!";
|
||||
return false;
|
||||
}
|
||||
m_isClient = true;
|
||||
m_serverIp = host;
|
||||
m_connectInfo.connectType = ConnectType::WIFI;
|
||||
if (m_messageTcpSocket == nullptr) {
|
||||
m_messageTcpSocket = new QTcpSocket;
|
||||
connect(m_messageTcpSocket, &QTcpSocket::readyRead, this, &ConnectionService::onMessageReadyRead);
|
||||
connect(m_messageTcpSocket, &QTcpSocket::connected, this, [=]() {
|
||||
m_isMsgSocketConnect = true;
|
||||
// 客户端启动心跳服务监听
|
||||
if (m_heartTcpServer == nullptr) {
|
||||
m_heartTcpServer = new QTcpServer;
|
||||
connect(m_heartTcpServer, &QTcpServer::newConnection, this,
|
||||
&ConnectionService::slotHeartbeatConnection);
|
||||
}
|
||||
int sendRe = m_heartTcpServer->listen(QHostAddress::Any, HEARTBEAT_PORT);
|
||||
if (sendRe == -1) {
|
||||
qInfo() << "Tcpserver listening port " + QString::number(HEARTBEAT_PORT) + " failed!";
|
||||
} else {
|
||||
qInfo() << "Tcpserver listening port " + QString::number(HEARTBEAT_PORT) + " succeeded!";
|
||||
}
|
||||
});
|
||||
}
|
||||
m_messageTcpSocket = new QTcpSocket;
|
||||
connect(m_messageTcpSocket, &QTcpSocket::readyRead, this, &ConnectionService::onMessageReadyRead);
|
||||
connect(m_messageTcpSocket, &QTcpSocket::connected, this, [=]() {
|
||||
m_isMsgSocketConnect = true;
|
||||
// 客户端启动心跳服务监听
|
||||
if (m_heartTcpServer == nullptr) {
|
||||
m_heartTcpServer = new QTcpServer;
|
||||
connect(m_heartTcpServer, &QTcpServer::newConnection, this, &ConnectionService::slotHeartbeatConnection);
|
||||
}
|
||||
int sendRe = m_heartTcpServer->listen(QHostAddress::Any, HEARTBEAT_PORT);
|
||||
if (sendRe == -1) {
|
||||
qInfo() << "Tcpserver listening port " + QString::number(HEARTBEAT_PORT) + " failed!";
|
||||
} else {
|
||||
qInfo() << "Tcpserver listening port " + QString::number(HEARTBEAT_PORT) + " succeeded!";
|
||||
}
|
||||
});
|
||||
m_messageTcpSocket->connectToHost(host, LISTEN_PORT);
|
||||
return true;
|
||||
}
|
||||
|
||||
void ConnectionService::setConnectionCallback(ConnectSuccessCallBack connectSuccessCallBack,
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include "messageserialize.pb.h"
|
||||
#include "adbprocess.h"
|
||||
|
||||
typedef std::function<void()> ConnectSuccessCallBack; // 定义连接成功函数类型
|
||||
typedef std::function<void()> ConnectFailCallBack; // 定义连接失败函数类型
|
||||
typedef std::function<void()> ConnectSuccessCallBack; // 定义连接成功函数类型
|
||||
typedef std::function<void()> ConnectFailCallBack; // 定义连接失败函数类型
|
||||
|
||||
class ConnectionService : public QObject
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ public:
|
|||
|
||||
// wifi连接
|
||||
// 启动客户端连接服务器
|
||||
void startClient(const QString host);
|
||||
bool startClient(const QString host);
|
||||
// 设置连接是否成功回调函数
|
||||
void setConnectionCallback(ConnectSuccessCallBack connectSuccessCallBack, ConnectFailCallBack connectFailCallBack);
|
||||
// 尝试连接address:port主机地址,使用前需设置成功和失败的回调函数
|
||||
|
@ -58,30 +58,28 @@ public:
|
|||
|
||||
public:
|
||||
enum ConnectType {
|
||||
NOTCONNECT = 0, // 未连接
|
||||
WIFI, // WiFi连接
|
||||
USB // USB连接
|
||||
NOTCONNECT = 0, // 未连接
|
||||
WIFI, // WiFi连接
|
||||
USB // USB连接
|
||||
};
|
||||
Q_ENUM(ConnectType)
|
||||
enum DeviceType {
|
||||
PC = 0, // PC端
|
||||
ANDROID, // 安卓端
|
||||
UNKNOWN // 未知设备
|
||||
PC = 0, // PC端
|
||||
ANDROID, // 安卓端
|
||||
UNKNOWN // 未知设备
|
||||
};
|
||||
Q_ENUM(DeviceType)
|
||||
enum DeviceRole {
|
||||
INITIATOR = 0, // 发起者
|
||||
RECIPIENT, // 接收者
|
||||
INITIATOR = 0, // 发起者
|
||||
RECIPIENT, // 接收者
|
||||
};
|
||||
Q_ENUM(DeviceRole)
|
||||
struct FtpNamePwd
|
||||
{
|
||||
QString username = ""; // 用户名
|
||||
QString pwd = ""; // 密码
|
||||
struct FtpNamePwd {
|
||||
QString username = ""; // 用户名
|
||||
QString pwd = ""; // 密码
|
||||
};
|
||||
|
||||
struct ConnectionInfo
|
||||
{
|
||||
struct ConnectionInfo {
|
||||
QString uuid = 0;
|
||||
QString deviceName = "";
|
||||
QString address = "";
|
||||
|
@ -115,17 +113,17 @@ public Q_SLOTS:
|
|||
|
||||
private:
|
||||
enum DataType {
|
||||
FILE_DATA = 0, // 文件内容
|
||||
STREAM_DATA, // 流数据
|
||||
BYTE_DATA, // 字节数据
|
||||
FREE // 空闲
|
||||
FILE_DATA = 0, // 文件内容
|
||||
STREAM_DATA, // 流数据
|
||||
BYTE_DATA, // 字节数据
|
||||
FREE // 空闲
|
||||
};
|
||||
|
||||
enum AndroidConnType {
|
||||
ADB = 0, // 有线adb
|
||||
CONNECTWIFI = 1, // wifi
|
||||
WIFIADB = 2, // 无线adb
|
||||
NOTANDROID = 3 // 不是安卓设备
|
||||
ADB = 0, // 有线adb
|
||||
CONNECTWIFI = 1, // wifi
|
||||
WIFIADB = 2, // 无线adb
|
||||
NOTANDROID = 3 // 不是安卓设备
|
||||
};
|
||||
|
||||
private:
|
||||
|
@ -154,42 +152,42 @@ private:
|
|||
|
||||
private:
|
||||
// wifi
|
||||
QTcpServer *m_tcpServer = nullptr; // Tcp服务
|
||||
QTcpSocket *m_messageTcpSocket = nullptr; // 消息通道
|
||||
QTcpSocket *m_dataTcpSocket = nullptr; // 数据通道
|
||||
QTcpServer *m_heartTcpServer = nullptr; // 心跳机制服务
|
||||
QTcpSocket *m_heartbeatSocket = nullptr; //心跳通道
|
||||
ServerStatus *m_serverStatus = nullptr; // 判断服务器状态
|
||||
QThread *m_statusThread = nullptr; // 判断服务器状态线程
|
||||
ConnectSuccessCallBack m_connectSuccessCallBack = nullptr; // 连接成功回调函数
|
||||
ConnectFailCallBack m_connectFailCallBack = nullptr; // 连接失败回调函数
|
||||
QTcpServer *m_tcpServer = nullptr; // Tcp服务
|
||||
QTcpSocket *m_messageTcpSocket = nullptr; // 消息通道
|
||||
QTcpSocket *m_dataTcpSocket = nullptr; // 数据通道
|
||||
QTcpServer *m_heartTcpServer = nullptr; // 心跳机制服务
|
||||
QTcpSocket *m_heartbeatSocket = nullptr; // 心跳通道
|
||||
ServerStatus *m_serverStatus = nullptr; // 判断服务器状态
|
||||
QThread *m_statusThread = nullptr; // 判断服务器状态线程
|
||||
ConnectSuccessCallBack m_connectSuccessCallBack = nullptr; // 连接成功回调函数
|
||||
ConnectFailCallBack m_connectFailCallBack = nullptr; // 连接失败回调函数
|
||||
QFile *m_writeFile = nullptr;
|
||||
// usb
|
||||
AdbProcess *m_adb = nullptr; // adb接口
|
||||
QTimer *m_timer = nullptr; //获取socket状态定时器
|
||||
AdbProcess *m_adb = nullptr; // adb接口
|
||||
QTimer *m_timer = nullptr; // 获取socket状态定时器
|
||||
|
||||
ConnectionInfo m_connectInfo; // 连接信息
|
||||
QString m_serverIp = ""; // 服务器主机地址
|
||||
int m_port = 0; // 服务器端口
|
||||
QStringList m_filePathList; // 所有文件路径
|
||||
ProtobufFilesInfo m_filesInfo; // 所有文件信息
|
||||
bool m_isMsgSocketConnect = false; // 消息通道是否已连接
|
||||
DataType m_dataType = DataType::FREE; // 当前数据类型
|
||||
qint64 m_dataSize = 0; // 接收的数据大小
|
||||
qint64 m_writeSize = 0; // 当前写入文件大小
|
||||
bool m_isHead = true; // 是否为数据头部
|
||||
int m_currentFileIndex = 0; // 当前文件索引
|
||||
QByteArray m_data; // 需要发送的数据
|
||||
QString m_fileSavePath = ""; // 文件保存路径
|
||||
QStringList m_deviceSerialList; // 设备序列号列表
|
||||
bool m_isSupportADB = false; // 安卓设备是否支持adb反控
|
||||
QString m_userName = ""; // ftp用户名
|
||||
QString m_password = ""; // ftp密码
|
||||
AndroidConnType m_androidConnType = AndroidConnType::NOTANDROID; // 安卓连接类型
|
||||
bool m_isClient = false; // 是否为客户端
|
||||
bool m_isSurvival = false; // 是否收到心跳
|
||||
bool m_isAgainSendHeartbeat = true; // 是否重新发送
|
||||
bool m_isRemoteDisconnect = false; // 是否为远程主机断开
|
||||
ConnectionInfo m_connectInfo; // 连接信息
|
||||
QString m_serverIp = ""; // 服务器主机地址
|
||||
int m_port = 0; // 服务器端口
|
||||
QStringList m_filePathList; // 所有文件路径
|
||||
ProtobufFilesInfo m_filesInfo; // 所有文件信息
|
||||
bool m_isMsgSocketConnect = false; // 消息通道是否已连接
|
||||
DataType m_dataType = DataType::FREE; // 当前数据类型
|
||||
qint64 m_dataSize = 0; // 接收的数据大小
|
||||
qint64 m_writeSize = 0; // 当前写入文件大小
|
||||
bool m_isHead = true; // 是否为数据头部
|
||||
int m_currentFileIndex = 0; // 当前文件索引
|
||||
QByteArray m_data; // 需要发送的数据
|
||||
QString m_fileSavePath = ""; // 文件保存路径
|
||||
QStringList m_deviceSerialList; // 设备序列号列表
|
||||
bool m_isSupportADB = false; // 安卓设备是否支持adb反控
|
||||
QString m_userName = ""; // ftp用户名
|
||||
QString m_password = ""; // ftp密码
|
||||
AndroidConnType m_androidConnType = AndroidConnType::NOTANDROID; // 安卓连接类型
|
||||
bool m_isClient = false; // 是否为客户端
|
||||
bool m_isSurvival = false; // 是否收到心跳
|
||||
bool m_isAgainSendHeartbeat = true; // 是否重新发送
|
||||
bool m_isRemoteDisconnect = false; // 是否为远程主机断开
|
||||
};
|
||||
|
||||
#endif // CONNECTIONSERVICE_H
|
||||
#endif // CONNECTIONSERVICE_H
|
||||
|
|
|
@ -137,107 +137,107 @@
|
|||
<context>
|
||||
<name>FileManageWin</name>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="23"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="25"/>
|
||||
<source>Go Back</source>
|
||||
<translation>མདུན་དུ་སྐྱོད་པ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="35"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="37"/>
|
||||
<source>Go Forward</source>
|
||||
<translation>ཕྱིར་བཤོལ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="56"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="418"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="57"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="407"/>
|
||||
<source>Search File</source>
|
||||
<translation>བཤེར་འཚོལ་ཡིག་ཆ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="84"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="85"/>
|
||||
<source>Select</source>
|
||||
<translation>རྩོམ་སྒྲིག</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="105"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="518"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="106"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="629"/>
|
||||
<source>List Mode</source>
|
||||
<translation>རེའུ་མིག་རྣམ་པ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="117"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="118"/>
|
||||
<source>Refresh</source>
|
||||
<translation>གསར་འདོན་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="123"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="444"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="124"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="433"/>
|
||||
<source>Select File</source>
|
||||
<translation>ཡིག་ཆ་འདེམས་པ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="132"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="211"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="538"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="542"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="550"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="133"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="212"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="649"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="653"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="661"/>
|
||||
<source>Select All</source>
|
||||
<translation>ཡོངས་འདེམས་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="141"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="142"/>
|
||||
<source>Finish</source>
|
||||
<translation>གྲུབ་པ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="209"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="539"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="541"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="549"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="210"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="650"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="652"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="660"/>
|
||||
<source>Deselect All</source>
|
||||
<translation>ཡོངས་འདེམས་མེད་པར་བཟོས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="523"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="634"/>
|
||||
<source>Icon Mode</source>
|
||||
<translation>རིས་རྟགས་རྣམ་པ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="88"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="91"/>
|
||||
<source>List of Mobile Files</source>
|
||||
<translation>ལག་ཐོགས་ཁ་པར་གྱི་ཡིག་ཆའི་རེའུ་མིག</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="89"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="92"/>
|
||||
<source>Picture</source>
|
||||
<translation>པར་རིས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="90"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="93"/>
|
||||
<source>Video</source>
|
||||
<translation>བརྙན་ལམ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="91"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="94"/>
|
||||
<source>Music</source>
|
||||
<translation>རོལ་དབྱངས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="92"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="95"/>
|
||||
<source>Doc</source>
|
||||
<translation>ཡིག་ཆ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="93"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="96"/>
|
||||
<source>QQ</source>
|
||||
<translation>QQ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="94"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="97"/>
|
||||
<source>WeChat</source>
|
||||
<translation>སྐད་འཕྲིན་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="95"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="98"/>
|
||||
<source>Mobile Storage</source>
|
||||
<translation>ཁ་པར་གསོག་འཇོག</translation>
|
||||
</message>
|
||||
|
@ -307,44 +307,45 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="380"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1309"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="379"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1306"/>
|
||||
<source>kylin-connectivity</source>
|
||||
<translation>སྣེ་མང་མཐུན་སྦྱོར་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="474"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="473"/>
|
||||
<source>Agreed to connect</source>
|
||||
<translation>མོས་མཐུན་འབྲེལ་མཐུད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="476"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="475"/>
|
||||
<source>Peer has agreed</source>
|
||||
<translation>ལས་རིགས་གཅིག་པའི་མོས་མཐུན་བྱས་།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="478"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="477"/>
|
||||
<source>Establishing connection, please wait...</source>
|
||||
<translation>ད་ལྟ་འབྲེལ་མཐུད་འཛུགས་བཞིན་ཡོད།ཏོག་ཙམ་སྒུག་རོགས།...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="482"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="481"/>
|
||||
<source>CANCEL</source>
|
||||
<translation>མེད་པར་བཟོ་བ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="876"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1133"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1143"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1211"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1281"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1380"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1401"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1424"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1485"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1507"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1886"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1902"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1130"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1140"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1208"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1278"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1377"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1398"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1421"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1482"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1884"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1890"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1907"/>
|
||||
<source>OK</source>
|
||||
<translation>ཡ་ཡ།</translation>
|
||||
</message>
|
||||
|
@ -355,7 +356,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="677"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1297"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1294"/>
|
||||
<source>file download failed</source>
|
||||
<translation>ཡིག་ཆ་ཕབ་ལེན་ཕམ་སོང་།</translation>
|
||||
</message>
|
||||
|
@ -366,7 +367,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1006"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1337"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1334"/>
|
||||
<source>"</source>
|
||||
<translation>"</translation>
|
||||
</message>
|
||||
|
@ -377,29 +378,29 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1013"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1343"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1340"/>
|
||||
<source>NO</source>
|
||||
<translation>མེད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1012"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1342"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1339"/>
|
||||
<source>YES</source>
|
||||
<translation>རེད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1355"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1352"/>
|
||||
<source>The other party has refused your screen projection request!</source>
|
||||
<translation>ཕ་རོལ་བོས་ཁྱོད་ཀྱི་བརྙན་ཡོལ་བརྙན་ཕབ་ཀྱི་རེ་བ་དང་ལེན་མ་བྱས།!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1356"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1353"/>
|
||||
<source>Failed to cast the screen. Please contact the other party and try again.</source>
|
||||
<translation>འཆར་ཤེལ་ལ་ཕོག་མི་ཐུབ། རོགས་།ཕ་རོལ་བར་འབྲེལ་གཏུག་དང་།དེ་ནས་ཡང་བསྐྱར་ཚོད་ལྟ་ཞིག་རེད་།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1032"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1360"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1357"/>
|
||||
<source>RECONNECT</source>
|
||||
<translation>བསྐྱར་སྦྲེལ།</translation>
|
||||
</message>
|
||||
|
@ -415,29 +416,29 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1033"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1361"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1412"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1700"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1358"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1409"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1697"/>
|
||||
<source>CLOSE</source>
|
||||
<translation>སྒོ་རྒྱག་པ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1131"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1128"/>
|
||||
<source>Please install kylin-assistant on the Android terminal!</source>
|
||||
<translation>ཨན་ཀྲོའི་མཐའ་སྣེ་ཐོག་ཆི་ལིན་ལས་རོགས་སྒྲིག་རོགས།!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1141"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1138"/>
|
||||
<source>Please use the USB to connect your phone device!</source>
|
||||
<translation>USBཁྱེད་རང་གི་ཁ་པར་སྒྲིག་ཆས་བེད་སྤྱོད་གཏོང་རོགས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1152"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1149"/>
|
||||
<source>Connection error</source>
|
||||
<translation>འབྲེལ་མཐུད་ནོར་འཁྲུལ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1154"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1151"/>
|
||||
<source>Connection timed out</source>
|
||||
<translation>འབྲེལ་མཐུད་དུས་བརྒལ།</translation>
|
||||
</message>
|
||||
|
@ -450,22 +451,22 @@
|
|||
<translation type="vanished">བཤིག་འདོན་ཕམ་པ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1310"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1307"/>
|
||||
<source>Version:</source>
|
||||
<translation>པར་གཞི།:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1312"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1309"/>
|
||||
<source>Mobile Assistant is an interconnection tool of Android device and Kirin operating system, which supports Android file synchronization, file transfer, screen mirroring and other functions, which is simple and fast to operate</source>
|
||||
<translation>སྣེ་མང་མཐུན་སྦྱོར་ནི་ཆི་ལིན་བཀོལ་སྤྱོད་མ་ལག་དབར་གྱི་ཕན་ཚུན་འབྲེལ་མཐུད་ཀྱི་དྲ་སྦྲེལ་ཡོ་བྱད་ཅིག་ཡིན་པ་དང་ཆབས་ཅིག་Andridཡིག་ཆ་དུས་མཉམ་དང་།ཡིག་ཆ་བརྒྱུད་འདྲེན།བརྙན་ཡོལ་སྣང་བརྙན་སོགས་ཀྱི་ནུས་པར་རྒྱབ་སྐྱོར་བྱས་ནས་སྟབས་བདེ་ལ་མྱུར་པོ་ཡོད་པ་རེད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1336"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1333"/>
|
||||
<source>Received screen projection request from "</source>
|
||||
<translation>བསྡུ་ལེན་ནས་ཡོང་བའི་བརྙན་ཡོལ་བརྙན་ཕབ་རེ་ཞུ་། "</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1338"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1335"/>
|
||||
<source>After consent, the other party can share the device desktop to this screen.</source>
|
||||
<translation>འཐད་པ་བྱུང་རྗེས།ཕྱོགས་ཅིག་ཤོས་ཀྱིས་སྒྲིག་ཆས་ཀྱི་ཅོག་ངོས་བརྙན་ཡོལ་འདི་མཉམ་སྤྱོད་བྱས་ཆོག</translation>
|
||||
</message>
|
||||
|
@ -478,88 +479,93 @@
|
|||
<translation type="vanished">སྒོ་རྒྱག་པ་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1375"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1372"/>
|
||||
<source>The other party agreed to your screen projection request!</source>
|
||||
<translation>ཕ་རོལ་བོས་ཁྱོད་ཀྱི་བརྙན་ཡོལ་བརྙན་ཕབ་ཀྱི་རེ་བ་ལ་འཐད།!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1376"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1373"/>
|
||||
<source>The screen is being cast, please wait...</source>
|
||||
<translation>བརྙན་ཡོལ་ཕོག་བཞིན་འདུགཅུང་ཙམ་སྒུག...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1396"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1419"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1393"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1416"/>
|
||||
<source>End of screen projection</source>
|
||||
<translation>བརྙན་ཡོལ་བརྙན་ཕབ་མཇུག་རྫོགས་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1397"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1420"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1394"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1417"/>
|
||||
<source>The other party has finished the screen projection function.</source>
|
||||
<translation>ཕ་རོལ་བས་འཆར་ཤེལ་བརྙན་ཕབ་ཀྱི་ནུས་པ་འགྲུབ་ཡོད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1406"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1694"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1403"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1691"/>
|
||||
<source>Screen projection loading error</source>
|
||||
<translation>བརྙན་ཡོལ་བརྙན་ཕབ་ཁུར་སྣོན་ཧེ་བག་</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1408"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1696"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1405"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1693"/>
|
||||
<source>Please check whether to install the projection expansion package [kylin connectivity tools]</source>
|
||||
<translation>ཞིབ་བཤེར་བྱེད་མིན་།སྒྲིག་སྦྱོར་བརྙན་ཕབ་རྒྱ་སྐྱེད་ཁུག་མ་[kylin-connectttity-tools]</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1498"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1501"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<source>Transmission interruption</source>
|
||||
<translation>བརྒྱུད་གཏོང་བར་བཅད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1502"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1499"/>
|
||||
<source>The other party's device has insufficient local storage!</source>
|
||||
<translation>ཕ་རོལ་སྒྲིག་ཆས་གསོག་འཇོག་བར་སྟོང་མི་འདང་བ་།!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1501"/>
|
||||
<source>Insufficient local storage space!</source>
|
||||
<translation>རང་སའི་གསོག་འཇོག་བར་སྟོང་མི་འདང་།!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1684"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1681"/>
|
||||
<source>Uploaded to</source>
|
||||
<translation>ཡར་འཕངས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1655"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1888"/>
|
||||
<source>There is currently a connection in progress!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1652"/>
|
||||
<source>Downloaded to</source>
|
||||
<translation>Uploaded to</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1279"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1276"/>
|
||||
<source>File open exception!</source>
|
||||
<translation>ཡིག་ཆ་ཁ་འབྱེད་རྒྱུན་འགལ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1483"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1480"/>
|
||||
<source>Search data loading failed!</source>
|
||||
<translation>བཤེར་འཚོལ་གཞི་གྲངས་ནང་འཇུག་ཕམ་སོང་།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1880"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1895"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1878"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1900"/>
|
||||
<source>Request sent successfully!</source>
|
||||
<translation>སྐུར་ཐུབ་པར་ཞུ།!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1881"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1879"/>
|
||||
<source>The connection request has been sent to the selected device. Please click [YES] in the opposite pop-up window</source>
|
||||
<translation>འབྲེལ་མཐུད་རེ་བར་བདམས་པའི་སྒྲིག་ཆས་ལ་སྐུར་རོགས། ཁ་སྤྲོད་ཀྱི་སྒེའུ་ཁུང་ནང་ནས་གནོན་རོགས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1897"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1902"/>
|
||||
<source>The screen projection request has been sent to the connected device. Please click [Agree] in the opposite pop-up window</source>
|
||||
<translation>བརྙན་ཡོལ་བརྙན་ཕབ་ཀྱི་རེ་བ་དེ་སྦྲེལ་མཐུད་ཀྱི་སྒྲིག་ཆས་ལ་བསྐུར། མདུན་གྱི་སྒེའུ་ཁུང་ནང་གི་“མོས་མཐུན་ལ་གནོན་།</translation>
|
||||
</message>
|
||||
|
|
|
@ -167,107 +167,107 @@
|
|||
<context>
|
||||
<name>FileManageWin</name>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="23"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="25"/>
|
||||
<source>Go Back</source>
|
||||
<translation>Go Back</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="35"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="37"/>
|
||||
<source>Go Forward</source>
|
||||
<translation>Go Forward</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="56"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="418"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="57"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="407"/>
|
||||
<source>Search File</source>
|
||||
<translation>Search File</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="84"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="85"/>
|
||||
<source>Select</source>
|
||||
<translation>Select</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="105"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="518"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="106"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="629"/>
|
||||
<source>List Mode</source>
|
||||
<translation>List Mode</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="117"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="118"/>
|
||||
<source>Refresh</source>
|
||||
<translation>Refresh</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="123"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="444"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="124"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="433"/>
|
||||
<source>Select File</source>
|
||||
<translation>Select File</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="132"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="211"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="538"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="542"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="550"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="133"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="212"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="649"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="653"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="661"/>
|
||||
<source>Select All</source>
|
||||
<translation>Select All</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="141"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="142"/>
|
||||
<source>Finish</source>
|
||||
<translation>Finish</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="209"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="539"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="541"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="549"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="210"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="650"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="652"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="660"/>
|
||||
<source>Deselect All</source>
|
||||
<translation>Deselect All</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="523"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="634"/>
|
||||
<source>Icon Mode</source>
|
||||
<translation>Icon Mode</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="88"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="91"/>
|
||||
<source>List of Mobile Files</source>
|
||||
<translation>List of Mobile Files</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="89"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="92"/>
|
||||
<source>Picture</source>
|
||||
<translation>Picture</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="90"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="93"/>
|
||||
<source>Video</source>
|
||||
<translation>Video</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="91"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="94"/>
|
||||
<source>Music</source>
|
||||
<translation>Music</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="92"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="95"/>
|
||||
<source>Doc</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="93"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="96"/>
|
||||
<source>QQ</source>
|
||||
<translation>QQ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="94"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="97"/>
|
||||
<source>WeChat</source>
|
||||
<translation>WeChat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="95"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="98"/>
|
||||
<source>Mobile Storage</source>
|
||||
<translation>Mobile Storage</translation>
|
||||
</message>
|
||||
|
@ -337,28 +337,28 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="380"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1309"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="379"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1306"/>
|
||||
<source>kylin-connectivity</source>
|
||||
<translation>kylin-connectivity</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="474"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="473"/>
|
||||
<source>Agreed to connect</source>
|
||||
<translation>Agreed to connect</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="476"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="475"/>
|
||||
<source>Peer has agreed</source>
|
||||
<translation>Peer has agreed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="478"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="477"/>
|
||||
<source>Establishing connection, please wait...</source>
|
||||
<translation>Establishing connection, please wait...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="482"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="481"/>
|
||||
<source>CANCEL</source>
|
||||
<translation>Cancel</translation>
|
||||
</message>
|
||||
|
@ -377,7 +377,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="677"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1297"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1294"/>
|
||||
<source>file download failed</source>
|
||||
<translation>file download failed</translation>
|
||||
</message>
|
||||
|
@ -388,7 +388,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1006"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1337"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1334"/>
|
||||
<source>"</source>
|
||||
<translation>"</translation>
|
||||
</message>
|
||||
|
@ -399,34 +399,34 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1013"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1343"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1340"/>
|
||||
<source>NO</source>
|
||||
<translation>No</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1012"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1342"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1339"/>
|
||||
<source>YES</source>
|
||||
<translation>Yes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1279"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1276"/>
|
||||
<source>File open exception!</source>
|
||||
<translation>File open exception!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1355"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1352"/>
|
||||
<source>The other party has refused your screen projection request!</source>
|
||||
<translation>The other party has refused your screen projection request!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1356"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1353"/>
|
||||
<source>Failed to cast the screen. Please contact the other party and try again.</source>
|
||||
<translation>Failed to cast the screen. Please contact the other party and try again.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1032"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1360"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1357"/>
|
||||
<source>RECONNECT</source>
|
||||
<translation>Reconnect</translation>
|
||||
</message>
|
||||
|
@ -442,32 +442,37 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1033"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1361"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1412"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1700"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1358"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1409"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1697"/>
|
||||
<source>CLOSE</source>
|
||||
<translation>Close</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1131"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1128"/>
|
||||
<source>Please install kylin-assistant on the Android terminal!</source>
|
||||
<translation>Please install kylin-assistant on the Android terminal!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1141"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1138"/>
|
||||
<source>Please use the USB to connect your phone device!</source>
|
||||
<translation>Please use the USB to connect your phone device!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1152"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1149"/>
|
||||
<source>Connection error</source>
|
||||
<translation>Connection error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1154"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1151"/>
|
||||
<source>Connection timed out</source>
|
||||
<translation>Connection timed out</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1888"/>
|
||||
<source>There is currently a connection in progress!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Warning</source>
|
||||
<translation type="vanished">Warning</translation>
|
||||
|
@ -481,22 +486,22 @@
|
|||
<translation type="vanished">Umount failed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1310"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1307"/>
|
||||
<source>Version:</source>
|
||||
<translation>Version:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1312"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1309"/>
|
||||
<source>Mobile Assistant is an interconnection tool of Android device and Kirin operating system, which supports Android file synchronization, file transfer, screen mirroring and other functions, which is simple and fast to operate</source>
|
||||
<translation>Mobile Assistant is an interconnection tool of Android device and Kirin operating system, which supports Android file synchronization, file transfer, screen mirroring and other functions, which is simple and fast to operate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1336"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1333"/>
|
||||
<source>Received screen projection request from "</source>
|
||||
<translation>Received screen projection request from "</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1338"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1335"/>
|
||||
<source>After consent, the other party can share the device desktop to this screen.</source>
|
||||
<translation>After consent, the other party can share the device desktop to this screen.</translation>
|
||||
</message>
|
||||
|
@ -509,78 +514,83 @@
|
|||
<translation type="vanished">Close</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1375"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1372"/>
|
||||
<source>The other party agreed to your screen projection request!</source>
|
||||
<translation>The other party agreed to your screen projection request!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1376"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1373"/>
|
||||
<source>The screen is being cast, please wait...</source>
|
||||
<translation>The screen is being cast, please wait...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1396"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1419"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1393"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1416"/>
|
||||
<source>End of screen projection</source>
|
||||
<translation>End of screen projection</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1397"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1420"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1394"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1417"/>
|
||||
<source>The other party has finished the screen projection function.</source>
|
||||
<translation>The other party has finished the screen projection function.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1483"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1480"/>
|
||||
<source>Search data loading failed!</source>
|
||||
<translation>Search data loading failed!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1498"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1501"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<source>Transmission interruption</source>
|
||||
<translation>Transmission interruption</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1502"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1499"/>
|
||||
<source>The other party's device has insufficient local storage!</source>
|
||||
<translation>The other party's device has insufficient local storage!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1501"/>
|
||||
<source>Insufficient local storage space!</source>
|
||||
<translation>Insufficient local storage space!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1897"/>
|
||||
<source>There is currently a connection in progress</source>
|
||||
<translation type="vanished">There is currently a connection in progress</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1902"/>
|
||||
<source>The screen projection request has been sent to the connected device. Please click [Agree] in the opposite pop-up window</source>
|
||||
<translation>The screen projection request has been sent to the connected device. Please click [Agree] in the opposite pop-up window</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="876"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1133"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1143"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1211"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1281"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1380"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1401"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1424"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1485"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1507"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1886"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1902"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1130"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1140"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1208"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1278"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1377"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1398"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1421"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1482"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1884"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1890"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1907"/>
|
||||
<source>OK</source>
|
||||
<translation>Ok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1406"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1694"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1403"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1691"/>
|
||||
<source>Screen projection loading error</source>
|
||||
<translation>Screen projection loading error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1408"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1696"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1405"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1693"/>
|
||||
<source>Please check whether to install the projection expansion package [kylin connectivity tools]</source>
|
||||
<translation>Please check whether to install the projection expansion package [kylin connectivity tools]</translation>
|
||||
</message>
|
||||
|
@ -641,23 +651,23 @@
|
|||
<translation type="vanished">QQ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1684"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1681"/>
|
||||
<source>Uploaded to</source>
|
||||
<translation>Uploaded to</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1655"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1652"/>
|
||||
<source>Downloaded to</source>
|
||||
<translation>Downloaded to</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1880"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1895"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1878"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1900"/>
|
||||
<source>Request sent successfully!</source>
|
||||
<translation>Request sent successfully!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1881"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1879"/>
|
||||
<source>The connection request has been sent to the selected device. Please click [YES] in the opposite pop-up window</source>
|
||||
<translation>The connection request has been sent to the selected device. Please click [YES] in the opposite pop-up window</translation>
|
||||
</message>
|
||||
|
|
|
@ -148,107 +148,107 @@
|
|||
<context>
|
||||
<name>FileManageWin</name>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="23"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="25"/>
|
||||
<source>Go Back</source>
|
||||
<translation>后退</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="35"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="37"/>
|
||||
<source>Go Forward</source>
|
||||
<translation>前进</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="56"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="418"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="57"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="407"/>
|
||||
<source>Search File</source>
|
||||
<translation>搜索文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="84"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="85"/>
|
||||
<source>Select</source>
|
||||
<translation>编辑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="105"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="518"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="106"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="629"/>
|
||||
<source>List Mode</source>
|
||||
<translation>列表模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="117"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="118"/>
|
||||
<source>Refresh</source>
|
||||
<translation>刷新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="123"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="444"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="124"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="433"/>
|
||||
<source>Select File</source>
|
||||
<translation>选择文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="132"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="211"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="538"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="542"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="550"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="133"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="212"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="649"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="653"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="661"/>
|
||||
<source>Select All</source>
|
||||
<translation>全选</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="141"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="142"/>
|
||||
<source>Finish</source>
|
||||
<translation>完成</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="209"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="539"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="541"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="549"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="210"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="650"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="652"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="660"/>
|
||||
<source>Deselect All</source>
|
||||
<translation>取消全选</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="523"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.cpp" line="634"/>
|
||||
<source>Icon Mode</source>
|
||||
<translation>图标模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="88"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="91"/>
|
||||
<source>List of Mobile Files</source>
|
||||
<translation>手机文件列表</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="89"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="92"/>
|
||||
<source>Picture</source>
|
||||
<translation>图片</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="90"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="93"/>
|
||||
<source>Video</source>
|
||||
<translation>视频</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="91"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="94"/>
|
||||
<source>Music</source>
|
||||
<translation>音乐</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="92"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="95"/>
|
||||
<source>Doc</source>
|
||||
<translation>文档</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="93"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="96"/>
|
||||
<source>QQ</source>
|
||||
<translation>QQ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="94"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="97"/>
|
||||
<source>WeChat</source>
|
||||
<translation>微信</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="95"/>
|
||||
<location filename="../ui/filemanageview/filemanagewin.h" line="98"/>
|
||||
<source>Mobile Storage</source>
|
||||
<translation>手机存储</translation>
|
||||
</message>
|
||||
|
@ -318,28 +318,28 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="380"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1309"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="379"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1306"/>
|
||||
<source>kylin-connectivity</source>
|
||||
<translation>多端协同</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="474"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="473"/>
|
||||
<source>Agreed to connect</source>
|
||||
<translation>同意连接</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="476"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="475"/>
|
||||
<source>Peer has agreed</source>
|
||||
<translation>对方已同意</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="478"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="477"/>
|
||||
<source>Establishing connection, please wait...</source>
|
||||
<translation>正在建立连接,请稍候</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="482"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="481"/>
|
||||
<source>CANCEL</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
|
@ -358,7 +358,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="677"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1297"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1294"/>
|
||||
<source>file download failed</source>
|
||||
<translation>文件下载失败</translation>
|
||||
</message>
|
||||
|
@ -369,7 +369,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1006"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1337"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1334"/>
|
||||
<source>"</source>
|
||||
<translation>" 的请求</translation>
|
||||
</message>
|
||||
|
@ -380,34 +380,34 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1013"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1343"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1340"/>
|
||||
<source>NO</source>
|
||||
<translation>拒绝</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1012"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1342"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1339"/>
|
||||
<source>YES</source>
|
||||
<translation>同意</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1279"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1276"/>
|
||||
<source>File open exception!</source>
|
||||
<translation>文件打开异常!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1355"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1352"/>
|
||||
<source>The other party has refused your screen projection request!</source>
|
||||
<translation>对方拒绝了你的投屏请求!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1356"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1353"/>
|
||||
<source>Failed to cast the screen. Please contact the other party and try again.</source>
|
||||
<translation>投屏失败,请联系对方后重新尝试。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1032"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1360"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1357"/>
|
||||
<source>RECONNECT</source>
|
||||
<translation>重新连接</translation>
|
||||
</message>
|
||||
|
@ -423,32 +423,37 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1033"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1361"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1412"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1700"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1358"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1409"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1697"/>
|
||||
<source>CLOSE</source>
|
||||
<translation>关闭</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1131"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1128"/>
|
||||
<source>Please install kylin-assistant on the Android terminal!</source>
|
||||
<translation>请在手机端下载麒麟手机助手app!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1141"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1138"/>
|
||||
<source>Please use the USB to connect your phone device!</source>
|
||||
<translation>请使用USB连接手机设备</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1152"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1149"/>
|
||||
<source>Connection error</source>
|
||||
<translation>连接失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1154"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1151"/>
|
||||
<source>Connection timed out</source>
|
||||
<translation>连接超时</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1888"/>
|
||||
<source>There is currently a connection in progress!</source>
|
||||
<translation>当前有连接正在进行!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Warning</source>
|
||||
<translation type="vanished">警告</translation>
|
||||
|
@ -462,22 +467,22 @@
|
|||
<translation type="vanished">卸载失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1310"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1307"/>
|
||||
<source>Version:</source>
|
||||
<translation>版本:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1312"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1309"/>
|
||||
<source>Mobile Assistant is an interconnection tool of Android device and Kirin operating system, which supports Android file synchronization, file transfer, screen mirroring and other functions, which is simple and fast to operate</source>
|
||||
<translation>多端协同是一款麒麟操作系统之间的互通互联工具,同时也支持Android文件同步、文件传输、屏幕镜像等功能,操作简单快捷。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1336"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1333"/>
|
||||
<source>Received screen projection request from "</source>
|
||||
<translation>收到来自 "</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1338"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1335"/>
|
||||
<source>After consent, the other party can share the device desktop to this screen.</source>
|
||||
<translation>同意后,对方可将设备桌面共享至本屏幕上。</translation>
|
||||
</message>
|
||||
|
@ -490,78 +495,83 @@
|
|||
<translation type="vanished">关闭</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1375"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1372"/>
|
||||
<source>The other party agreed to your screen projection request!</source>
|
||||
<translation>对方同意了您的投屏请求!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1376"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1373"/>
|
||||
<source>The screen is being cast, please wait...</source>
|
||||
<translation>正在投屏,请稍等...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1396"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1419"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1393"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1416"/>
|
||||
<source>End of screen projection</source>
|
||||
<translation>投屏结束</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1397"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1420"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1394"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1417"/>
|
||||
<source>The other party has finished the screen projection function.</source>
|
||||
<translation>对方已结束了投屏功能。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1483"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1480"/>
|
||||
<source>Search data loading failed!</source>
|
||||
<translation>搜索数据加载失败!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1498"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1501"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<source>Transmission interruption</source>
|
||||
<translation>传输中断</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1502"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1499"/>
|
||||
<source>The other party's device has insufficient local storage!</source>
|
||||
<translation>对方设备空间不足!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1501"/>
|
||||
<source>Insufficient local storage space!</source>
|
||||
<translation>本地设备空间不足!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1897"/>
|
||||
<source>There is currently a connection in progress</source>
|
||||
<translation type="vanished">当前有连接正在进行!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1902"/>
|
||||
<source>The screen projection request has been sent to the connected device. Please click [Agree] in the opposite pop-up window</source>
|
||||
<translation>已将投屏请求发送至已连接设备,请在对端弹窗中点击【同意】</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="876"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1133"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1143"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1211"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1281"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1380"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1401"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1424"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1485"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1507"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1886"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1902"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1130"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1140"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1208"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1278"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1377"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1398"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1421"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1482"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1504"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1884"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1890"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1907"/>
|
||||
<source>OK</source>
|
||||
<translation>确定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1406"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1694"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1403"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1691"/>
|
||||
<source>Screen projection loading error</source>
|
||||
<translation>投屏加载失败</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1408"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1696"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1405"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1693"/>
|
||||
<source>Please check whether to install the projection expansion package [kylin connectivity tools]</source>
|
||||
<translation>请检查是否安装投屏扩展包[kylin-connectivity-tools]</translation>
|
||||
</message>
|
||||
|
@ -622,23 +632,23 @@
|
|||
<translation type="vanished">QQ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1684"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1681"/>
|
||||
<source>Uploaded to</source>
|
||||
<translation>上传至</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1655"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1652"/>
|
||||
<source>Downloaded to</source>
|
||||
<translation>下载到</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1880"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1895"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1878"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1900"/>
|
||||
<source>Request sent successfully!</source>
|
||||
<translation>请求发送成功!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ui/mainwindow.cpp" line="1881"/>
|
||||
<location filename="../ui/mainwindow.cpp" line="1879"/>
|
||||
<source>The connection request has been sent to the selected device. Please click [YES] in the opposite pop-up window</source>
|
||||
<translation>已将连接请求发送至所选设备,请在对端弹窗中点击【同意】</translation>
|
||||
</message>
|
||||
|
|
|
@ -1871,17 +1871,25 @@ void MainWindow::slotReturnHomePage()
|
|||
|
||||
void MainWindow::slotConnectServiceUI(QString address)
|
||||
{
|
||||
m_reconnectAddress = address;
|
||||
m_connectionService->startClient(address);
|
||||
startTimer();
|
||||
QString str1 = QString(tr("Request sent successfully!"));
|
||||
QString str2 = QString(tr("The connection request has been sent to the selected device. Please click [YES] in "
|
||||
"the opposite pop-up window"));
|
||||
m_messageBox = new MessageDialog(this);
|
||||
m_messageBox->setText(str1, str2);
|
||||
m_messageBox->setIconPixmap(QIcon::fromTheme("ukui-dialog-success"));
|
||||
m_messageBox->addButton(QString(tr("OK")));
|
||||
moveMessageBox();
|
||||
bool ret = m_connectionService->startClient(address);
|
||||
if (ret) {
|
||||
m_reconnectAddress = address;
|
||||
startTimer();
|
||||
QString str1 = QString(tr("Request sent successfully!"));
|
||||
QString str2 = QString(tr("The connection request has been sent to the selected device. Please click [YES] in "
|
||||
"the opposite pop-up window"));
|
||||
m_messageBox = new MessageDialog(this);
|
||||
m_messageBox->setText(str1, str2);
|
||||
m_messageBox->setIconPixmap(QIcon::fromTheme("ukui-dialog-success"));
|
||||
m_messageBox->addButton(QString(tr("OK")));
|
||||
moveMessageBox();
|
||||
} else {
|
||||
m_messageBox = new MessageDialog(this);
|
||||
m_messageBox->setText(tr("There is currently a connection in progress!"));
|
||||
m_messageBox->setIconPixmap(QIcon::fromTheme("dialog-warning"));
|
||||
m_messageBox->addButton(QString(tr("OK")));
|
||||
moveMessageBox();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::slotConnectedWinBtnClicked(ConnectedWin::BtnType type)
|
||||
|
|
Loading…
Reference in New Issue