From ba51408a7165fa9f7dbdd3d4205175b29d86cd9a Mon Sep 17 00:00:00 2001
From: Furgo <148809153+furgo16@users.noreply.github.com>
Date: Thu, 27 Jun 2024 14:03:02 +0200
Subject: [PATCH] Simplify comboview/treeview choice with natural language
---
src/Gui/PreferencePages/DlgSettingsGeneral.cpp | 4 ++--
src/Gui/PreferencePages/DlgSettingsGeneral.ui | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Gui/PreferencePages/DlgSettingsGeneral.cpp b/src/Gui/PreferencePages/DlgSettingsGeneral.cpp
index d5467224aa..d1e1cfd232 100644
--- a/src/Gui/PreferencePages/DlgSettingsGeneral.cpp
+++ b/src/Gui/PreferencePages/DlgSettingsGeneral.cpp
@@ -546,8 +546,8 @@ void DlgSettingsGeneral::saveDockWindowVisibility()
void DlgSettingsGeneral::loadDockWindowVisibility()
{
ui->treeMode->clear();
- ui->treeMode->addItem(tr("Combo View"));
- ui->treeMode->addItem(tr("TreeView and PropertyView"));
+ ui->treeMode->addItem(tr("Combined"));
+ ui->treeMode->addItem(tr("Independent"));
auto hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/DockWindows");
bool propertyView = hGrp->GetGroup("PropertyView")->GetBool("Enabled", false);
diff --git a/src/Gui/PreferencePages/DlgSettingsGeneral.ui b/src/Gui/PreferencePages/DlgSettingsGeneral.ui
index cfcc34ebd3..182340488d 100644
--- a/src/Gui/PreferencePages/DlgSettingsGeneral.ui
+++ b/src/Gui/PreferencePages/DlgSettingsGeneral.ui
@@ -253,7 +253,7 @@ this according to your screen size or personal taste
-
- Tree view mode:
+ Tree view and Property view mode:
@@ -262,8 +262,8 @@ this according to your screen size or personal taste
Customize how tree view is shown in the panel (restart required).
-'ComboView': combine tree view and property view into one panel.
-'TreeView and PropertyView': split tree view and property view into separate panel.
+'Combined': combine Tree view and Property view into one panel.
+'Independent': split Tree view and Property view into separate panels.