VPN大写

This commit is contained in:
zhangyuanyuan1 2023-04-21 10:16:06 +08:00
parent 9c9462bd26
commit 2a9acb3398
4 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ ItemFrame::ItemFrame(QWidget *parent)
m_vpnVLayout->setContentsMargins(LAYOUT_MARGINS); m_vpnVLayout->setContentsMargins(LAYOUT_MARGINS);
m_vpnVLayout->setSpacing(1); m_vpnVLayout->setSpacing(1);
m_addVpnWidget = new AddNetBtn(false, this); m_addVpnWidget = new AddNetBtn(false, this);
m_addVpnWidget->setTextLabel(tr("Add Vpn")); m_addVpnWidget->setTextLabel(tr("Add VPN"));
m_mainVLayout->setSpacing(1); m_mainVLayout->setSpacing(1);
setLayout(m_mainVLayout); setLayout(m_mainVLayout);

Binary file not shown.

View File

@ -18,7 +18,7 @@
<name>ItemFrame</name> <name>ItemFrame</name>
<message> <message>
<location filename="../itemframe.cpp" line="38"/> <location filename="../itemframe.cpp" line="38"/>
<source>Add Vpn</source> <source>Add VPN</source>
<translation>VPN</translation> <translation>VPN</translation>
</message> </message>
</context> </context>
@ -36,7 +36,7 @@
</message> </message>
<message> <message>
<location filename="../vpn.cpp" line="68"/> <location filename="../vpn.cpp" line="68"/>
<source>Vpn</source> <source>VPN</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>

View File

@ -65,7 +65,7 @@ Vpn::Vpn() : m_firstLoad(true)
translator->load("/usr/share/kylin-nm/vpn/" + QLocale::system().name()); translator->load("/usr/share/kylin-nm/vpn/" + QLocale::system().name());
QApplication::installTranslator(translator); QApplication::installTranslator(translator);
m_pluginName = tr("Vpn"); m_pluginName = tr("VPN");
m_pluginType = NETWORK; m_pluginType = NETWORK;
} }