fix: 更新翻译文案

更新翻译文案

Log: 更新翻译文案
Influence: 无
Task: https://pms.uniontech.com/task-view-226203.html
Change-Id: I02168491f07d3b5de839824d85faa733e2f55dfe
This commit is contained in:
donghualin 2022-12-12 06:03:34 +00:00
parent bbc0ec5ea5
commit d600d61ec6
8 changed files with 11 additions and 11 deletions

View File

@ -30,9 +30,9 @@
BloothAdapterWidget::BloothAdapterWidget(Adapter *adapter, QWidget *parent)
: QWidget(parent)
, m_adapter(adapter)
, m_myDeviceLabel(new QLabel(tr("my device"), this))
, m_myDeviceLabel(new QLabel(tr("My Devices"), this))
, m_myDeviceView(new DListView(this))
, m_otherDeviceLabel(new QLabel(tr("other device"), this))
, m_otherDeviceLabel(new QLabel(tr("Other Devices"), this))
, m_otherDeviceView(new DListView(this))
, m_myDeviceModel(new QStandardItemModel(this))
, m_otherDeviceModel(new QStandardItemModel(this))

View File

@ -196,6 +196,6 @@ QString BluetoothMainWidget::bluetoothIcon(bool isOpen) const
void BluetoothMainWidget::onAdapterChanged()
{
bool bluetoothIsOpen = isOpen();
m_stateLabel->setText(bluetoothIsOpen ? tr("open") : tr("close"));
m_stateLabel->setText(bluetoothIsOpen ? tr("Turn on") : tr("Turn off"));
m_iconWidget->update();
}

View File

@ -157,9 +157,9 @@ PluginsItemInterface::PluginMode BluetoothPlugin::status() const
QString BluetoothPlugin::description() const
{
if (m_bluetoothItem.data()->isPowered())
return tr("open");
return tr("Turn on");
return tr("close");
return tr("Turn off");
}
PluginFlags BluetoothPlugin::flags() const

View File

@ -69,7 +69,7 @@ void DevCollaborationWidget::initUI()
{
m_deviceListView->setModel(m_viewItemModel);
QLabel *title = new QLabel(tr("Cross-end Collaboration"), this);
QLabel *title = new QLabel(tr("PC collaboration"), this);
title->setFixedHeight(TITLE_HEIGHT);
QHBoxLayout *hLayout = new QHBoxLayout();

View File

@ -52,7 +52,7 @@ const QString DisplayPlugin::pluginName() const
const QString DisplayPlugin::pluginDisplayName() const
{
return tr("brightness");
return "Brightness";
}
void DisplayPlugin::init(PluginProxyInterface *proxyInter)

View File

@ -33,7 +33,7 @@ DisplaySettingWidget::DisplaySettingWidget(QWidget *parent)
: QWidget(parent)
, m_brightnessAdjWidget(new BrightnessAdjWidget(this))
, m_collaborationWidget(new DevCollaborationWidget(this))
, m_settingBtn(new QPushButton(tr("Display setting"), this))
, m_settingBtn(new QPushButton(tr("Multi-Screen Collaboration"), this))
{
initUI();

View File

@ -37,7 +37,7 @@ const QString MediaPlugin::pluginName() const
const QString MediaPlugin::pluginDisplayName() const
{
return tr("media");
return "Media";
}
void MediaPlugin::init(PluginProxyInterface *proxyInter)

View File

@ -63,7 +63,7 @@ const QString ShutdownPlugin::pluginName() const
const QString ShutdownPlugin::pluginDisplayName() const
{
return tr("shutdown");
return tr("Plugged In");
}
QWidget *ShutdownPlugin::itemWidget(const QString &itemKey)
@ -79,7 +79,7 @@ QWidget *ShutdownPlugin::itemTipsWidget(const QString &itemKey)
// reset text every time to avoid size of LabelWidget not change after
// font size be changed in ControlCenter
m_tipsLabel->setText(tr("Power"));
m_tipsLabel->setText(tr("Plugged In"));
return m_tipsLabel.data();
}