Fix bug can not translate some sentences

This commit is contained in:
chenlelin 2021-03-26 15:18:45 +08:00
parent 4b27a631c0
commit 47b8f623e0
3 changed files with 17 additions and 18 deletions

View File

@ -1706,12 +1706,6 @@ void MainWindow::getWifiListDone(QStringList slist)
}
}
qDebug()<<"------------";
foreach (QString str, slist) {
qDebug()<<str;
}
qDebug()<<"------------";
if (current_wifi_list_state == RECONNECT_WIFI) {
QStringList targetWifiList = connectableWifiPriorityList(slist);
if (!targetWifiList.isEmpty()) {
@ -3067,9 +3061,11 @@ void MainWindow::on_btnHotspotState()
//执行wifi的重新连接
void MainWindow::toReconnectWifi()
{
if (isHuaWeiPC) {
current_wifi_list_state = RECONNECT_WIFI;
this->ksnm->execGetWifiList(this->wcardname);
}
}
//处理外界对网络的连接与断开
void MainWindow::onExternalConnectionChange(QString type, bool isConnUp)

Binary file not shown.

View File

@ -121,6 +121,16 @@
<source>Add Wired Network</source>
<translation type="unfinished">线</translation>
</message>
<message>
<location filename="../src/confform.cpp" line="451"/>
<source>kylin-nm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/confform.cpp" line="454"/>
<source>kylin network applet desktop message</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>create wired network successfully</source>
<translation type="obsolete">线</translation>
@ -1326,13 +1336,6 @@
<translation type="obsolete">WPA WPA2 </translation>
</message>
</context>
<context>
<name>KylinDBus</name>
<message>
<source>kylin network applet desktop message</source>
<translation type="obsolete"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
@ -1752,14 +1755,14 @@
<context>
<name>Utils</name>
<message>
<location filename="../src/utils.cpp" line="84"/>
<location filename="../src/utils.cpp" line="88"/>
<source>kylin-nm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/utils.cpp" line="87"/>
<location filename="../src/utils.cpp" line="91"/>
<source>kylin network applet desktop message</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
</context>
<context>