Fix bug name of wifi-auth-window not be translate to Chinese

This commit is contained in:
chenlelin 2021-04-13 14:50:04 +08:00
parent 4df0edea9d
commit 220ee1c13b
3 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,7 @@ WiFiConfigDialog::WiFiConfigDialog(QWidget *parent) :
initTransparentState(); //初始化窗口透明度的GSetting方法
this->setWindowFlags(Qt::FramelessWindowHint); //Qt::WindowStaysOnTopHint
this->setWindowTitle(tr("edit network"));//"网络设置"
this->setWindowTitle(tr("Wifi Authentication"));//"Wifi 认证"
this->setAttribute(Qt::WA_TranslucentBackground);
this->setWindowIcon(QIcon::fromTheme("kylin-network", QIcon(":/res/x/setup.png")) );

Binary file not shown.

View File

@ -1772,6 +1772,11 @@
</context>
<context>
<name>WiFiConfigDialog</name>
<message>
<location filename="../src/wificonfigdialog.cpp" line="22"/>
<source>Wifi Authentication</source>
<translation type="unfinished">Wifi </translation>
</message>
<message>
<location filename="../src/wificonfigdialog.cpp" line="32"/>
<source>Input Wi-Fi Information Please</source>