Fix:修改平板模式禁用按钮文案“隐藏“为“显示”
This commit is contained in:
parent
9a3114bc73
commit
664dd586f0
|
@ -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());
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue