diff --git a/src/frontend/netdetails/creatnetpage.cpp b/src/frontend/netdetails/creatnetpage.cpp index 95a0fc3c..bc02b552 100644 --- a/src/frontend/netdetails/creatnetpage.cpp +++ b/src/frontend/netdetails/creatnetpage.cpp @@ -48,7 +48,7 @@ void CreatNetPage::initUI() m_secDnsLabel = new QLabel(this); m_connNameLabel->setText(tr("Connection Name")); - m_configLabel->setText(tr("Ipv4Config")); + m_configLabel->setText(tr("IPv4Config")); m_addressLabel->setText(tr("Address")); m_maskLabel->setText(tr("Netmask")); m_gateWayLabel->setText(tr("Default Gateway")); diff --git a/src/frontend/netdetails/detailpage.cpp b/src/frontend/netdetails/detailpage.cpp index fb9e6e76..10001b0a 100644 --- a/src/frontend/netdetails/detailpage.cpp +++ b/src/frontend/netdetails/detailpage.cpp @@ -243,17 +243,17 @@ void DetailPage::initUI() { m_IPV4 = new QLabel(this); m_ipv4Widget = new DetailWidget(qobject_cast(m_IPV4), m_listWidget); - m_ipv4Widget->setKey(tr("IPV4:")); + m_ipv4Widget->setKey(tr("IPv4:")); m_IPV4Dns = new QLabel(this); m_ipv4DnsWidget = new DetailWidget(qobject_cast(m_IPV4Dns), m_listWidget); - m_ipv4DnsWidget->setKey(tr("IPV4 Dns:")); + m_ipv4DnsWidget->setKey(tr("IPv4 Dns:")); m_IPV6 = new FixLabel(this); m_IPV6->setFixedWidth(MAX_LABEL_WIDTH); m_IPV6->setAlignment(Qt::AlignRight | Qt::AlignVCenter); m_ipv6Widget = new DetailWidget(qobject_cast(m_IPV6), m_listWidget); - m_ipv6Widget->setKey(tr("IPV6:")); + m_ipv6Widget->setKey(tr("IPv6:")); m_Mac = new QLabel(this); m_macWidget = new DetailWidget(qobject_cast(m_Mac), m_listWidget); @@ -322,9 +322,9 @@ void DetailPage::on_btnCopyNetDetail_clicked() QString hzCopy= tr ("Hz:"); QString chanCopy= tr ("Chan:"); QString bandwithCopy = tr("BandWidth:"); - QString ipv4Copy = tr("IPV4:"); - QString ipv4dnsCopy = tr("IPV4 Dns:"); - QString ipv6Copy = tr("IPV6:"); + QString ipv4Copy = tr("IPv4:"); + QString ipv4dnsCopy = tr("IPv4 Dns:"); + QString ipv6Copy = tr("IPv6:"); QString macCopy = tr("Mac:"); QString netDetailCopyText; diff --git a/src/frontend/netdetails/ipv4page.cpp b/src/frontend/netdetails/ipv4page.cpp index df031a82..17669b47 100644 --- a/src/frontend/netdetails/ipv4page.cpp +++ b/src/frontend/netdetails/ipv4page.cpp @@ -68,7 +68,7 @@ void Ipv4Page::initUI() { m_firstDnsEmptyLabel->setFixedHeight(LABEL_HEIGHT); - m_configLabel->setText(tr("Ipv4Config")); + m_configLabel->setText(tr("IPv4Config")); m_addressLabel->setText(tr("Address")); m_maskLabel->setText(tr("Netmask")); m_gateWayLabel->setText(tr("Default Gateway")); diff --git a/src/frontend/netdetails/ipv6page.cpp b/src/frontend/netdetails/ipv6page.cpp index 37c0aaea..c626a567 100644 --- a/src/frontend/netdetails/ipv6page.cpp +++ b/src/frontend/netdetails/ipv6page.cpp @@ -149,7 +149,7 @@ void Ipv6Page::initUI() { m_firstDnsEmptyLabel->setFixedHeight(LABEL_HEIGHT); - m_configLabel->setText(tr("Ipv6Config")); + m_configLabel->setText(tr("IPv6Config")); m_addressLabel->setText(tr("Address")); m_subnetLabel->setText(tr("Subnet prefix Length")); m_gateWayLabel->setText(tr("Default Gateway")); diff --git a/src/frontend/netdetails/netdetail.cpp b/src/frontend/netdetails/netdetail.cpp index d3ad8c2e..7c2c6c3e 100644 --- a/src/frontend/netdetails/netdetail.cpp +++ b/src/frontend/netdetails/netdetail.cpp @@ -335,8 +335,8 @@ void NetDetail::initUI() m_netTabBar = new NetTabBar(this); m_netTabBar->setTabBarStyle(KTabBarStyle::SegmentDark); m_netTabBar->addTab(tr("Detail")); //详情 - m_netTabBar->addTab(tr("Ipv4"));//Ipv4 - m_netTabBar->addTab(tr("Ipv6"));//Ipv6 + m_netTabBar->addTab(tr("IPv4"));//Ipv4 + m_netTabBar->addTab(tr("IPv6"));//Ipv6 if (isWlan) { m_netTabBar->addTab(tr("Security"));//安全 if (isActive) { diff --git a/translations/kylin-nm_bo_CN.qm b/translations/kylin-nm_bo_CN.qm index fb2d4979..ecf1d183 100644 Binary files a/translations/kylin-nm_bo_CN.qm and b/translations/kylin-nm_bo_CN.qm differ diff --git a/translations/kylin-nm_bo_CN.ts b/translations/kylin-nm_bo_CN.ts index e11cd60f..a0b8c59d 100644 --- a/translations/kylin-nm_bo_CN.ts +++ b/translations/kylin-nm_bo_CN.ts @@ -24,11 +24,11 @@ 正在检测ip地址冲突 - IPV4 address conflict, Please change IP + IPv4 address conflict, Please change IP ip地址冲突,请更改ip - IPV6 address conflict, Please change IP + IPv6 address conflict, Please change IP ip地址冲突,请更改ip {6 ?} @@ -87,8 +87,8 @@ - Ipv4Config - Ipv4ཁུང་ཙི། + IPv4Config + IPv4ཁུང་ཙི། @@ -187,20 +187,20 @@ - IPV6: - IPV6: + IPv6: + IPv6: - IPV4: - IPV4: + IPv4: + IPv4: - IPV4 Dns: - IPV4 Dns: + IPv4 Dns: + IPv4 Dns: @@ -518,8 +518,8 @@ Ipv4Page - Ipv4Config - Ipv4ཁུང་ཙི། + IPv4Config + IPv4ཁུང་ཙི། @@ -582,8 +582,8 @@ Ipv6Page - Ipv6Config - Ipv6ཁུང་ཙི། + IPv6Config + IPv6ཁུང་ཙི། @@ -814,13 +814,13 @@ - Ipv4 - Ipv4 + IPv4 + IPv4 - Ipv6 - Ipv6 + IPv6 + IPv6 @@ -935,16 +935,16 @@ 带宽: - IPV4: - IPV4地址: + IPv4: + IPv4地址: - IPV4 Dns: - IPV4 DNS服务器: + IPv4 Dns: + IPv4 DNS服务器: - IPV6: - 本地链接IPV6地址: + IPv6: + 本地链接IPv6地址: Mac: diff --git a/translations/kylin-nm_zh_CN.qm b/translations/kylin-nm_zh_CN.qm index e7d265ba..35bd96cd 100644 Binary files a/translations/kylin-nm_zh_CN.qm and b/translations/kylin-nm_zh_CN.qm differ diff --git a/translations/kylin-nm_zh_CN.ts b/translations/kylin-nm_zh_CN.ts index df5867e5..2e25f448 100644 --- a/translations/kylin-nm_zh_CN.ts +++ b/translations/kylin-nm_zh_CN.ts @@ -24,11 +24,11 @@ 正在检测ip地址冲突 - IPV4 address conflict, Please change IP + IPv4 address conflict, Please change IP ip地址冲突,请更改ip - IPV6 address conflict, Please change IP + IPv6 address conflict, Please change IP ip地址冲突,请更改ip {6 ?} @@ -87,13 +87,13 @@ - Ipv4Config - IPV4配置 + IPv4Config + IPv4配置 Address - IPV4地址 + IPv4地址 @@ -187,20 +187,20 @@ - IPV6: - 本地链接IPV6地址: + IPv6: + 本地链接IPv6地址: - IPV4: - IPV4地址: + IPv4: + IPv4地址: - IPV4 Dns: - IPV4 DNS服务器: + IPv4 Dns: + IPv4 DNS服务器: @@ -518,8 +518,8 @@ Ipv4Page - Ipv4Config - Ipv4配置 + IPv4Config + IPv4配置 @@ -582,8 +582,8 @@ Ipv6Page - Ipv6Config - Ipv6配置 + IPv6Config + IPv6配置 @@ -814,13 +814,13 @@ - Ipv4 - Ipv4 + IPv4 + IPv4 - Ipv6 - Ipv6 + IPv6 + IPv6 @@ -935,16 +935,16 @@ 带宽: - IPV4: - IPV4地址: + IPv4: + IPv4地址: - IPV4 Dns: - IPV4 DNS服务器: + IPv4 Dns: + IPv4 DNS服务器: - IPV6: - 本地链接IPV6地址: + IPv6: + 本地链接IPv6地址: Mac: