Update desktop notify function

This commit is contained in:
chenlelin 2020-04-10 16:35:26 +08:00
parent 9d309ca919
commit 02568fc2b7
8 changed files with 216 additions and 148 deletions

View File

@ -215,8 +215,8 @@ void ConfForm::on_btnCreate_clicked()
} else {
QString txt(tr("New network already created"));
//m_notify->execNotifySend(txt);
//KylinDBus kylindbus;
//kylindbus.showDesktopNotify(txt);
KylinDBus kylindbus;
kylindbus.showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "...' -t 3800";
//int status1 = system(cmd.toUtf8().data());
//if (status1 != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'execConnWifiPWD' failed");}
@ -255,8 +255,8 @@ void ConfForm::on_btnOk_clicked()
QString txt(tr("New network settings already finished"));
//m_notify->execNotifySend(txt);
//KylinDBus kylindbus;
//kylindbus.showDesktopNotify(txt);
KylinDBus kylindbus;
kylindbus.showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "...' -t 3800";
//int status1 = system(cmd.toUtf8().data());
//if (status1 != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'execConnWifiPWD' failed");}
@ -273,8 +273,8 @@ void ConfForm::on_btnOk_clicked()
QString m_txt(tr("New settings already effective"));
//m_notify->execNotifySend(m_txt);
//KylinDBus m_kylindbus;
//m_kylindbus.showDesktopNotify(m_txt);
KylinDBus m_kylindbus;
m_kylindbus.showDesktopNotify(m_txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + m_txt + "' -t 3800";
//int status1 = system(cmd.toUtf8().data());
//if (status1 != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'on_btnOk_clicked' failed");}

View File

@ -237,7 +237,7 @@ void MainWindow::createTopLanUI()
btnCreateNet = new QPushButton(topLanListWidget);
btnCreateNet->resize(W_BTN_FUN, H_BTN_FUN);
btnCreateNet->move(X_BTN_FUN, Y_BTN_FUN);
btnCreateNet->setText(tr("Create Lan Net"));//"新建网络"
btnCreateNet->setText(tr("New LAN"));//"新建网络"
btnCreateNet->setStyleSheet(funcBtnQss);
btnCreateNet->setFocusPolicy(Qt::NoFocus);
btnCreateNet->show();
@ -260,7 +260,7 @@ void MainWindow::createTopWifiUI()
btnAddNet = new QPushButton(topWifiListWidget);
btnAddNet->resize(W_BTN_FUN, H_BTN_FUN);
btnAddNet->move(X_BTN_FUN, Y_BTN_FUN);
btnAddNet->setText(tr("Add Hide Network"));//"加入网络"
btnAddNet->setText(tr("Hide WiFi"));//"加入网络"
btnAddNet->setStyleSheet(funcBtnQss);
btnAddNet->setFocusPolicy(Qt::NoFocus);
btnAddNet->show();
@ -357,8 +357,8 @@ void MainWindow::createLeftAreaUI()
ui->btnWifi->setFocusPolicy(Qt::NoFocus);
ui->btnWifi->setStyleSheet("QPushButton{border:none;background:transparent;}");
ui->lbBtnWifiBall->setStyleSheet("QLabel{min-width: 14px; min-height: 14px;max-width:14px; max-height: 14px;"
"border-radius: 7px; border:1px solid white;background:white;}");
ui->lbBtnWifiBall->setStyleSheet("QLabel{min-width: 16px; min-height: 16px;max-width:16px; max-height: 16px;"
"border-radius: 8px;background:white;}");
ui->btnHotspot->setStyleSheet(leftBtnQss);
ui->btnHotspot->setFocusPolicy(Qt::NoFocus);
@ -1213,7 +1213,7 @@ void MainWindow::onBtnWifiClicked(int flag)
QString txt(tr("please insert the wireless network adapter"));
//m_notify->execNotifySend(txt); //显示本应用自带的桌面通知
//objKyDBus->showDesktopNotify(txt);
objKyDBus->showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "' -t 3800";
//int status = system(cmd.toUtf8().data());
//if (status != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'onBtnWifiClicked' failed");}
@ -1510,7 +1510,7 @@ void MainWindow::getLanListDone(QStringList slist)
ccf->setName(nname);
ccf->setIcon(true);
ccf->setLanInfo(objKyDBus->dbusLanIpv4, objKyDBus->dbusLanIpv6, mwBandWidth, objKyDBus->dbusLanMac);
ccf->setConnedString(1, tr("Connected"));//"已连接"
ccf->setConnedString(1, tr("NetOn,"));//"已连接"
ccf->isConnected = true;
ifLanConnected = true;
lbLoadDown->show();
@ -1657,7 +1657,7 @@ void MainWindow::loadWifiListDone(QStringList slist)
//objKyDBus->getActWifiMac(wname);
objKyDBus->getWifiMac(wname);
ccf->setWifiInfo(wsecu, wsignal, objKyDBus->dbusWifiMac);
ccf->setConnedString(1, tr("Connected"), wsecu);//"已连接"
ccf->setConnedString(1, tr("NetOn,"), wsecu);//"已连接"
ccf->isConnected = true;
ifWLanConnected = true;
lbLoadDown->show();
@ -2175,7 +2175,7 @@ void MainWindow::activeLanDisconn()
QString txt(tr("Wired net is disconnected"));
//m_notify->execNotifySend(txt);
//objKyDBus->showDesktopNotify(txt);
objKyDBus->showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "...' -t 3800";
//int status1 = system(cmd.toUtf8().data());
//if (status1 != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'execConnWifiPWD' failed");}
@ -2204,7 +2204,7 @@ void MainWindow::activeStartLoading()
QString txt(tr("Wi-Fi is disconnected"));
//m_notify->execNotifySend(txt);
//objKyDBus->showDesktopNotify(txt);
objKyDBus->showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "...' -t 3800";
//int status1 = system(cmd.toUtf8().data());
//if (status1 != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'execConnWifiPWD' failed");}
@ -2488,7 +2488,7 @@ void MainWindow::connLanDone(int connFlag)
QString txt(tr("Conn Ethernet Success"));
//m_notify->execNotifySend(txt);
//objKyDBus->showDesktopNotify(txt);
objKyDBus->showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "' -t 3800";
//int status = system(cmd.toUtf8().data());
//if (status != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'connLanDone' failed");}
@ -2503,7 +2503,7 @@ void MainWindow::connLanDone(int connFlag)
QString txt(tr("Conn Ethernet Fail"));
//m_notify->execNotifySend(txt);
//objKyDBus->showDesktopNotify(txt);
objKyDBus->showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "' -t 3800";
//int status = system(cmd.toUtf8().data());
//if (status != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'connLanDone' failed");}
@ -2627,7 +2627,7 @@ void MainWindow::connWifiDone(int connFlag)
QString txt(tr("Conn Wifi Success"));
//m_notify->execNotifySend(txt);
//objKyDBus->showDesktopNotify(txt);
objKyDBus->showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "' -t 3800";
//int status = system(cmd.toUtf8().data());
//if (status != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'connWifiDone' failed");}
@ -2639,7 +2639,7 @@ void MainWindow::connWifiDone(int connFlag)
QString txt(tr("Confirm your Wi-Fi password or usable of wireless card"));
//m_notify->execNotifySend(txt);
//objKyDBus->showDesktopNotify(txt);
objKyDBus->showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "...' -t 3800";
//int status1 = system(cmd.toUtf8().data());
//if (status1 != 0){ syslog(LOG_ERR, "execute 'notify-send' in function 'execConnWifiPWD' failed");}

View File

@ -67,7 +67,7 @@
#define W_RIGHT_AREA 438 //41 + 1 + 438 = 480
#define L_VERTICAL_LINE_TO_ITEM 4 //竖线到item左侧的距离
#define X_LEFT_WIFI_BALL 414 //白色小球在左边
#define X_LEFT_WIFI_BALL 416 //白色小球在左边
#define X_RIGHT_WIFI_BALL 440 //白色小球在右边
#define Y_WIFI_BALL 23 //白色小球y坐标
#define X_ITEM 46 //item到窗口左侧的距离 41 + 1 + 4 = 46

View File

@ -393,7 +393,11 @@ void OneConnForm::setSignal(QString lv, QString secu){
void OneConnForm::setWifiInfo(QString str1, QString str2, QString str3)
{
if (str1 == "--" || str1 == ""){ str1 = tr("None"); };
QString str = "Wi-Fi安全性" + str1 + "\n信号强度:" + str2 + "%\n物理地址(MAC)" + str3;
QString strSecurity = QString(tr("WiFi Security"));
QString strSignal = QString(tr("Sifnal"));
QString strMAC = QString(tr("MAC"));
QString str = strSecurity + str1 + "\n" + strSignal + str2 + "%\n" + strMAC + str3;
ui->lbInfo->setText(str);
}
@ -609,8 +613,8 @@ void OneConnForm::slotConnWifiResult(int connFlag){
syslog(LOG_DEBUG, "Try to connect wifi named %s, but failed, will delete it's configuration file", ui->lbName->text().toUtf8().data());
//m_notify->execNotifySend(txt);
//KylinDBus kylindbus;
//kylindbus.showDesktopNotify(txt);
KylinDBus kylindbus;
kylindbus.showDesktopNotify(txt);
//QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';nmcli connection delete '" + ui->lbName->text() + "';notify-send '" + txt + "...' -t 3800";
//int status = system(cmd.toUtf8().data());
//if (status != 0){ syslog(LOG_ERR, "execute 'nmcli connection delete' in function 'slotConnWifiResult' failed");}

View File

@ -225,7 +225,11 @@ void OneLancForm::setLanInfo(QString str1, QString str2, QString str3, QString s
str2 = tr("no configuration");
}
QString str = "IPv4地址" + str1 + "\nIPv6地址" + str2 + "\n带宽:" + str3 + " \n物理地址(MAC)" + str4;
QString strIPv4 = QString(tr("IPv4"));
QString strIPv6 = QString(tr("IPv6"));
QString strBW = QString(tr("BandWidth"));
QString strMAC = QString(tr("MAC"));
QString str = strIPv4 + str1 + "\n" + strIPv6 + str2 + "\n" + strBW + str3 + "\n" + strMAC + str4;
ui->lbInfo->setText(str);
}

View File

@ -5,72 +5,72 @@
<name>ConfForm</name>
<message>
<location filename="../src/confform.cpp" line="39"/>
<location filename="../src/confform.cpp" line="288"/>
<location filename="../src/confform.cpp" line="294"/>
<source>edit network</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="52"/>
<location filename="../src/confform.cpp" line="101"/>
<source>Network name: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="53"/>
<location filename="../src/confform.cpp" line="102"/>
<source>Method: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="54"/>
<location filename="../src/confform.cpp" line="103"/>
<source>Address: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="55"/>
<location filename="../src/confform.cpp" line="104"/>
<source>Netmask: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="56"/>
<location filename="../src/confform.cpp" line="105"/>
<source>Gateway: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="57"/>
<location filename="../src/confform.cpp" line="106"/>
<source>DNS 1: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="58"/>
<location filename="../src/confform.cpp" line="107"/>
<source>DNS 2: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="60"/>
<location filename="../src/confform.cpp" line="109"/>
<source>Edit Conn</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="61"/>
<location filename="../src/confform.cpp" line="110"/>
<source>Auto(DHCP)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="62"/>
<location filename="../src/confform.cpp" line="111"/>
<source>Manual</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="72"/>
<location filename="../src/confform.cpp" line="121"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="73"/>
<location filename="../src/confform.cpp" line="122"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="74"/>
<location filename="../src/confform.cpp" line="123"/>
<source>Ok</source>
<translation type="unfinished"></translation>
</message>
@ -80,17 +80,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="254"/>
<location filename="../src/confform.cpp" line="256"/>
<source>New network settings already finished</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="270"/>
<location filename="../src/confform.cpp" line="274"/>
<source>New settings already effective</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="323"/>
<location filename="../src/confform.cpp" line="329"/>
<source>add wired network</source>
<translation type="unfinished"></translation>
</message>
@ -1208,25 +1208,25 @@
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.ui" line="14"/>
<location filename="../src/mainwindow.cpp" line="576"/>
<location filename="../src/mainwindow.cpp" line="578"/>
<source>kylin-nm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="385"/>
<location filename="../src/mainwindow.cpp" line="599"/>
<location filename="../src/mainwindow.cpp" line="601"/>
<source>Advanced</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="344"/>
<location filename="../src/mainwindow.cpp" line="1234"/>
<location filename="../src/mainwindow.cpp" line="1250"/>
<source>Ethernet</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="350"/>
<location filename="../src/mainwindow.cpp" line="1330"/>
<location filename="../src/mainwindow.cpp" line="1363"/>
<source>Wifi</source>
<translation type="unfinished"></translation>
</message>
@ -1241,26 +1241,24 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1297"/>
<location filename="../src/mainwindow.cpp" line="1354"/>
<location filename="../src/mainwindow.cpp" line="1425"/>
<location filename="../src/mainwindow.cpp" line="1557"/>
<location filename="../src/mainwindow.cpp" line="2213"/>
<location filename="../src/mainwindow.cpp" line="2297"/>
<location filename="../src/mainwindow.cpp" line="1402"/>
<location filename="../src/mainwindow.cpp" line="1476"/>
<location filename="../src/mainwindow.cpp" line="1609"/>
<location filename="../src/mainwindow.cpp" line="2266"/>
<location filename="../src/mainwindow.cpp" line="2350"/>
<source>Not connected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1299"/>
<location filename="../src/mainwindow.cpp" line="1357"/>
<location filename="../src/mainwindow.cpp" line="1427"/>
<location filename="../src/mainwindow.cpp" line="1480"/>
<location filename="../src/mainwindow.cpp" line="1481"/>
<location filename="../src/mainwindow.cpp" line="1560"/>
<location filename="../src/mainwindow.cpp" line="1631"/>
<location filename="../src/mainwindow.cpp" line="1765"/>
<location filename="../src/mainwindow.cpp" line="2215"/>
<location filename="../src/mainwindow.cpp" line="2299"/>
<location filename="../src/mainwindow.cpp" line="1405"/>
<location filename="../src/mainwindow.cpp" line="1478"/>
<location filename="../src/mainwindow.cpp" line="1531"/>
<location filename="../src/mainwindow.cpp" line="1532"/>
<location filename="../src/mainwindow.cpp" line="1612"/>
<location filename="../src/mainwindow.cpp" line="1682"/>
<location filename="../src/mainwindow.cpp" line="1816"/>
<location filename="../src/mainwindow.cpp" line="2268"/>
<location filename="../src/mainwindow.cpp" line="2352"/>
<source>Disconnected</source>
<translation type="unfinished"></translation>
</message>
@ -1270,8 +1268,8 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1462"/>
<location filename="../src/mainwindow.cpp" line="1608"/>
<location filename="../src/mainwindow.cpp" line="1513"/>
<location filename="../src/mainwindow.cpp" line="1660"/>
<source>Connected</source>
<translation type="unfinished"></translation>
</message>
@ -1296,57 +1294,52 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="598"/>
<location filename="../src/mainwindow.cpp" line="600"/>
<source>Show MainWindow</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1503"/>
<location filename="../src/mainwindow.cpp" line="1555"/>
<source>No Other Wired Network Scheme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1653"/>
<location filename="../src/mainwindow.cpp" line="1704"/>
<source>No Other Wireless Network Scheme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2583"/>
<location filename="../src/mainwindow.cpp" line="2640"/>
<source>Confirm your Wi-Fi password or usable of wireless card</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1208"/>
<location filename="../src/mainwindow.cpp" line="1214"/>
<source>please insert the wireless network adapter</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1269"/>
<source>Abnormal connection exist, program will delete it</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2125"/>
<location filename="../src/mainwindow.cpp" line="2176"/>
<source>Wired net is disconnected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2153"/>
<location filename="../src/mainwindow.cpp" line="2205"/>
<source>Wi-Fi is disconnected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2436"/>
<location filename="../src/mainwindow.cpp" line="2489"/>
<source>Conn Ethernet Success</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2450"/>
<location filename="../src/mainwindow.cpp" line="2504"/>
<source>Conn Ethernet Fail</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2572"/>
<location filename="../src/mainwindow.cpp" line="2628"/>
<source>Conn Wifi Success</source>
<translation type="unfinished"></translation>
</message>
@ -1367,36 +1360,51 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="33"/>
<location filename="../src/oneconnform.cpp" line="34"/>
<location filename="../src/oneconnform.cpp" line="35"/>
<location filename="../src/oneconnform.cpp" line="37"/>
<location filename="../src/oneconnform.cpp" line="36"/>
<location filename="../src/oneconnform.cpp" line="38"/>
<source>Connect</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="36"/>
<location filename="../src/oneconnform.cpp" line="37"/>
<source>Disconnect</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="38"/>
<location filename="../src/oneconnform.cpp" line="252"/>
<location filename="../src/oneconnform.cpp" line="39"/>
<location filename="../src/oneconnform.cpp" line="253"/>
<source>Input Password...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="318"/>
<location filename="../src/oneconnform.cpp" line="319"/>
<source>Connect to Hidden Wi-Fi Network</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="394"/>
<location filename="../src/oneconnform.cpp" line="395"/>
<source>None</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="607"/>
<location filename="../src/oneconnform.cpp" line="397"/>
<source>WiFi Security</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="398"/>
<source>Sifnal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="399"/>
<source>Media Access Control</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="612"/>
<source>Conn Wifi Failed</source>
<translation type="unfinished"></translation>
</message>
@ -1425,5 +1433,25 @@
<source>no configuration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="228"/>
<source>IPv4 Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="229"/>
<source>IPv6 Address</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="230"/>
<source>BandWidth</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="231"/>
<source>Media Access Control</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

Binary file not shown.

View File

@ -12,72 +12,72 @@
<name>ConfForm</name>
<message>
<location filename="../src/confform.cpp" line="39"/>
<location filename="../src/confform.cpp" line="288"/>
<location filename="../src/confform.cpp" line="294"/>
<source>edit network</source>
<translation></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="52"/>
<location filename="../src/confform.cpp" line="101"/>
<source>Network name: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="53"/>
<location filename="../src/confform.cpp" line="102"/>
<source>Method: </source>
<translation>IP设置: </translation>
</message>
<message>
<location filename="../src/confform.cpp" line="54"/>
<location filename="../src/confform.cpp" line="103"/>
<source>Address: </source>
<translation>IP地址: </translation>
</message>
<message>
<location filename="../src/confform.cpp" line="55"/>
<location filename="../src/confform.cpp" line="104"/>
<source>Netmask: </source>
<translation>: </translation>
</message>
<message>
<location filename="../src/confform.cpp" line="56"/>
<location filename="../src/confform.cpp" line="105"/>
<source>Gateway: </source>
<translation>: </translation>
</message>
<message>
<location filename="../src/confform.cpp" line="57"/>
<location filename="../src/confform.cpp" line="106"/>
<source>DNS 1: </source>
<translation>DNS: </translation>
</message>
<message>
<location filename="../src/confform.cpp" line="58"/>
<location filename="../src/confform.cpp" line="107"/>
<source>DNS 2: </source>
<translation>DNS: </translation>
</message>
<message>
<location filename="../src/confform.cpp" line="60"/>
<location filename="../src/confform.cpp" line="109"/>
<source>Edit Conn</source>
<translation></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="61"/>
<location filename="../src/confform.cpp" line="110"/>
<source>Auto(DHCP)</source>
<translation>(DHCP)</translation>
</message>
<message>
<location filename="../src/confform.cpp" line="62"/>
<location filename="../src/confform.cpp" line="111"/>
<source>Manual</source>
<translation></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="72"/>
<location filename="../src/confform.cpp" line="121"/>
<source>Cancel</source>
<translation></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="73"/>
<location filename="../src/confform.cpp" line="122"/>
<source>Save</source>
<translation></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="74"/>
<location filename="../src/confform.cpp" line="123"/>
<source>Ok</source>
<translation type="unfinished"></translation>
</message>
@ -87,7 +87,7 @@
<translation type="unfinished">线</translation>
</message>
<message>
<location filename="../src/confform.cpp" line="254"/>
<location filename="../src/confform.cpp" line="256"/>
<source>New network settings already finished</source>
<translation type="unfinished"></translation>
</message>
@ -100,12 +100,12 @@
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="270"/>
<location filename="../src/confform.cpp" line="274"/>
<source>New settings already effective</source>
<translation></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="323"/>
<location filename="../src/confform.cpp" line="329"/>
<source>add wired network</source>
<translation type="unfinished">线</translation>
</message>
@ -1255,7 +1255,7 @@
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.ui" line="14"/>
<location filename="../src/mainwindow.cpp" line="576"/>
<location filename="../src/mainwindow.cpp" line="578"/>
<source>kylin-nm</source>
<translation></translation>
</message>
@ -1265,13 +1265,13 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="385"/>
<location filename="../src/mainwindow.cpp" line="599"/>
<location filename="../src/mainwindow.cpp" line="601"/>
<source>Advanced</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="344"/>
<location filename="../src/mainwindow.cpp" line="1234"/>
<location filename="../src/mainwindow.cpp" line="1250"/>
<source>Ethernet</source>
<translation>线</translation>
</message>
@ -1281,7 +1281,7 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="350"/>
<location filename="../src/mainwindow.cpp" line="1330"/>
<location filename="../src/mainwindow.cpp" line="1363"/>
<source>Wifi</source>
<translation>线</translation>
</message>
@ -1304,56 +1304,54 @@
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="598"/>
<location filename="../src/mainwindow.cpp" line="600"/>
<source>Show MainWindow</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1297"/>
<location filename="../src/mainwindow.cpp" line="1354"/>
<location filename="../src/mainwindow.cpp" line="1425"/>
<location filename="../src/mainwindow.cpp" line="1557"/>
<location filename="../src/mainwindow.cpp" line="2213"/>
<location filename="../src/mainwindow.cpp" line="2297"/>
<location filename="../src/mainwindow.cpp" line="1402"/>
<location filename="../src/mainwindow.cpp" line="1476"/>
<location filename="../src/mainwindow.cpp" line="1609"/>
<location filename="../src/mainwindow.cpp" line="2266"/>
<location filename="../src/mainwindow.cpp" line="2350"/>
<source>Not connected</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1299"/>
<location filename="../src/mainwindow.cpp" line="1357"/>
<location filename="../src/mainwindow.cpp" line="1427"/>
<location filename="../src/mainwindow.cpp" line="1480"/>
<location filename="../src/mainwindow.cpp" line="1481"/>
<location filename="../src/mainwindow.cpp" line="1560"/>
<location filename="../src/mainwindow.cpp" line="1631"/>
<location filename="../src/mainwindow.cpp" line="1765"/>
<location filename="../src/mainwindow.cpp" line="2215"/>
<location filename="../src/mainwindow.cpp" line="2299"/>
<location filename="../src/mainwindow.cpp" line="1405"/>
<location filename="../src/mainwindow.cpp" line="1478"/>
<location filename="../src/mainwindow.cpp" line="1531"/>
<location filename="../src/mainwindow.cpp" line="1532"/>
<location filename="../src/mainwindow.cpp" line="1612"/>
<location filename="../src/mainwindow.cpp" line="1682"/>
<location filename="../src/mainwindow.cpp" line="1816"/>
<location filename="../src/mainwindow.cpp" line="2268"/>
<location filename="../src/mainwindow.cpp" line="2352"/>
<source>Disconnected</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1503"/>
<location filename="../src/mainwindow.cpp" line="1555"/>
<source>No Other Wired Network Scheme</source>
<translation type="unfinished">线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1653"/>
<location filename="../src/mainwindow.cpp" line="1704"/>
<source>No Other Wireless Network Scheme</source>
<translation type="unfinished">线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2125"/>
<location filename="../src/mainwindow.cpp" line="2176"/>
<source>Wired net is disconnected</source>
<translation type="unfinished">线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2153"/>
<location filename="../src/mainwindow.cpp" line="2205"/>
<source>Wi-Fi is disconnected</source>
<translation type="unfinished">线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2583"/>
<location filename="../src/mainwindow.cpp" line="2640"/>
<source>Confirm your Wi-Fi password or usable of wireless card</source>
<translation type="unfinished">Wi-Fi密码或无线设备</translation>
</message>
@ -1364,12 +1362,12 @@
</message>
<message>
<location filename="../src/mainwindow.cpp" line="240"/>
<source>Create Lan Net</source>
<source>New LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="263"/>
<source>Add Hide Network</source>
<source>Hide WiFi</source>
<translation></translation>
</message>
<message>
@ -1378,9 +1376,9 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1462"/>
<location filename="../src/mainwindow.cpp" line="1608"/>
<source>Connected</source>
<location filename="../src/mainwindow.cpp" line="1513"/>
<location filename="../src/mainwindow.cpp" line="1660"/>
<source>NetOn,</source>
<translation></translation>
</message>
<message>
@ -1397,14 +1395,13 @@
<translation type="vanished">线线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1208"/>
<location filename="../src/mainwindow.cpp" line="1214"/>
<source>please insert the wireless network adapter</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1269"/>
<source>Abnormal connection exist, program will delete it</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<source>update Wi-Fi list now, click again</source>
@ -1415,17 +1412,17 @@
<translation type="vanished"> Wi-Fi列表</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2436"/>
<location filename="../src/mainwindow.cpp" line="2489"/>
<source>Conn Ethernet Success</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2450"/>
<location filename="../src/mainwindow.cpp" line="2504"/>
<source>Conn Ethernet Fail</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="2572"/>
<location filename="../src/mainwindow.cpp" line="2628"/>
<source>Conn Wifi Success</source>
<translation>线</translation>
</message>
@ -1454,26 +1451,26 @@
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="33"/>
<location filename="../src/oneconnform.cpp" line="34"/>
<location filename="../src/oneconnform.cpp" line="35"/>
<location filename="../src/oneconnform.cpp" line="37"/>
<location filename="../src/oneconnform.cpp" line="36"/>
<location filename="../src/oneconnform.cpp" line="38"/>
<source>Connect</source>
<translation></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="36"/>
<location filename="../src/oneconnform.cpp" line="37"/>
<source>Disconnect</source>
<translation></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="38"/>
<location filename="../src/oneconnform.cpp" line="252"/>
<location filename="../src/oneconnform.cpp" line="39"/>
<location filename="../src/oneconnform.cpp" line="253"/>
<source>Input Password...</source>
<translation type="unfinished">...</translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="318"/>
<location filename="../src/oneconnform.cpp" line="319"/>
<source>Connect to Hidden Wi-Fi Network</source>
<translation> Wi-Fi </translation>
</message>
@ -1490,12 +1487,27 @@
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="394"/>
<location filename="../src/oneconnform.cpp" line="395"/>
<source>None</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="607"/>
<location filename="../src/oneconnform.cpp" line="397"/>
<source>WiFi Security</source>
<translation type="unfinished">WiFi安全性</translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="398"/>
<source>Sifnal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="399"/>
<source>MAC</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/oneconnform.cpp" line="612"/>
<source>Conn Wifi Failed</source>
<translation>线</translation>
</message>
@ -1528,6 +1540,26 @@
<source>no configuration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="228"/>
<source>IPv4</source>
<translation type="unfinished">IPv4地址</translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="229"/>
<source>IPv6</source>
<translation type="unfinished">IPv6地址</translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="230"/>
<source>BandWidth</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/onelancform.cpp" line="231"/>
<source>MAC</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Auto</source>
<translation type="obsolete"></translation>