Fix bug can not click wifi connection button if input wrong password twice

This commit is contained in:
chenlelin 2020-12-24 21:09:41 +08:00
parent 44ae9539e8
commit c014e7fe4d
8 changed files with 149 additions and 141 deletions

View File

@ -259,7 +259,7 @@ void BackThread::execConnWifiPWD(QString connName, QString password, QString con
} }
QString line = file.readLine(); QString line = file.readLine();
file.close(); file.close();
qDebug()<<"debug: chenlelin "<< line; qDebug()<<"connect result of wifi: "<< line;
if (line.indexOf("successfully") != -1) { if (line.indexOf("successfully") != -1) {
emit connDone(0); emit connDone(0);

View File

@ -2712,6 +2712,9 @@ void MainWindow::connWifiDone(int connFlag)
objKyDBus->showDesktopNotify(txt); objKyDBus->showDesktopNotify(txt);
} else if (connFlag == 3) { } else if (connFlag == 3) {
syslog(LOG_DEBUG, "Launch kylin-nm, Wi-Fi already connected"); syslog(LOG_DEBUG, "Launch kylin-nm, Wi-Fi already connected");
} else if (connFlag == 4) {
QString txt(tr("Confirm your Wi-Fi password"));
objKyDBus->showDesktopNotify(txt);
} }
} }

View File

@ -746,7 +746,8 @@ void OneConnForm::slotConnWifiResult(int connFlag)
if (connFlag == 2) { if (connFlag == 2) {
mw->is_stop_check_net_state = 0; mw->is_stop_check_net_state = 0;
} else { } else {
connType = "RequestPassword"; mw->is_stop_check_net_state = 0;
//connType = "RequestPassword";
} }
//设置输入密码框被选中 //设置输入密码框被选中
@ -757,11 +758,11 @@ void OneConnForm::slotConnWifiResult(int connFlag)
if (connFlag == 1) { if (connFlag == 1) {
// 使用配置文件连接失败,需要删除该配置文件 // 使用配置文件连接失败,需要删除该配置文件
QString txt(tr("Conn Wifi Failed"));//"连接 Wifi 失败" //QString txt(tr("Connect Wifi Failed"));//"连接 Wifi 失败"
syslog(LOG_DEBUG, "Try to connect wifi named %s, but failed, will delete it's configuration file", lbNameText->text().toUtf8().data()); //syslog(LOG_DEBUG, "Try to connect wifi named %s, but failed, will delete it's configuration file", lbNameText->text().toUtf8().data());
KylinDBus kylindbus; //KylinDBus kylindbus;
kylindbus.showDesktopNotify(txt); //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"; //QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';nmcli connection delete '" + ui->lbName->text() + "';notify-send '" + txt + "...' -t 3800";
QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';nmcli connection delete '" + lbNameText->text() + "'"; QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';nmcli connection delete '" + lbNameText->text() + "'";
int status = system(cmd.toUtf8().data()); int status = system(cmd.toUtf8().data());

View File

@ -1210,20 +1210,20 @@
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../src/mainwindow.ui" line="14"/> <location filename="../src/mainwindow.ui" line="14"/>
<location filename="../src/mainwindow.cpp" line="571"/> <location filename="../src/mainwindow.cpp" line="572"/>
<source>kylin-nm</source> <source>kylin-nm</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="387"/> <location filename="../src/mainwindow.cpp" line="387"/>
<location filename="../src/mainwindow.cpp" line="576"/> <location filename="../src/mainwindow.cpp" line="577"/>
<source>Advanced</source> <source>Advanced</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="334"/> <location filename="../src/mainwindow.cpp" line="334"/>
<location filename="../src/mainwindow.cpp" line="1193"/> <location filename="../src/mainwindow.cpp" line="1220"/>
<location filename="../src/mainwindow.cpp" line="2361"/> <location filename="../src/mainwindow.cpp" line="2398"/>
<source>Ethernet</source> <source>Ethernet</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1239,7 +1239,7 @@
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="348"/> <location filename="../src/mainwindow.cpp" line="348"/>
<location filename="../src/mainwindow.cpp" line="1248"/> <location filename="../src/mainwindow.cpp" line="1275"/>
<source>Wifi</source> <source>Wifi</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1254,29 +1254,29 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1159"/> <location filename="../src/mainwindow.cpp" line="1186"/>
<source>No wireless card detected</source> <source>No wireless card detected</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1278"/> <location filename="../src/mainwindow.cpp" line="1305"/>
<location filename="../src/mainwindow.cpp" line="1343"/> <location filename="../src/mainwindow.cpp" line="1370"/>
<location filename="../src/mainwindow.cpp" line="1566"/> <location filename="../src/mainwindow.cpp" line="1603"/>
<location filename="../src/mainwindow.cpp" line="2375"/> <location filename="../src/mainwindow.cpp" line="2412"/>
<location filename="../src/mainwindow.cpp" line="2448"/> <location filename="../src/mainwindow.cpp" line="2485"/>
<source>Not connected</source> <source>Not connected</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1281"/> <location filename="../src/mainwindow.cpp" line="1308"/>
<location filename="../src/mainwindow.cpp" line="1345"/> <location filename="../src/mainwindow.cpp" line="1372"/>
<location filename="../src/mainwindow.cpp" line="1487"/> <location filename="../src/mainwindow.cpp" line="1514"/>
<location filename="../src/mainwindow.cpp" line="1488"/> <location filename="../src/mainwindow.cpp" line="1515"/>
<location filename="../src/mainwindow.cpp" line="1569"/> <location filename="../src/mainwindow.cpp" line="1606"/>
<location filename="../src/mainwindow.cpp" line="1664"/> <location filename="../src/mainwindow.cpp" line="1701"/>
<location filename="../src/mainwindow.cpp" line="1836"/> <location filename="../src/mainwindow.cpp" line="1873"/>
<location filename="../src/mainwindow.cpp" line="2377"/> <location filename="../src/mainwindow.cpp" line="2414"/>
<location filename="../src/mainwindow.cpp" line="2450"/> <location filename="../src/mainwindow.cpp" line="2487"/>
<source>Disconnected</source> <source>Disconnected</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1296,79 +1296,84 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="575"/> <location filename="../src/mainwindow.cpp" line="576"/>
<source>Show MainWindow</source> <source>Show MainWindow</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1445"/> <location filename="../src/mainwindow.cpp" line="1472"/>
<source>NetOn,IfName:</source> <source>NetOn,IfName:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1511"/> <location filename="../src/mainwindow.cpp" line="1538"/>
<source>No Other Wired Network Scheme</source> <source>No Other Wired Network Scheme</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1686"/> <location filename="../src/mainwindow.cpp" line="1723"/>
<source>No Other Wireless Network Scheme</source> <source>No Other Wireless Network Scheme</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1859"/> <location filename="../src/mainwindow.cpp" line="1896"/>
<location filename="../src/mainwindow.cpp" line="1863"/> <location filename="../src/mainwindow.cpp" line="1900"/>
<location filename="../src/mainwindow.cpp" line="1868"/> <location filename="../src/mainwindow.cpp" line="1905"/>
<location filename="../src/mainwindow.cpp" line="1872"/> <location filename="../src/mainwindow.cpp" line="1909"/>
<source>Wired connection</source> <source>Wired connection</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1877"/> <location filename="../src/mainwindow.cpp" line="1914"/>
<location filename="../src/mainwindow.cpp" line="1881"/> <location filename="../src/mainwindow.cpp" line="1918"/>
<location filename="../src/mainwindow.cpp" line="1886"/> <location filename="../src/mainwindow.cpp" line="1923"/>
<location filename="../src/mainwindow.cpp" line="1890"/> <location filename="../src/mainwindow.cpp" line="1927"/>
<source>Ethernet connection</source> <source>Ethernet connection</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2640"/> <location filename="../src/mainwindow.cpp" line="2677"/>
<source>Without Lan Cable</source> <source>Without Lan Cable</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2648"/> <location filename="../src/mainwindow.cpp" line="2685"/>
<source>MAC Address Mismatch</source> <source>MAC Address Mismatch</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2674"/> <location filename="../src/mainwindow.cpp" line="2711"/>
<source>Confirm your Wi-Fi password or usable of wireless card</source> <source>Confirm your Wi-Fi password or usable of wireless card</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1439"/> <location filename="../src/mainwindow.cpp" line="2716"/>
<location filename="../src/mainwindow.cpp" line="1642"/> <source>Confirm your Wi-Fi password</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1466"/>
<location filename="../src/mainwindow.cpp" line="1679"/>
<source>NetOn,</source> <source>NetOn,</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2298"/> <location filename="../src/mainwindow.cpp" line="2335"/>
<source>Wired net is disconnected</source> <source>Wired net is disconnected</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2324"/> <location filename="../src/mainwindow.cpp" line="2361"/>
<source>Wi-Fi is disconnected</source> <source>Wi-Fi is disconnected</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2631"/> <location filename="../src/mainwindow.cpp" line="2668"/>
<source>Conn Ethernet Success</source> <source>Conn Ethernet Success</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2668"/> <location filename="../src/mainwindow.cpp" line="2705"/>
<source>Conn Wifi Success</source> <source>Conn Wifi Success</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -1433,11 +1438,6 @@
<source>Confirm your Wi-Fi password or usable of wireless card</source> <source>Confirm your Wi-Fi password or usable of wireless card</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../src/oneconnform.cpp" line="760"/>
<source>Conn Wifi Failed</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>OneLancForm</name> <name>OneLancForm</name>

Binary file not shown.

View File

@ -1368,7 +1368,7 @@
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../src/mainwindow.ui" line="14"/> <location filename="../src/mainwindow.ui" line="14"/>
<location filename="../src/mainwindow.cpp" line="571"/> <location filename="../src/mainwindow.cpp" line="572"/>
<source>kylin-nm</source> <source>kylin-nm</source>
<translation></translation> <translation></translation>
</message> </message>
@ -1378,14 +1378,14 @@
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="387"/> <location filename="../src/mainwindow.cpp" line="387"/>
<location filename="../src/mainwindow.cpp" line="576"/> <location filename="../src/mainwindow.cpp" line="577"/>
<source>Advanced</source> <source>Advanced</source>
<translation>Gelişmiş</translation> <translation>Gelişmiş</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="334"/> <location filename="../src/mainwindow.cpp" line="334"/>
<location filename="../src/mainwindow.cpp" line="1193"/> <location filename="../src/mainwindow.cpp" line="1220"/>
<location filename="../src/mainwindow.cpp" line="2361"/> <location filename="../src/mainwindow.cpp" line="2398"/>
<source>Ethernet</source> <source>Ethernet</source>
<translation>Kablolu </translation> <translation>Kablolu </translation>
</message> </message>
@ -1395,7 +1395,7 @@
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="348"/> <location filename="../src/mainwindow.cpp" line="348"/>
<location filename="../src/mainwindow.cpp" line="1248"/> <location filename="../src/mainwindow.cpp" line="1275"/>
<source>Wifi</source> <source>Wifi</source>
<translation>Wi-Fi</translation> <translation>Wi-Fi</translation>
</message> </message>
@ -1418,93 +1418,98 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="575"/> <location filename="../src/mainwindow.cpp" line="576"/>
<source>Show MainWindow</source> <source>Show MainWindow</source>
<translation>Ana Pencereyi Göster</translation> <translation>Ana Pencereyi Göster</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1159"/> <location filename="../src/mainwindow.cpp" line="1186"/>
<source>No wireless card detected</source> <source>No wireless card detected</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1278"/> <location filename="../src/mainwindow.cpp" line="1305"/>
<location filename="../src/mainwindow.cpp" line="1343"/> <location filename="../src/mainwindow.cpp" line="1370"/>
<location filename="../src/mainwindow.cpp" line="1566"/> <location filename="../src/mainwindow.cpp" line="1603"/>
<location filename="../src/mainwindow.cpp" line="2375"/> <location filename="../src/mainwindow.cpp" line="2412"/>
<location filename="../src/mainwindow.cpp" line="2448"/> <location filename="../src/mainwindow.cpp" line="2485"/>
<source>Not connected</source> <source>Not connected</source>
<translation>Bağlanamadı</translation> <translation>Bağlanamadı</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1281"/> <location filename="../src/mainwindow.cpp" line="1308"/>
<location filename="../src/mainwindow.cpp" line="1345"/> <location filename="../src/mainwindow.cpp" line="1372"/>
<location filename="../src/mainwindow.cpp" line="1487"/> <location filename="../src/mainwindow.cpp" line="1514"/>
<location filename="../src/mainwindow.cpp" line="1488"/> <location filename="../src/mainwindow.cpp" line="1515"/>
<location filename="../src/mainwindow.cpp" line="1569"/> <location filename="../src/mainwindow.cpp" line="1606"/>
<location filename="../src/mainwindow.cpp" line="1664"/> <location filename="../src/mainwindow.cpp" line="1701"/>
<location filename="../src/mainwindow.cpp" line="1836"/> <location filename="../src/mainwindow.cpp" line="1873"/>
<location filename="../src/mainwindow.cpp" line="2377"/> <location filename="../src/mainwindow.cpp" line="2414"/>
<location filename="../src/mainwindow.cpp" line="2450"/> <location filename="../src/mainwindow.cpp" line="2487"/>
<source>Disconnected</source> <source>Disconnected</source>
<translation>Bağlantı Kesildi</translation> <translation>Bağlantı Kesildi</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1445"/> <location filename="../src/mainwindow.cpp" line="1472"/>
<source>NetOn,IfName:</source> <source>NetOn,IfName:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1511"/> <location filename="../src/mainwindow.cpp" line="1538"/>
<source>No Other Wired Network Scheme</source> <source>No Other Wired Network Scheme</source>
<translation type="unfinished">Başka Kablolu Düzeni Yok</translation> <translation type="unfinished">Başka Kablolu Düzeni Yok</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1686"/> <location filename="../src/mainwindow.cpp" line="1723"/>
<source>No Other Wireless Network Scheme</source> <source>No Other Wireless Network Scheme</source>
<translation type="unfinished">Başka Kablosuz Düzeni Yok</translation> <translation type="unfinished">Başka Kablosuz Düzeni Yok</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1859"/> <location filename="../src/mainwindow.cpp" line="1896"/>
<location filename="../src/mainwindow.cpp" line="1863"/> <location filename="../src/mainwindow.cpp" line="1900"/>
<location filename="../src/mainwindow.cpp" line="1868"/> <location filename="../src/mainwindow.cpp" line="1905"/>
<location filename="../src/mainwindow.cpp" line="1872"/> <location filename="../src/mainwindow.cpp" line="1909"/>
<source>Wired connection</source> <source>Wired connection</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1877"/> <location filename="../src/mainwindow.cpp" line="1914"/>
<location filename="../src/mainwindow.cpp" line="1881"/> <location filename="../src/mainwindow.cpp" line="1918"/>
<location filename="../src/mainwindow.cpp" line="1886"/> <location filename="../src/mainwindow.cpp" line="1923"/>
<location filename="../src/mainwindow.cpp" line="1890"/> <location filename="../src/mainwindow.cpp" line="1927"/>
<source>Ethernet connection</source> <source>Ethernet connection</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2298"/> <location filename="../src/mainwindow.cpp" line="2335"/>
<source>Wired net is disconnected</source> <source>Wired net is disconnected</source>
<translation type="unfinished">Kablolu bağlantısı kesildi</translation> <translation type="unfinished">Kablolu bağlantısı kesildi</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2324"/> <location filename="../src/mainwindow.cpp" line="2361"/>
<source>Wi-Fi is disconnected</source> <source>Wi-Fi is disconnected</source>
<translation type="unfinished">Kablosuz bağlantı kesildi</translation> <translation type="unfinished">Kablosuz bağlantı kesildi</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2640"/> <location filename="../src/mainwindow.cpp" line="2677"/>
<source>Without Lan Cable</source> <source>Without Lan Cable</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2648"/> <location filename="../src/mainwindow.cpp" line="2685"/>
<source>MAC Address Mismatch</source> <source>MAC Address Mismatch</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2674"/> <location filename="../src/mainwindow.cpp" line="2711"/>
<source>Confirm your Wi-Fi password or usable of wireless card</source> <source>Confirm your Wi-Fi password or usable of wireless card</source>
<translation type="unfinished">Kablosuz şifrenizi veya kablosuz kart kullanılabilirliğini onaylayın</translation> <translation type="unfinished">Kablosuz şifrenizi veya kablosuz kart kullanılabilirliğini onaylayın</translation>
</message> </message>
<message>
<location filename="../src/mainwindow.cpp" line="2716"/>
<source>Confirm your Wi-Fi password</source>
<translation type="unfinished">Wi-Fi parolasını doğrula</translation>
</message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="217"/> <location filename="../src/mainwindow.cpp" line="217"/>
<source>Ethernet Networks</source> <source>Ethernet Networks</source>
@ -1526,8 +1531,8 @@
<translation type="unfinished">Listede kullanılabilir yok</translation> <translation type="unfinished">Listede kullanılabilir yok</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1439"/> <location filename="../src/mainwindow.cpp" line="1466"/>
<location filename="../src/mainwindow.cpp" line="1642"/> <location filename="../src/mainwindow.cpp" line="1679"/>
<source>NetOn,</source> <source>NetOn,</source>
<translation></translation> <translation></translation>
</message> </message>
@ -1561,7 +1566,7 @@
<translation type="vanished">Kablosuz listesini şimdi güncelle</translation> <translation type="vanished">Kablosuz listesini şimdi güncelle</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2631"/> <location filename="../src/mainwindow.cpp" line="2668"/>
<source>Conn Ethernet Success</source> <source>Conn Ethernet Success</source>
<translation>Ethernet Bağlantısı Başarılı</translation> <translation>Ethernet Bağlantısı Başarılı</translation>
</message> </message>
@ -1570,7 +1575,7 @@
<translation type="vanished">Ethernet Bağlantısı Hatası</translation> <translation type="vanished">Ethernet Bağlantısı Hatası</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2668"/> <location filename="../src/mainwindow.cpp" line="2705"/>
<source>Conn Wifi Success</source> <source>Conn Wifi Success</source>
<translation>Wi-Fi Bağlantısı Başarılı</translation> <translation>Wi-Fi Bağlantısı Başarılı</translation>
</message> </message>
@ -1667,9 +1672,8 @@
<translation type="unfinished">Kablosuz şifrenizi veya kablosuz kart kullanılabilirliğini onaylayın</translation> <translation type="unfinished">Kablosuz şifrenizi veya kablosuz kart kullanılabilirliğini onaylayın</translation>
</message> </message>
<message> <message>
<location filename="../src/oneconnform.cpp" line="760"/>
<source>Conn Wifi Failed</source> <source>Conn Wifi Failed</source>
<translation>Wifi Bağlantısı Başarısız</translation> <translation type="vanished">Wifi Bağlantısı Başarısız</translation>
</message> </message>
</context> </context>
<context> <context>

Binary file not shown.

View File

@ -1328,7 +1328,7 @@
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../src/mainwindow.ui" line="14"/> <location filename="../src/mainwindow.ui" line="14"/>
<location filename="../src/mainwindow.cpp" line="571"/> <location filename="../src/mainwindow.cpp" line="572"/>
<source>kylin-nm</source> <source>kylin-nm</source>
<translation></translation> <translation></translation>
</message> </message>
@ -1338,14 +1338,14 @@
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="387"/> <location filename="../src/mainwindow.cpp" line="387"/>
<location filename="../src/mainwindow.cpp" line="576"/> <location filename="../src/mainwindow.cpp" line="577"/>
<source>Advanced</source> <source>Advanced</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="334"/> <location filename="../src/mainwindow.cpp" line="334"/>
<location filename="../src/mainwindow.cpp" line="1193"/> <location filename="../src/mainwindow.cpp" line="1220"/>
<location filename="../src/mainwindow.cpp" line="2361"/> <location filename="../src/mainwindow.cpp" line="2398"/>
<source>Ethernet</source> <source>Ethernet</source>
<translation>线</translation> <translation>线</translation>
</message> </message>
@ -1355,7 +1355,7 @@
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="348"/> <location filename="../src/mainwindow.cpp" line="348"/>
<location filename="../src/mainwindow.cpp" line="1248"/> <location filename="../src/mainwindow.cpp" line="1275"/>
<source>Wifi</source> <source>Wifi</source>
<translation>线</translation> <translation>线</translation>
</message> </message>
@ -1378,93 +1378,98 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="575"/> <location filename="../src/mainwindow.cpp" line="576"/>
<source>Show MainWindow</source> <source>Show MainWindow</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1159"/> <location filename="../src/mainwindow.cpp" line="1186"/>
<source>No wireless card detected</source> <source>No wireless card detected</source>
<translation type="unfinished">线</translation> <translation type="unfinished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1278"/> <location filename="../src/mainwindow.cpp" line="1305"/>
<location filename="../src/mainwindow.cpp" line="1343"/> <location filename="../src/mainwindow.cpp" line="1370"/>
<location filename="../src/mainwindow.cpp" line="1566"/> <location filename="../src/mainwindow.cpp" line="1603"/>
<location filename="../src/mainwindow.cpp" line="2375"/> <location filename="../src/mainwindow.cpp" line="2412"/>
<location filename="../src/mainwindow.cpp" line="2448"/> <location filename="../src/mainwindow.cpp" line="2485"/>
<source>Not connected</source> <source>Not connected</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1281"/> <location filename="../src/mainwindow.cpp" line="1308"/>
<location filename="../src/mainwindow.cpp" line="1345"/> <location filename="../src/mainwindow.cpp" line="1372"/>
<location filename="../src/mainwindow.cpp" line="1487"/> <location filename="../src/mainwindow.cpp" line="1514"/>
<location filename="../src/mainwindow.cpp" line="1488"/> <location filename="../src/mainwindow.cpp" line="1515"/>
<location filename="../src/mainwindow.cpp" line="1569"/> <location filename="../src/mainwindow.cpp" line="1606"/>
<location filename="../src/mainwindow.cpp" line="1664"/> <location filename="../src/mainwindow.cpp" line="1701"/>
<location filename="../src/mainwindow.cpp" line="1836"/> <location filename="../src/mainwindow.cpp" line="1873"/>
<location filename="../src/mainwindow.cpp" line="2377"/> <location filename="../src/mainwindow.cpp" line="2414"/>
<location filename="../src/mainwindow.cpp" line="2450"/> <location filename="../src/mainwindow.cpp" line="2487"/>
<source>Disconnected</source> <source>Disconnected</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1445"/> <location filename="../src/mainwindow.cpp" line="1472"/>
<source>NetOn,IfName:</source> <source>NetOn,IfName:</source>
<translation type="unfinished">,:</translation> <translation type="unfinished">,:</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1511"/> <location filename="../src/mainwindow.cpp" line="1538"/>
<source>No Other Wired Network Scheme</source> <source>No Other Wired Network Scheme</source>
<translation type="unfinished">线</translation> <translation type="unfinished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1686"/> <location filename="../src/mainwindow.cpp" line="1723"/>
<source>No Other Wireless Network Scheme</source> <source>No Other Wireless Network Scheme</source>
<translation type="unfinished">线</translation> <translation type="unfinished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1859"/> <location filename="../src/mainwindow.cpp" line="1896"/>
<location filename="../src/mainwindow.cpp" line="1863"/> <location filename="../src/mainwindow.cpp" line="1900"/>
<location filename="../src/mainwindow.cpp" line="1868"/> <location filename="../src/mainwindow.cpp" line="1905"/>
<location filename="../src/mainwindow.cpp" line="1872"/> <location filename="../src/mainwindow.cpp" line="1909"/>
<source>Wired connection</source> <source>Wired connection</source>
<translation type="unfinished">线</translation> <translation type="unfinished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1877"/> <location filename="../src/mainwindow.cpp" line="1914"/>
<location filename="../src/mainwindow.cpp" line="1881"/> <location filename="../src/mainwindow.cpp" line="1918"/>
<location filename="../src/mainwindow.cpp" line="1886"/> <location filename="../src/mainwindow.cpp" line="1923"/>
<location filename="../src/mainwindow.cpp" line="1890"/> <location filename="../src/mainwindow.cpp" line="1927"/>
<source>Ethernet connection</source> <source>Ethernet connection</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2298"/> <location filename="../src/mainwindow.cpp" line="2335"/>
<source>Wired net is disconnected</source> <source>Wired net is disconnected</source>
<translation type="unfinished">线</translation> <translation type="unfinished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2324"/> <location filename="../src/mainwindow.cpp" line="2361"/>
<source>Wi-Fi is disconnected</source> <source>Wi-Fi is disconnected</source>
<translation type="unfinished">线</translation> <translation type="unfinished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2640"/> <location filename="../src/mainwindow.cpp" line="2677"/>
<source>Without Lan Cable</source> <source>Without Lan Cable</source>
<translation type="unfinished">线</translation> <translation type="unfinished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2648"/> <location filename="../src/mainwindow.cpp" line="2685"/>
<source>MAC Address Mismatch</source> <source>MAC Address Mismatch</source>
<translation type="unfinished">线MAC地址不匹配</translation> <translation type="unfinished">线MAC地址不匹配</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2674"/> <location filename="../src/mainwindow.cpp" line="2711"/>
<source>Confirm your Wi-Fi password or usable of wireless card</source> <source>Confirm your Wi-Fi password or usable of wireless card</source>
<translation type="unfinished">Wi-Fi密码或无线设备</translation> <translation type="unfinished">Wi-Fi密码或无线设备</translation>
</message> </message>
<message>
<location filename="../src/mainwindow.cpp" line="2716"/>
<source>Confirm your Wi-Fi password</source>
<translation type="unfinished">Wi-Fi密码</translation>
</message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="217"/> <location filename="../src/mainwindow.cpp" line="217"/>
<source>Ethernet Networks</source> <source>Ethernet Networks</source>
@ -1486,8 +1491,8 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="1439"/> <location filename="../src/mainwindow.cpp" line="1466"/>
<location filename="../src/mainwindow.cpp" line="1642"/> <location filename="../src/mainwindow.cpp" line="1679"/>
<source>NetOn,</source> <source>NetOn,</source>
<translation></translation> <translation></translation>
</message> </message>
@ -1521,7 +1526,7 @@
<translation type="vanished"> Wi-Fi列表</translation> <translation type="vanished"> Wi-Fi列表</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2631"/> <location filename="../src/mainwindow.cpp" line="2668"/>
<source>Conn Ethernet Success</source> <source>Conn Ethernet Success</source>
<translation>线</translation> <translation>线</translation>
</message> </message>
@ -1530,7 +1535,7 @@
<translation type="vanished">线</translation> <translation type="vanished">线</translation>
</message> </message>
<message> <message>
<location filename="../src/mainwindow.cpp" line="2668"/> <location filename="../src/mainwindow.cpp" line="2705"/>
<source>Conn Wifi Success</source> <source>Conn Wifi Success</source>
<translation>线</translation> <translation>线</translation>
</message> </message>
@ -1622,11 +1627,6 @@
<source>Confirm your Wi-Fi password or usable of wireless card</source> <source>Confirm your Wi-Fi password or usable of wireless card</source>
<translation type="unfinished">Wi-Fi密码或无线设备</translation> <translation type="unfinished">Wi-Fi密码或无线设备</translation>
</message> </message>
<message>
<location filename="../src/oneconnform.cpp" line="760"/>
<source>Conn Wifi Failed</source>
<translation>线</translation>
</message>
</context> </context>
<context> <context>
<name>OneLancForm</name> <name>OneLancForm</name>