Fix:修改平板模式禁用按钮文案“隐藏“为“显示”

This commit is contained in:
wangyan 2024-01-12 11:14:35 +08:00 committed by yan wang
parent 9a3114bc73
commit 664dd586f0
2 changed files with 8 additions and 4 deletions

View File

@ -77,7 +77,7 @@ void TabletModeWidget::initConnect()
QWidget* TabletModeWidget::createTabletModeWidget()
{
QWidget* tabletModeWidget = new QWidget;
QLabel* tabletModeText = new QLabel(tr("Hide tablet mode in the sidebar"));
QLabel* tabletModeText = new QLabel(tr("Show tablet mode in the sidebar"));
m_tabletModeButton = new kdk::KSwitchButton(tabletModeWidget);
m_tabletModeButton->setChecked(getTabletModeEnabled());
m_tabletModeButton->setEnabled(!getCurrentTabletMode());

View File

@ -95,12 +95,16 @@
<translation type="vanished"></translation>
</message>
<message>
<location filename="../tabletmodewidget.cpp" line="60"/>
<source>Hide tablet mode in the sidebar</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../tabletmodewidget.cpp" line="82"/>
<location filename="../tabletmodewidget.cpp" line="80"/>
<source>Show tablet mode in the sidebar</source>
<translation></translation>
</message>
<message>
<location filename="../tabletmodewidget.cpp" line="102"/>
<source> Currently in tablet mode, please turn off tablet mode in the sidebar to activate this feature</source>
<translation></translation>
</message>