Merge branch 'dbus-interface-fork' into 'dbus-interface'
解决移动热点界面密码输入框错位问题 See merge request kylin-desktop/kylin-nm!653
This commit is contained in:
commit
aaea24da26
|
@ -34,6 +34,8 @@
|
|||
#define LINE_MAX_SIZE 16777215, 1
|
||||
#define LINE_MIN_SIZE 0, 1
|
||||
#define ICON_SIZE 24,24
|
||||
#define PASSWORD_FRAME_MIN_HIGHT 60
|
||||
#define PASSWORD_FRAME_FIX_HIGHT 80
|
||||
#define PASSWORD_FRAME_MIN_SIZE 550, 60
|
||||
#define PASSWORD_FRAME_MAX_SIZE 16777215, 86
|
||||
#define PASSWORD_ITEM_MARGINS 16, 12, 16, 14
|
||||
|
@ -176,16 +178,28 @@ void MobileHotspotWidget::paintEvent(QPaintEvent *event)
|
|||
QWidget::paintEvent(event);
|
||||
}
|
||||
|
||||
void MobileHotspotWidget::resetFrameSize()
|
||||
{
|
||||
int height = 0;
|
||||
for (int i = 0; i < m_hotspotFrame->layout()->count(); i ++) {
|
||||
QWidget *w = m_hotspotFrame->layout()->itemAt(i)->widget();
|
||||
if (w != nullptr) {
|
||||
height += w->height();
|
||||
}
|
||||
}
|
||||
m_hotspotFrame->setFixedHeight(height);
|
||||
}
|
||||
|
||||
void MobileHotspotWidget::initUI()
|
||||
{
|
||||
QFrame *hotspotFrame = new QFrame(this);
|
||||
hotspotFrame->setMinimumSize(FRAME_MIN_SIZE);
|
||||
hotspotFrame->setMaximumSize(FRAME_MAX_SIZE);
|
||||
hotspotFrame->setFrameShape(QFrame::Box);
|
||||
m_hotspotFrame = new QFrame(this);
|
||||
m_hotspotFrame->setMinimumSize(FRAME_MIN_SIZE);
|
||||
m_hotspotFrame->setMaximumSize(FRAME_MAX_SIZE);
|
||||
m_hotspotFrame->setFrameShape(QFrame::Box);
|
||||
|
||||
QVBoxLayout *hotspotLyt = new QVBoxLayout(this);
|
||||
hotspotLyt->setContentsMargins(0, 0, 0, 0);
|
||||
hotspotFrame->setLayout(hotspotLyt);
|
||||
m_hotspotFrame->setLayout(hotspotLyt);
|
||||
|
||||
m_hotspotTitleLabel = new TitleLabel(this);
|
||||
m_hotspotTitleLabel->setText(tr("Hotspot"));
|
||||
|
@ -212,18 +226,11 @@ void MobileHotspotWidget::initUI()
|
|||
hotspotLyt->addWidget(m_interfaceFrame);
|
||||
hotspotLyt->setSpacing(0);
|
||||
|
||||
int height = 0;
|
||||
for (int i = 0; i < hotspotLyt->count(); i ++) {
|
||||
QWidget *w = hotspotLyt->itemAt(i)->widget();
|
||||
if (w != nullptr) {
|
||||
height += w->height();
|
||||
}
|
||||
}
|
||||
hotspotFrame->setFixedHeight(height);
|
||||
resetFreamSize();
|
||||
|
||||
m_Vlayout->addWidget(m_hotspotTitleLabel);
|
||||
m_Vlayout->addSpacing(8);
|
||||
m_Vlayout->addWidget(hotspotFrame);
|
||||
m_Vlayout->addWidget(m_hotspotFrame);
|
||||
|
||||
}
|
||||
|
||||
|
@ -272,13 +279,14 @@ void MobileHotspotWidget::onApLineEditTextEdit(QString text)
|
|||
void MobileHotspotWidget::onPwdTextChanged()
|
||||
{
|
||||
if (m_pwdNameLine->text().length() < 8) {
|
||||
m_passwordFrame->setFixedHeight(PASSWORD_FRAME_FIX_HIGHT);
|
||||
m_pwdHintLabel->show();
|
||||
m_pwdHintLabel->setText(tr("Contains at least 8 characters")); //至少包含8个字符
|
||||
} else {
|
||||
m_pwdHintLabel->clear();
|
||||
m_passwordFrame->setFixedHeight(PASSWORD_FRAME_MIN_HIGHT);
|
||||
m_pwdHintLabel->hide();
|
||||
}
|
||||
|
||||
resetFreamSize();
|
||||
this->update();
|
||||
}
|
||||
|
||||
void MobileHotspotWidget::onActiveConnectionChanged(QString deviceName, QString ssid, QString uuid, int status)
|
||||
|
@ -466,8 +474,6 @@ void MobileHotspotWidget::setPasswordFrame()
|
|||
m_passwordFrame->setMinimumSize(PASSWORD_FRAME_MIN_SIZE);
|
||||
m_passwordFrame->setMaximumSize(PASSWORD_FRAME_MAX_SIZE);
|
||||
|
||||
QHBoxLayout *passwordHLayout = new QHBoxLayout(m_passwordFrame);
|
||||
|
||||
m_pwdLabel = new QLabel(tr("Password"), this);
|
||||
m_pwdLabel->setMinimumWidth(LABLE_MIN_WIDTH);
|
||||
m_pwdNameLine = new KPasswordEdit(this);
|
||||
|
@ -480,8 +486,9 @@ void MobileHotspotWidget::setPasswordFrame()
|
|||
QPalette hintTextColor;
|
||||
hintTextColor.setColor(QPalette::WindowText, Qt::red);
|
||||
m_pwdHintLabel->setPalette(hintTextColor);
|
||||
m_pwdHintLabel->setText(tr("Contains at least 8 characters")); //至少包含8个字符
|
||||
|
||||
QWidget *pwdInputWidget = new QWidget(this);
|
||||
QWidget *pwdInputWidget = new QWidget(m_passwordFrame);
|
||||
QVBoxLayout *pwdInputVLayout = new QVBoxLayout(pwdInputWidget);
|
||||
pwdInputVLayout->setContentsMargins(CONTENTS_MARGINS);
|
||||
pwdInputVLayout->setSpacing(0);
|
||||
|
@ -493,6 +500,8 @@ void MobileHotspotWidget::setPasswordFrame()
|
|||
pwdLayout->setSpacing(0);
|
||||
pwdLayout->addRow(m_pwdLabel, pwdInputWidget);
|
||||
|
||||
m_passwordFrame->setLayout(pwdLayout);
|
||||
|
||||
m_pwdNameLine->installEventFilter(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -57,6 +57,7 @@ public:
|
|||
~MobileHotspotWidget();
|
||||
|
||||
private:
|
||||
QFrame *m_hotspotFrame = nullptr;
|
||||
QFrame *m_switchFrame = nullptr; //开关
|
||||
QFrame *m_ApNameFrame = nullptr; //wifi名称
|
||||
QFrame *m_passwordFrame = nullptr; //密码
|
||||
|
@ -95,6 +96,7 @@ private:
|
|||
QString m_uuid = "";
|
||||
QString m_hostName = "";
|
||||
|
||||
void resetFrameSize();
|
||||
void initUI();
|
||||
void initDbusConnect();
|
||||
void initInterfaceInfo();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<context>
|
||||
<name>BlacklistItem</name>
|
||||
<message>
|
||||
<location filename="../blacklistitem.cpp" line="32"/>
|
||||
<location filename="../blacklistitem.cpp" line="49"/>
|
||||
<source>Remove</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<context>
|
||||
<name>BlacklistPage</name>
|
||||
<message>
|
||||
<location filename="../blacklistpage.cpp" line="26"/>
|
||||
<location filename="../blacklistpage.cpp" line="45"/>
|
||||
<source>Blacklist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<context>
|
||||
<name>ConnectDevListItem</name>
|
||||
<message>
|
||||
<location filename="../connectdevlistitem.cpp" line="31"/>
|
||||
<location filename="../connectdevlistitem.cpp" line="49"/>
|
||||
<source>drag into blacklist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<context>
|
||||
<name>ConnectdevPage</name>
|
||||
<message>
|
||||
<location filename="../connectdevpage.cpp" line="27"/>
|
||||
<location filename="../connectdevpage.cpp" line="46"/>
|
||||
<source>Connect device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -56,79 +56,79 @@
|
|||
<context>
|
||||
<name>MobileHotspotWidget</name>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="38"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="59"/>
|
||||
<source>ukui control center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="41"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="62"/>
|
||||
<source>ukui control center desktop message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="117"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="138"/>
|
||||
<source>wirless switch is close or no wireless device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="121"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="142"/>
|
||||
<source>start to close hotspot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="130"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="151"/>
|
||||
<source>hotpots name or device is invalid</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="137"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="158"/>
|
||||
<source>start to open hotspot </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="257"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="489"/>
|
||||
<source>Contains at least 8 characters</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="172"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="205"/>
|
||||
<source>Hotspot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="268"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="582"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="295"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="610"/>
|
||||
<source>hotspot already close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="408"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="435"/>
|
||||
<source>Open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="429"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="456"/>
|
||||
<source>Wi-Fi Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="452"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="477"/>
|
||||
<source>Password</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="490"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="518"/>
|
||||
<source>Frequency band</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="516"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="544"/>
|
||||
<source>Net card</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="611"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="619"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="639"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="647"/>
|
||||
<source>hotspot already open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<context>
|
||||
<name>BlacklistItem</name>
|
||||
<message>
|
||||
<location filename="../blacklistitem.cpp" line="30"/>
|
||||
<location filename="../blacklistitem.cpp" line="49"/>
|
||||
<source>Remove</source>
|
||||
<translation>སྤོ་སྐྱོད་བྱས་པ།</translation>
|
||||
</message>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<context>
|
||||
<name>BlacklistPage</name>
|
||||
<message>
|
||||
<location filename="../blacklistpage.cpp" line="26"/>
|
||||
<location filename="../blacklistpage.cpp" line="45"/>
|
||||
<source>Blacklist</source>
|
||||
<translation>སྒྲིག་ཆས་ཀྱི་མིང་ཐོ་ནག་པོ།</translation>
|
||||
</message>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<context>
|
||||
<name>ConnectDevListItem</name>
|
||||
<message>
|
||||
<location filename="../connectdevlistitem.cpp" line="30"/>
|
||||
<location filename="../connectdevlistitem.cpp" line="49"/>
|
||||
<source>drag into blacklist</source>
|
||||
<translation>མིང་ཐོ་ནག་པོའི་ཁ་སྣོན་རྒྱག་པ།</translation>
|
||||
</message>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<context>
|
||||
<name>ConnectdevPage</name>
|
||||
<message>
|
||||
<location filename="../connectdevpage.cpp" line="27"/>
|
||||
<location filename="../connectdevpage.cpp" line="46"/>
|
||||
<source>Connect device</source>
|
||||
<translation>འབྲེལ་མཐུད་སྒྲིག་ཆས།</translation>
|
||||
</message>
|
||||
|
@ -56,27 +56,27 @@
|
|||
<context>
|
||||
<name>MobileHotspotWidget</name>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="38"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="59"/>
|
||||
<source>ukui control center</source>
|
||||
<translation>ཝུའུ་ཁི་ལན་གྱི་ཚོད་འཛིན་ལྟེ་གནས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="41"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="62"/>
|
||||
<source>ukui control center desktop message</source>
|
||||
<translation>ukui ཚོད་འཛིན་ལྟེ་གནས་ཀྱི་ཅོག་ངོས་ཆ་འཕྲིན།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="117"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="138"/>
|
||||
<source>wirless switch is close or no wireless device</source>
|
||||
<translation>སྐུད་མེད་གློག་སྒོ་རྒྱག་པའམ་ཡང་ན་སྐུད་མེད་སྒྲིག་ཆས་མེད་པ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="121"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="142"/>
|
||||
<source>start to close hotspot</source>
|
||||
<translation>སྒོ་རྒྱག་འགོ་བརྩམས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="130"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="151"/>
|
||||
<source>hotpots name or device is invalid</source>
|
||||
<translation>ཚ་བ་ཆེ་བའི་མིང་ངམ་སྒྲིག་ཆས་ལ་ནུས་པ་མེད།</translation>
|
||||
</message>
|
||||
|
@ -85,54 +85,54 @@
|
|||
<translation type="vanished">གསང་གྲངས་ཀྱི་རིང་ཚད་ནི་གླེང་མང་བའི་གནད་དོན་བརྒྱད་ལས་ཆུང་བ་བྱེད་མི་རུང་།!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="137"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="158"/>
|
||||
<source>start to open hotspot </source>
|
||||
<translation>ཀུན་གྱིས་དོ་སྣང་བྱེད་ཡུལ་གསར་སྐྲུན་བྱེད་འགོ་ </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="257"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="489"/>
|
||||
<source>Contains at least 8 characters</source>
|
||||
<translation>མ་མཐར་ཡང་ཡིག་རྟགས་བརྒྱད་འདུས་ཡོད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="172"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="205"/>
|
||||
<source>Hotspot</source>
|
||||
<translation>ཚ་བ་ཆེ་བ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="268"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="582"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="295"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="610"/>
|
||||
<source>hotspot already close</source>
|
||||
<translation>ཚ་བ་ཆེ་བའི་གནད་དོན་ཐག་ཉེ་རུ་སོང་ཡོད།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="408"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="435"/>
|
||||
<source>Open</source>
|
||||
<translation>སྒོ་ཕྱེ་བ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="429"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="456"/>
|
||||
<source>Wi-Fi Name</source>
|
||||
<translation>Wi-Fiཡི་མིང་།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="452"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="477"/>
|
||||
<source>Password</source>
|
||||
<translation>གསང་གྲངས།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="490"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="518"/>
|
||||
<source>Frequency band</source>
|
||||
<translation>ཐེངས་གྲངས་ཀྱི་རོལ་ཆའི་རུ་ཁག</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="516"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="544"/>
|
||||
<source>Net card</source>
|
||||
<translation>དྲ་རྒྱའི་བྱང་བུ།</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="611"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="619"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="639"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="647"/>
|
||||
<source>hotspot already open</source>
|
||||
<translation>ཚ་བ་ཆེ་བའི་གནད་དོན་དེ་སྒོ་ཕྱེ་ཟིན།</translation>
|
||||
</message>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<context>
|
||||
<name>BlacklistItem</name>
|
||||
<message>
|
||||
<location filename="../blacklistitem.cpp" line="32"/>
|
||||
<location filename="../blacklistitem.cpp" line="49"/>
|
||||
<source>Remove</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<context>
|
||||
<name>BlacklistPage</name>
|
||||
<message>
|
||||
<location filename="../blacklistpage.cpp" line="26"/>
|
||||
<location filename="../blacklistpage.cpp" line="45"/>
|
||||
<source>Blacklist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<context>
|
||||
<name>ConnectDevListItem</name>
|
||||
<message>
|
||||
<location filename="../connectdevlistitem.cpp" line="31"/>
|
||||
<location filename="../connectdevlistitem.cpp" line="49"/>
|
||||
<source>drag into blacklist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<context>
|
||||
<name>ConnectdevPage</name>
|
||||
<message>
|
||||
<location filename="../connectdevpage.cpp" line="27"/>
|
||||
<location filename="../connectdevpage.cpp" line="46"/>
|
||||
<source>Connect device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -56,79 +56,79 @@
|
|||
<context>
|
||||
<name>MobileHotspotWidget</name>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="38"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="59"/>
|
||||
<source>ukui control center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="41"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="62"/>
|
||||
<source>ukui control center desktop message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="117"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="138"/>
|
||||
<source>wirless switch is close or no wireless device</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="121"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="142"/>
|
||||
<source>start to close hotspot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="130"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="151"/>
|
||||
<source>hotpots name or device is invalid</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="137"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="158"/>
|
||||
<source>start to open hotspot </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="257"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="489"/>
|
||||
<source>Contains at least 8 characters</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="172"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="205"/>
|
||||
<source>Hotspot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="268"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="582"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="295"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="610"/>
|
||||
<source>hotspot already close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="408"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="435"/>
|
||||
<source>Open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="429"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="456"/>
|
||||
<source>Wi-Fi Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="452"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="477"/>
|
||||
<source>Password</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="490"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="518"/>
|
||||
<source>Frequency band</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="516"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="544"/>
|
||||
<source>Net card</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="611"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="619"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="639"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="647"/>
|
||||
<source>hotspot already open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<context>
|
||||
<name>BlacklistItem</name>
|
||||
<message>
|
||||
<location filename="../blacklistitem.cpp" line="32"/>
|
||||
<location filename="../blacklistitem.cpp" line="49"/>
|
||||
<source>Remove</source>
|
||||
<translation>移出</translation>
|
||||
</message>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<context>
|
||||
<name>BlacklistPage</name>
|
||||
<message>
|
||||
<location filename="../blacklistpage.cpp" line="26"/>
|
||||
<location filename="../blacklistpage.cpp" line="45"/>
|
||||
<source>Blacklist</source>
|
||||
<translation>设备黑名单</translation>
|
||||
</message>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<context>
|
||||
<name>ConnectDevListItem</name>
|
||||
<message>
|
||||
<location filename="../connectdevlistitem.cpp" line="31"/>
|
||||
<location filename="../connectdevlistitem.cpp" line="49"/>
|
||||
<source>drag into blacklist</source>
|
||||
<translation>添加进黑名单</translation>
|
||||
</message>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<context>
|
||||
<name>ConnectdevPage</name>
|
||||
<message>
|
||||
<location filename="../connectdevpage.cpp" line="27"/>
|
||||
<location filename="../connectdevpage.cpp" line="46"/>
|
||||
<source>Connect device</source>
|
||||
<translation>连接设备</translation>
|
||||
</message>
|
||||
|
@ -56,27 +56,27 @@
|
|||
<context>
|
||||
<name>MobileHotspotWidget</name>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="38"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="59"/>
|
||||
<source>ukui control center</source>
|
||||
<translation>控制面板</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="41"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="62"/>
|
||||
<source>ukui control center desktop message</source>
|
||||
<translation>控制面板桌面通知</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="117"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="138"/>
|
||||
<source>wirless switch is close or no wireless device</source>
|
||||
<translation>无线开关已关闭或不存在有热点功能的无线网卡</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="121"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="142"/>
|
||||
<source>start to close hotspot</source>
|
||||
<translation>开始关闭热点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="130"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="151"/>
|
||||
<source>hotpots name or device is invalid</source>
|
||||
<translation>热点名称或设备错误</translation>
|
||||
</message>
|
||||
|
@ -85,54 +85,54 @@
|
|||
<translation type="vanished">不能创建密码长度小于八位的热点!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="137"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="158"/>
|
||||
<source>start to open hotspot </source>
|
||||
<translation>开始创建热点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="257"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="489"/>
|
||||
<source>Contains at least 8 characters</source>
|
||||
<translation>至少包含8个字符</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="172"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="205"/>
|
||||
<source>Hotspot</source>
|
||||
<translation>移动热点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="268"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="582"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="295"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="610"/>
|
||||
<source>hotspot already close</source>
|
||||
<translation>热点已关闭</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="408"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="435"/>
|
||||
<source>Open</source>
|
||||
<translation>开启</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="429"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="456"/>
|
||||
<source>Wi-Fi Name</source>
|
||||
<translation>Wi-Fi名称</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="452"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="477"/>
|
||||
<source>Password</source>
|
||||
<translation>网络密码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="490"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="518"/>
|
||||
<source>Frequency band</source>
|
||||
<translation>网络频带</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="516"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="544"/>
|
||||
<source>Net card</source>
|
||||
<translation>共享网卡端口</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="611"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="619"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="639"/>
|
||||
<location filename="../mobilehotspotwidget.cpp" line="647"/>
|
||||
<source>hotspot already open</source>
|
||||
<translation>热点已开启</translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue