Fix bug can not translate some sentences
This commit is contained in:
parent
4b27a631c0
commit
47b8f623e0
|
@ -1706,12 +1706,6 @@ void MainWindow::getWifiListDone(QStringList slist)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug()<<"------------";
|
|
||||||
foreach (QString str, slist) {
|
|
||||||
qDebug()<<str;
|
|
||||||
}
|
|
||||||
qDebug()<<"------------";
|
|
||||||
|
|
||||||
if (current_wifi_list_state == RECONNECT_WIFI) {
|
if (current_wifi_list_state == RECONNECT_WIFI) {
|
||||||
QStringList targetWifiList = connectableWifiPriorityList(slist);
|
QStringList targetWifiList = connectableWifiPriorityList(slist);
|
||||||
if (!targetWifiList.isEmpty()) {
|
if (!targetWifiList.isEmpty()) {
|
||||||
|
@ -3067,9 +3061,11 @@ void MainWindow::on_btnHotspotState()
|
||||||
//执行wifi的重新连接
|
//执行wifi的重新连接
|
||||||
void MainWindow::toReconnectWifi()
|
void MainWindow::toReconnectWifi()
|
||||||
{
|
{
|
||||||
|
if (isHuaWeiPC) {
|
||||||
current_wifi_list_state = RECONNECT_WIFI;
|
current_wifi_list_state = RECONNECT_WIFI;
|
||||||
this->ksnm->execGetWifiList(this->wcardname);
|
this->ksnm->execGetWifiList(this->wcardname);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//处理外界对网络的连接与断开
|
//处理外界对网络的连接与断开
|
||||||
void MainWindow::onExternalConnectionChange(QString type, bool isConnUp)
|
void MainWindow::onExternalConnectionChange(QString type, bool isConnUp)
|
||||||
|
|
Binary file not shown.
|
@ -121,6 +121,16 @@
|
||||||
<source>Add Wired Network</source>
|
<source>Add Wired Network</source>
|
||||||
<translation type="unfinished">新建有线网络</translation>
|
<translation type="unfinished">新建有线网络</translation>
|
||||||
</message>
|
</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>
|
<message>
|
||||||
<source>create wired network successfully</source>
|
<source>create wired network successfully</source>
|
||||||
<translation type="obsolete">已创建新的有线网络</translation>
|
<translation type="obsolete">已创建新的有线网络</translation>
|
||||||
|
@ -1326,13 +1336,6 @@
|
||||||
<translation type="obsolete">WPA 及 WPA2 企业</translation>
|
<translation type="obsolete">WPA 及 WPA2 企业</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
|
||||||
<name>KylinDBus</name>
|
|
||||||
<message>
|
|
||||||
<source>kylin network applet desktop message</source>
|
|
||||||
<translation type="obsolete">麒麟网络工具信息提示</translation>
|
|
||||||
</message>
|
|
||||||
</context>
|
|
||||||
<context>
|
<context>
|
||||||
<name>MainWindow</name>
|
<name>MainWindow</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1752,14 +1755,14 @@
|
||||||
<context>
|
<context>
|
||||||
<name>Utils</name>
|
<name>Utils</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/utils.cpp" line="84"/>
|
<location filename="../src/utils.cpp" line="88"/>
|
||||||
<source>kylin-nm</source>
|
<source>kylin-nm</source>
|
||||||
<translation type="unfinished">网络工具</translation>
|
<translation type="unfinished">网络工具</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/utils.cpp" line="87"/>
|
<location filename="../src/utils.cpp" line="91"/>
|
||||||
<source>kylin network applet desktop message</source>
|
<source>kylin network applet desktop message</source>
|
||||||
<translation type="unfinished">麒麟网络工具信息提示</translation>
|
<translation>麒麟网络工具信息提示</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
|
Loading…
Reference in New Issue