From 47b8f623e0199ad85ff6f37df341d1991021f2aa Mon Sep 17 00:00:00 2001 From: chenlelin Date: Fri, 26 Mar 2021 15:18:45 +0800 Subject: [PATCH] Fix bug can not translate some sentences --- src/mainwindow.cpp | 12 ++++-------- translations/kylin-nm_zh_CN.qm | Bin 22741 -> 22887 bytes translations/kylin-nm_zh_CN.ts | 23 +++++++++++++---------- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ac0ce45a..9d1156df 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1706,12 +1706,6 @@ void MainWindow::getWifiListDone(QStringList slist) } } - qDebug()<<"------------"; - foreach (QString str, slist) { - qDebug()<ksnm->execGetWifiList(this->wcardname); + if (isHuaWeiPC) { + current_wifi_list_state = RECONNECT_WIFI; + this->ksnm->execGetWifiList(this->wcardname); + } } //处理外界对网络的连接与断开 diff --git a/translations/kylin-nm_zh_CN.qm b/translations/kylin-nm_zh_CN.qm index 46253d4967a24e8ab4ecdf08eb70cc0eb9610c6d..d15b9448bfb7e633dca6791423afd9f35f23acb6 100644 GIT binary patch delta 2596 zcmXZdc~F#f7zglYci-J*-@Uk2V7XzrmQ&c}7L^+o5KGO;rl`bYQX#KAk{652Ta(ee zWk$mWol;Po4mB0Zm2ytCODpZDG0`#YZJc`qH5-D#Gs_ms{N zDJKyLQ81$oI@S}7brRX8k+A7&BJp(+F0UafSO$wGkh0KDRCc3lUYz z`V)AZk!E@9PkV^6@5z&Kpw$P@DW#?^7a2 zv_f;Fl4$f{MO4=uq7erbHb0)ws81BhRs3Sn8@g(tX)W~q1_lShh!-&Nu%a^S649`u zFl4-WrT=XL+g$XJjLh%H2T?&V-hJGP1!~!E5aKRYV)-PHDNSVr@Mq z+f>!!Ce9U|8G5T==s&8V1xhYIc%9BhaPkRu4~97?kVZJr@C=Lg;@DTKaEHO?G9Tm32Mp@2T8VZc@xb_6Drz_NX! z_liB-h#JLr`)!>LBGx|I$M5Th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TgJUeF!GsadS9HU3THH=ljT?o~I- z=koD9sCH)Y-s&=7pO2wmF6`?IL##0NG%PlYzEySHh)m+RE(=j^JIt>aCl+wvs^VVx z{EOxI!7UDYFN6WVz+itE{s_kS!i00s77KHS!u$$Y_?|dxO){VJE#iXC9sI&MP<(am zHlD8~p77p-38M@K7eccM#^k|-=g{^h%&ibB+xdQ8!ihb+CFY0X*`w)POA7JcDuGXl zQ{(>p3(nviO`_#fqWnOO?KJ;e@rLH@W8C7s@-*|M;0``sEt+N5$MQ^yX64RMZbWt{ z3eeCD14?1gJ1{&8M(>6RlVOsZW^3=4FtSv$b1nCiqGOsUM@98B)iUdZPM zM%i?M^)_C}a9wD^l7{P5$Pq7oi)b?RW!T{w6K%rzMD zc2D4%SO=44!a)aM&U(Y7Z6;3juZD{eE4UvlGThbG@!mh0L{!|>ct`z0Xq;r|cKi== Cg{qPO diff --git a/translations/kylin-nm_zh_CN.ts b/translations/kylin-nm_zh_CN.ts index 779d4c02..55b076a9 100644 --- a/translations/kylin-nm_zh_CN.ts +++ b/translations/kylin-nm_zh_CN.ts @@ -121,6 +121,16 @@ Add Wired Network 新建有线网络 + + + kylin-nm + 网络工具 + + + + kylin network applet desktop message + 麒麟网络工具信息提示 + create wired network successfully 已创建新的有线网络 @@ -1326,13 +1336,6 @@ WPA 及 WPA2 企业 - - KylinDBus - - kylin network applet desktop message - 麒麟网络工具信息提示 - - MainWindow @@ -1752,14 +1755,14 @@ Utils - + kylin-nm 网络工具 - + kylin network applet desktop message - 麒麟网络工具信息提示 + 麒麟网络工具信息提示