mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: 更新翻译文案
更新翻译文案 Log: 更新翻译文案 Influence: 无 Task: https://pms.uniontech.com/task-view-226203.html Change-Id: I02168491f07d3b5de839824d85faa733e2f55dfe
This commit is contained in:
parent
bbc0ec5ea5
commit
d600d61ec6
@ -30,9 +30,9 @@
|
|||||||
BloothAdapterWidget::BloothAdapterWidget(Adapter *adapter, QWidget *parent)
|
BloothAdapterWidget::BloothAdapterWidget(Adapter *adapter, QWidget *parent)
|
||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
, m_adapter(adapter)
|
, 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_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_otherDeviceView(new DListView(this))
|
||||||
, m_myDeviceModel(new QStandardItemModel(this))
|
, m_myDeviceModel(new QStandardItemModel(this))
|
||||||
, m_otherDeviceModel(new QStandardItemModel(this))
|
, m_otherDeviceModel(new QStandardItemModel(this))
|
||||||
|
@ -196,6 +196,6 @@ QString BluetoothMainWidget::bluetoothIcon(bool isOpen) const
|
|||||||
void BluetoothMainWidget::onAdapterChanged()
|
void BluetoothMainWidget::onAdapterChanged()
|
||||||
{
|
{
|
||||||
bool bluetoothIsOpen = isOpen();
|
bool bluetoothIsOpen = isOpen();
|
||||||
m_stateLabel->setText(bluetoothIsOpen ? tr("open") : tr("close"));
|
m_stateLabel->setText(bluetoothIsOpen ? tr("Turn on") : tr("Turn off"));
|
||||||
m_iconWidget->update();
|
m_iconWidget->update();
|
||||||
}
|
}
|
||||||
|
@ -157,9 +157,9 @@ PluginsItemInterface::PluginMode BluetoothPlugin::status() const
|
|||||||
QString BluetoothPlugin::description() const
|
QString BluetoothPlugin::description() const
|
||||||
{
|
{
|
||||||
if (m_bluetoothItem.data()->isPowered())
|
if (m_bluetoothItem.data()->isPowered())
|
||||||
return tr("open");
|
return tr("Turn on");
|
||||||
|
|
||||||
return tr("close");
|
return tr("Turn off");
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginFlags BluetoothPlugin::flags() const
|
PluginFlags BluetoothPlugin::flags() const
|
||||||
|
@ -69,7 +69,7 @@ void DevCollaborationWidget::initUI()
|
|||||||
{
|
{
|
||||||
m_deviceListView->setModel(m_viewItemModel);
|
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);
|
title->setFixedHeight(TITLE_HEIGHT);
|
||||||
|
|
||||||
QHBoxLayout *hLayout = new QHBoxLayout();
|
QHBoxLayout *hLayout = new QHBoxLayout();
|
||||||
|
@ -52,7 +52,7 @@ const QString DisplayPlugin::pluginName() const
|
|||||||
|
|
||||||
const QString DisplayPlugin::pluginDisplayName() const
|
const QString DisplayPlugin::pluginDisplayName() const
|
||||||
{
|
{
|
||||||
return tr("brightness");
|
return "Brightness";
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisplayPlugin::init(PluginProxyInterface *proxyInter)
|
void DisplayPlugin::init(PluginProxyInterface *proxyInter)
|
||||||
|
@ -33,7 +33,7 @@ DisplaySettingWidget::DisplaySettingWidget(QWidget *parent)
|
|||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
, m_brightnessAdjWidget(new BrightnessAdjWidget(this))
|
, m_brightnessAdjWidget(new BrightnessAdjWidget(this))
|
||||||
, m_collaborationWidget(new DevCollaborationWidget(this))
|
, m_collaborationWidget(new DevCollaborationWidget(this))
|
||||||
, m_settingBtn(new QPushButton(tr("Display setting"), this))
|
, m_settingBtn(new QPushButton(tr("Multi-Screen Collaboration"), this))
|
||||||
{
|
{
|
||||||
initUI();
|
initUI();
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ const QString MediaPlugin::pluginName() const
|
|||||||
|
|
||||||
const QString MediaPlugin::pluginDisplayName() const
|
const QString MediaPlugin::pluginDisplayName() const
|
||||||
{
|
{
|
||||||
return tr("media");
|
return "Media";
|
||||||
}
|
}
|
||||||
|
|
||||||
void MediaPlugin::init(PluginProxyInterface *proxyInter)
|
void MediaPlugin::init(PluginProxyInterface *proxyInter)
|
||||||
|
@ -63,7 +63,7 @@ const QString ShutdownPlugin::pluginName() const
|
|||||||
|
|
||||||
const QString ShutdownPlugin::pluginDisplayName() const
|
const QString ShutdownPlugin::pluginDisplayName() const
|
||||||
{
|
{
|
||||||
return tr("shutdown");
|
return tr("Plugged In");
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget *ShutdownPlugin::itemWidget(const QString &itemKey)
|
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
|
// reset text every time to avoid size of LabelWidget not change after
|
||||||
// font size be changed in ControlCenter
|
// font size be changed in ControlCenter
|
||||||
m_tipsLabel->setText(tr("Power"));
|
m_tipsLabel->setText(tr("Plugged In"));
|
||||||
|
|
||||||
return m_tipsLabel.data();
|
return m_tipsLabel.data();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user