Gui: Update UI strings for consistency

Closes: #22135
This commit is contained in:
Max Wilfinger
2025-06-22 21:14:10 +02:00
committed by Kacper Donat
parent 66aaf6a2ee
commit 6692dacc0a
151 changed files with 1201 additions and 1183 deletions

View File

@@ -61,7 +61,7 @@ lower right corner within opened files</string>
<item row="0" column="2">
<widget class="QLabel" name="labelCoordSize">
<property name="text">
<string>Relative size:</string>
<string>Relative size</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
@@ -72,7 +72,7 @@ lower right corner within opened files</string>
<widget class="Gui::PrefSpinBox" name="SpinBox_CornerCoordSystemSize">
<property name="toolTip">
<string>Size of main coordinate system representation
in the corner -- in % of height/width of viewport</string>
in the corner in % of height/width of the viewport</string>
</property>
<property name="suffix">
<string notr="true">%</string>
@@ -97,7 +97,7 @@ in the corner -- in % of height/width of viewport</string>
<item row="1" column="2">
<widget class="QLabel" name="axisLetterColorLabel">
<property name="text">
<string>Letter color:</string>
<string>Letter color</string>
</property>
</widget>
</item>
@@ -284,7 +284,6 @@ will be shown at the lower left corner in opened files</string>
<widget class="Gui::PrefCheckBox" name="CheckBox_use_SW_OpenGL">
<property name="toolTip">
<string>This option is useful for troubleshooting graphics card and driver problems.
Changing this option requires a restart of the application.</string>
</property>
<property name="text">
@@ -306,11 +305,11 @@ A VBO is an OpenGL feature that provides methods for uploading
vertex data (position, normal vector, color, etc.) to the graphics card.
VBOs offer substantial performance gains because the data resides
in the graphics memory rather than the system memory and so it
can be rendered directly by GPU.
can be rendered directly by the GPU.
Note: Sometimes this feature may lead to a host of different
issues ranging from graphical anomalies to GPU crash bugs. Remember to
report this setting as enabled when seeking support on the FreeCAD forums</string>
report this setting as enabled when seeking support.</string>
</property>
<property name="text">
<string>Use OpenGL VBO (Vertex Buffer Object)</string>
@@ -334,7 +333,7 @@ report this setting as enabled when seeking support on the FreeCAD forums</strin
</size>
</property>
<property name="toolTip">
<string>What kind of multisample anti-aliasing is used</string>
<string>Method of multisample anti-aliasing</string>
</property>
</widget>
</item>
@@ -344,14 +343,14 @@ report this setting as enabled when seeking support on the FreeCAD forums</strin
<string/>
</property>
<property name="text">
<string>Marker size:</string>
<string>Marker size</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="aliasingLAbel">
<property name="text">
<string>Anti-Aliasing</string>
<string>Anti-aliasing</string>
</property>
</widget>
</item>
@@ -361,7 +360,7 @@ report this setting as enabled when seeking support on the FreeCAD forums</strin
<string/>
</property>
<property name="text">
<string>Transparent objects:</string>
<string>Transparent objects</string>
</property>
</widget>
</item>
@@ -403,7 +402,7 @@ report this setting as enabled when seeking support on the FreeCAD forums</strin
</size>
</property>
<property name="toolTip">
<string>'Render Caching' is another way to say 'Rendering Acceleration'.
<string>'Render caching' is another way to say 'Rendering acceleration'.
There are 3 options available to achieve this:
1) 'Auto' (default), let Coin3D decide where to cache.
2) 'Distributed', manually turn on cache for all view provider root node.
@@ -502,7 +501,7 @@ bounding box size of the 3D object that is currently displayed.</string>
<item>
<widget class="QGroupBox" name="groupBoxCamera">
<property name="title">
<string>Camera type</string>
<string>Camera Type</string>
</property>
<layout class="QGridLayout" name="gridLayout1">
<property name="leftMargin">
@@ -539,7 +538,7 @@ bounding box size of the 3D object that is currently displayed.</string>
<item row="0" column="1">
<widget class="Gui::PrefRadioButton" name="radioOrthographic">
<property name="toolTip">
<string>Objects will be projected in orthographic projection</string>
<string>Objects will be in orthographic projection</string>
</property>
<property name="text">
<string>Or&amp;thographic rendering</string>

View File

@@ -450,7 +450,7 @@ void DlgSettingsAdvanced::retranslateUi()
labelDockOverlayAlphaRadius->setText(QObject::tr("Alpha test radius"));
labelDockOverlayAlphaRadius->setToolTip(DockOverlayAlphaRadius->toolTip());
DockOverlayCheckNaviCube->setToolTip(QApplication::translate("OverlayParams", Gui::OverlayParams::docDockOverlayCheckNaviCube()));
DockOverlayCheckNaviCube->setText(QObject::tr("Check Navigation Cube"));
DockOverlayCheckNaviCube->setText(QObject::tr("Check navigation cube"));
DockOverlayHintTriggerSize->setToolTip(QApplication::translate("OverlayParams", Gui::OverlayParams::docDockOverlayHintTriggerSize()));
labelDockOverlayHintTriggerSize->setText(QObject::tr("Hint trigger size"));
labelDockOverlayHintTriggerSize->setToolTip(DockOverlayHintTriggerSize->toolTip());

View File

@@ -239,11 +239,11 @@ bool ApplicationCache::performAction(qint64 total)
QString path = QString::fromStdString(App::Application::getUserCachePath());
QMessageBox msgBox(Gui::getMainWindow());
msgBox.setIcon(QMessageBox::Warning);
msgBox.setWindowTitle(tr("Cache directory"));
msgBox.setWindowTitle(tr("Cache Directory"));
QString hint = tr("The cache directory %1 exceeds the size of %2.").arg(path, ApplicationCache::toString(limit));
QString ask = tr("Do you want to clear it now?");
QString warn = tr("Warning: Please make sure that this is the only running %1 instance "
QString ask = tr("Clear it now?");
QString warn = tr("Warning: Make sure that this is the only running %1 instance "
"and that no documents are opened as this may result into data loss!").arg(QCoreApplication::applicationName());
msgBox.setText(QStringLiteral("%1 %2\n\n\n%3").arg(hint, ask, warn));

View File

@@ -17,7 +17,7 @@
<item row="0" column="0">
<widget class="QGroupBox" name="GroupBox5">
<property name="title">
<string>Cache directory</string>
<string>Cache Directory</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0" colspan="3">
@@ -25,7 +25,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Location (read-only):</string>
<string>Location (read-only)</string>
</property>
</widget>
</item>
@@ -56,7 +56,7 @@
<item row="1" column="0">
<widget class="QLabel" name="labelPeriod">
<property name="text">
<string>Check periodically at program start:</string>
<string>Check periodically at program start</string>
</property>
</widget>
</item>
@@ -116,7 +116,7 @@
<item row="2" column="0">
<widget class="QLabel" name="labelCache">
<property name="text">
<string>Cache size limit:</string>
<string>Cache size limit</string>
</property>
</widget>
</item>
@@ -154,14 +154,14 @@
</sizepolicy>
</property>
<property name="text">
<string notr="true">Current cache size:</string>
<string notr="true">Current cache size</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="pushButtonCheck">
<property name="text">
<string>Check now...</string>
<string>Check Now</string>
</property>
</widget>
</item>

View File

@@ -129,7 +129,7 @@
<string>All changes in documents are stored so that they can be undone/redone</string>
</property>
<property name="text">
<string>Using Undo/Redo on documents</string>
<string>Using undo/redo in documents</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -162,14 +162,14 @@
<item>
<widget class="QLabel" name="textLabel1_2">
<property name="text">
<string>Maximum Undo/Redo steps</string>
<string>Maximum undo/redo steps</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefSpinBox" name="prefUndoRedoSize">
<property name="toolTip">
<string>How many Undo/Redo steps should be recorded</string>
<string>How many undo/redo steps should be recorded</string>
</property>
<property name="value">
<number>20</number>
@@ -194,7 +194,7 @@
<item row="7" column="0">
<widget class="Gui::PrefCheckBox" name="prefCanAbortRecompute">
<property name="toolTip">
<string>Allow user aborting document recomputation by pressing ESC.
<string>Allow user aborting document recomputation by pressing Esc.
This feature may slightly increase recomputation time.</string>
</property>
<property name="text">
@@ -278,7 +278,7 @@ This feature may slightly increase recomputation time.</string>
<string>A thumbnail will be stored when document is saved</string>
</property>
<property name="text">
<string>Save thumbnail into project file when saving document</string>
<string>Add thumbnail to project file when saving</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -318,7 +318,7 @@ This feature may slightly increase recomputation time.</string>
<widget class="Gui::PrefSpinBox" name="prefThumbnailSize">
<property name="toolTip">
<string>Sets the size of the thumbnail that is stored in the document.
Common sizes are 128, 256 and 512</string>
Common sizes are 128, 256 and 512.</string>
</property>
<property name="minimum">
<number>64</number>
@@ -409,8 +409,8 @@ Common sizes are 128, 256 and 512</string>
<item row="2" column="0">
<widget class="Gui::PrefCheckBox" name="prefRecovery">
<property name="toolTip">
<string>If there is a recovery file available the application will
automatically run a file recovery when it is started.</string>
<string>If there is a recovery file available, the application will
automatically run a file recovery when it is started</string>
</property>
<property name="text">
<string>Run AutoRecovery at startup</string>
@@ -445,10 +445,10 @@ automatically run a file recovery when it is started.</string>
<item row="6" column="0">
<widget class="Gui::PrefCheckBox" name="prefAddLogo">
<property name="toolTip">
<string>The program logo will be added to the thumbnail</string>
<string>The program icon will be added to the thumbnail</string>
</property>
<property name="text">
<string>Add the program logo to the generated thumbnail</string>
<string>Add program icon to the generated thumbnail</string>
</property>
<property name="checked">
<bool>false</bool>
@@ -469,7 +469,7 @@ automatically run a file recovery when it is started.</string>
<string>How often a recovery file is written</string>
</property>
<property name="text">
<string>Save AutoRecovery information every</string>
<string>Save auto-recovery information every</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -571,7 +571,7 @@ get date suffix according to the specified format</string>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Document objects</string>
<string>Document Objects</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">

View File

@@ -153,7 +153,7 @@
<item row="0" column="0">
<widget class="QLabel" name="textLabel1">
<property name="text">
<string>Tab size:</string>
<string>Tab size</string>
</property>
</widget>
</item>
@@ -179,7 +179,7 @@
<item row="1" column="0">
<widget class="QLabel" name="textLabel2">
<property name="text">
<string>Indent size:</string>
<string>Indent size</string>
</property>
</widget>
</item>
@@ -252,7 +252,7 @@
</sizepolicy>
</property>
<property name="title">
<string>Display items</string>
<string>Display Items</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -288,7 +288,7 @@
<item row="0" column="1">
<widget class="QLabel" name="TextLabel3">
<property name="text">
<string>Family:</string>
<string>Family</string>
</property>
</widget>
</item>
@@ -308,7 +308,7 @@
<item row="1" column="1">
<widget class="QLabel" name="TextLabel4">
<property name="text">
<string>Size:</string>
<string>Size</string>
</property>
</widget>
</item>
@@ -343,7 +343,7 @@
<item row="2" column="1">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Color:</string>
<string>Color</string>
</property>
</widget>
</item>
@@ -372,7 +372,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Preview:</string>
<string>Preview</string>
</property>
</widget>
</item>

View File

@@ -648,7 +648,7 @@ void DlgSettingsGeneral::recreatePreferencePackMenu()
}
}
if (button->isEnabled()) {
button->setToolTip(tr("Apply the %1 preference pack").arg(QString::fromStdString(pack.first)));
button->setToolTip(tr("Applies the %1 preference pack").arg(QString::fromStdString(pack.first)));
connect(button, &QPushButton::clicked, this, [this, pack]() { onLoadPreferencePackClicked(pack.first); });
}
ui->PreferencePacks->setCellWidget(row, 2, button);

View File

@@ -17,7 +17,7 @@
<item>
<widget class="QGroupBox" name="GroupBox7">
<property name="title">
<string>Language and number format</string>
<string>Language and Number Format</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -38,7 +38,7 @@
<item row="0" column="0">
<widget class="QLabel" name="TextLabel1_4">
<property name="text">
<string>Language:</string>
<string>Language</string>
</property>
</widget>
</item>
@@ -52,7 +52,7 @@
<item row="1" column="0">
<widget class="QLabel" name="unitSystemLabel">
<property name="text">
<string>Default unit system:</string>
<string>Default unit system</string>
</property>
</widget>
</item>
@@ -68,7 +68,7 @@
<item>
<widget class="QLabel" name="decimalsLabel">
<property name="text">
<string>Number of decimals:</string>
<string>Number of decimals</string>
</property>
</widget>
</item>
@@ -90,7 +90,7 @@
<item row="2" column="0" colspan="3">
<widget class="QCheckBox" name="checkBox_projectUnitSystemIgnore">
<property name="toolTip">
<string>If enabled, document unit systems are ignored</string>
<string>Ignores document unit systems</string>
</property>
<property name="text">
<string>Ignore project unit system and use default</string>
@@ -100,7 +100,7 @@
<item row="3" column="0">
<widget class="QLabel" name="fractionalInchLabel">
<property name="text">
<string>Minimum fractional inch:</string>
<string>Minimum fractional inch</string>
</property>
</widget>
</item>
@@ -149,7 +149,7 @@
<item row="4" column="0">
<widget class="QLabel" name="TextLabel1_5">
<property name="text">
<string>Number format:</string>
<string>Number format</string>
</property>
</widget>
</item>
@@ -166,10 +166,9 @@
<item row="4" column="2">
<widget class="Gui::PrefCheckBox" name="SubstituteDecimal">
<property name="toolTip">
<string>If enabled, numerical keypad decimal separator
will be substituted with locale separator, except
in Python Console and Macro Editor where a
dot/period will always be printed.</string>
<string>Substitutes numerical keypad decimal separator with locale separator, except
in the Python console and the macro editor where a
dot/period will always be printed</string>
</property>
<property name="text">
<string>Substitute decimal separator</string>
@@ -209,14 +208,14 @@ dot/period will always be printed.</string>
<item row="0" column="0">
<widget class="QLabel" name="themesLabel">
<property name="text">
<string>Theme:</string>
<string>Theme</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="themesCombobox">
<property name="toolTip">
<string>Customize how user interface will look like</string>
<string>Customize the appearance of the user interface</string>
</property>
</widget>
</item>
@@ -228,7 +227,7 @@ dot/period will always be printed.</string>
</font>
</property>
<property name="text">
<string>Looking for more themes? You can obtain them using &lt;a href=&quot;freecad:Std_AddonMgr&quot;&gt;Addon Manager&lt;/a&gt;.</string>
<string>Looking for more themes? You can obtain them using the &lt;a href=&quot;freecad:Std_AddonMgr&quot;&gt;Addon Manager&lt;/a&gt;.</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
@@ -238,39 +237,38 @@ dot/period will always be printed.</string>
<item row="2" column="0">
<widget class="QLabel" name="iconSizeLabel">
<property name="text">
<string>Size of toolbar icons:</string>
<string>Size of toolbar icons</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="toolbarIconSize">
<property name="toolTip">
<string>Choose your preference for toolbar icon size. You can adjust
this according to your screen size or personal taste</string>
<string>Icon size in the toolbar</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="treeModeLabel">
<property name="text">
<string>Tree view and Property view mode:</string>
<string>Tree view and property view mode</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="treeMode">
<property name="toolTip">
<string>Customize how tree view is shown in the panel (restart required).
<string>Customize how the tree view is shown in the panel (restart required).
'Combined': combine Tree view and Property view into one panel.
'Independent': split Tree view and Property view into separate panels.</string>
'Combined': combine tree and property view into one panel.
'Independent': split tree and property view into separate panels.</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="recentFileListLabel">
<property name="text">
<string>Size of recent file list:</string>
<string>Size of recent file list</string>
</property>
</widget>
</item>
@@ -293,8 +291,7 @@ this according to your screen size or personal taste</string>
<item row="5" column="0">
<widget class="QCheckBox" name="tiledBackground">
<property name="toolTip">
<string>Background of the main window (when no document is opened) will consist of tiles of a special image.
See the FreeCAD Wiki for details about the image.</string>
<string>Background of the main window (when no document is opened) will consist of tiles of an image.</string>
</property>
<property name="text">
<string>Enable tiled background</string>
@@ -323,12 +320,12 @@ See the FreeCAD Wiki for details about the image.</string>
<item row="6" column="0">
<widget class="Gui::PrefCheckBox" name="SplashScreen">
<property name="toolTip">
<string>A Splash screen is a small loading window that is shown
<string>A splash screen is a small loading window that is shown
when FreeCAD is launching. If this option is checked, FreeCAD will
display the splash screen</string>
display the splash screen.</string>
</property>
<property name="text">
<string>Enable splash screen at start up</string>
<string>Enable splash screen at start-up</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -344,10 +341,10 @@ display the splash screen</string>
<item row="6" column="1">
<widget class="Gui::PrefCheckBox" name="ActivateOverlay">
<property name="toolTip">
<string>Activate overlay handling of dock windows</string>
<string>Activate overlay handling of docked panels</string>
</property>
<property name="text">
<string>Activate overlay handling</string>
<string>Activate overlay panels</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -366,7 +363,7 @@ display the splash screen</string>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Preference packs</string>
<string>Preference Packs</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
@@ -477,14 +474,14 @@ display the splash screen</string>
<item>
<widget class="QPushButton" name="ImportConfig">
<property name="text">
<string>Import config...</string>
<string>Import Configuration…</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="SaveNewPreferencePack">
<property name="text">
<string>Save new...</string>
<string>Save as New</string>
</property>
</widget>
</item>
@@ -497,14 +494,14 @@ display the splash screen</string>
</sizepolicy>
</property>
<property name="text">
<string>Manage...</string>
<string>Manage</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="RevertToSavedConfig">
<property name="text">
<string>Revert...</string>
<string>Revert</string>
</property>
</widget>
</item>

View File

@@ -65,7 +65,7 @@
<enum>Qt::FocusPolicy::NoFocus</enum>
</property>
<property name="toolTip">
<string>Push In</string>
<string>Pushes in</string>
</property>
<property name="icon">
<iconset resource="../Icons/resource.qrc">
@@ -85,7 +85,7 @@
<enum>Qt::FocusPolicy::NoFocus</enum>
</property>
<property name="toolTip">
<string>Pull Out</string>
<string>Pulls out</string>
</property>
<property name="icon">
<iconset resource="../Icons/resource.qrc">
@@ -136,7 +136,7 @@
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Light sources</string>
<string>Light Sources</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="4">
@@ -185,7 +185,7 @@
<item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="mainLightEnable">
<property name="text">
<string>Main Light</string>
<string>Main light</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -221,7 +221,7 @@
<item row="2" column="0">
<widget class="Gui::PrefCheckBox" name="backLightEnable">
<property name="text">
<string>Back Light</string>
<string>Backlight</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -247,7 +247,7 @@
<item row="0" column="3">
<widget class="QLabel" name="light1Label_2">
<property name="text">
<string>Vertical Angle</string>
<string>Vertical angle</string>
</property>
</widget>
</item>
@@ -271,7 +271,7 @@
<item row="0" column="2">
<widget class="QLabel" name="light1Label_3">
<property name="text">
<string>Horizontal Angle</string>
<string>Horizontal angle</string>
</property>
</widget>
</item>
@@ -336,7 +336,7 @@
<item row="3" column="0">
<widget class="Gui::PrefCheckBox" name="fillLightEnable">
<property name="text">
<string>Fill Light</string>
<string>Fill light</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -435,7 +435,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Ambient Light</string>
<string>Ambient light</string>
</property>
</widget>
</item>

View File

@@ -17,7 +17,7 @@
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>General macro settings</string>
<string>General Macro Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
@@ -45,7 +45,7 @@
<item row="1" column="0">
<widget class="QGroupBox" name="GroupBox6">
<property name="title">
<string>Macro recording settings</string>
<string>Macro Recording Settings</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -66,7 +66,7 @@
<item row="0" column="0">
<widget class="QGroupBox" name="GroupBox8">
<property name="title">
<string>Macro path</string>
<string>Macro Path</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -106,7 +106,7 @@
<item row="1" column="0">
<widget class="QGroupBox" name="GroupBox7">
<property name="title">
<string>Gui commands</string>
<string>Gui Commands</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -208,7 +208,7 @@
<item>
<widget class="Gui::PrefCheckBox" name="FileLogCheckBox">
<property name="text">
<string>Log all commands issued by menus to file:</string>
<string>Log all commands issued by menus to file</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>ScriptToFile</cstring>
@@ -240,7 +240,7 @@
<item row="2" column="0">
<widget class="QGroupBox" name="recentmacrosgroupBox">
<property name="title">
<string>Recent macros menu</string>
<string>Recent Macros Menu</string>
</property>
<layout class="QGridLayout" name="recentmacrosgridLayout">
<item row="0" column="0">

View File

@@ -358,7 +358,7 @@ void DlgSettingsNavigation::onNewDocViewChanged(int index)
CameraDialog::CameraDialog(QWidget* parent)
: QDialog(parent)
{
this->setWindowTitle(tr("Camera settings"));
this->setWindowTitle(tr("Camera Settings"));
QGridLayout *gridLayout;
gridLayout = new QGridLayout(this);
@@ -418,7 +418,7 @@ CameraDialog::CameraDialog(QWidget* parent)
layout->addWidget(sb3, 3, 1, 1, 1);
auto currentViewButton = new QPushButton(this);
currentViewButton->setText(tr("Current view"));
currentViewButton->setText(tr("Current View"));
currentViewButton->setObjectName(QStringLiteral("currentView"));
layout->addWidget(currentViewButton, 4, 1, 2, 1);

View File

@@ -17,7 +17,7 @@
<item>
<widget class="QGroupBox" name="groupBoxNaviCube">
<property name="title">
<string>Navigation cube</string>
<string>Navigation Cube</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -81,7 +81,7 @@
<item row="0" column="4">
<widget class="Gui::PrefComboBox" name="naviCubeCorner">
<property name="toolTip">
<string>Corner where navigation cube is shown</string>
<string>Corner where the navigation cube is displayed</string>
</property>
<property name="currentIndex">
<number>1</number>
@@ -117,7 +117,7 @@
<item row="1" column="0" colspan="2">
<widget class="Gui::PrefCheckBox" name="naviCubeToNearest">
<property name="toolTip">
<string>Rotates to nearest possible state when clicking a cube face</string>
<string>Rotates to nearest possible state when clicking a face of the cube</string>
</property>
<property name="text">
<string>Rotate to nearest</string>
@@ -279,7 +279,7 @@
<item>
<widget class="QGroupBox" name="groupBoxRotationCenter">
<property name="title">
<string>Rotation center indicator</string>
<string>Rotation Center Indicator</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -381,7 +381,7 @@
<item row="0" column="0">
<widget class="QLabel" name="navigationLabel">
<property name="text">
<string>3D Navigation</string>
<string>3D navigation</string>
</property>
</widget>
</item>
@@ -418,11 +418,11 @@
</size>
</property>
<property name="toolTip">
<string>List the mouse button configs for each chosen navigation setting.
<string>Lists the mouse button configs for each chosen navigation setting.
Select a set and then press the button to view said configurations.</string>
</property>
<property name="text">
<string>Mouse...</string>
<string>Mouse Configuration</string>
</property>
</widget>
</item>
@@ -740,7 +740,7 @@ Mouse tilting is not disabled by this setting.</string>
<item>
<widget class="QGroupBox" name="spaceMouseDevice">
<property name="title">
<string>Space mouse</string>
<string>Space Mouse</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">

View File

@@ -20,7 +20,7 @@
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If checked, show the notification area in the status bar: a button with the current notification count, which can expand the detailed notification list. Optionally, with additional pop-up notifications.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="title">
<string>Enable notification area</string>
<string>Enable Notification Area</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -29,12 +29,12 @@
<item row="2" column="0">
<widget class="QGroupBox" name="NonIntrusiveNotificationsEnabled">
<property name="toolTip">
<string>If checked, non-intrusive pop-up notifications will appear above the status bar, around the notification area. Pop-up notifications can be manually dismissed by clicking on them, and also automatically dismissed by specifying a maximum and minimum duration for them to be displayed.
<string>Enables non-intrusive pop-up notifications above the status bar notification area. Pop-up notifications can be manually dismissed by clicking on them, and also automatically dismissed by specifying a maximum and minimum duration for them to be displayed.
Additionally, pop-up notifications can be disabled. In this case the user can still use the notification area as a quick-access location to view notifications, without the distracton of an additional pop-up.</string>
</property>
<property name="title">
<string>Enable pop-up notifications</string>
<string>Enable Pop-Up Notifications</string>
</property>
<property name="checkable">
<bool>true</bool>
@@ -46,7 +46,7 @@ Additionally, pop-up notifications can be disabled. In this case the user can st
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Minimum duration:</string>
<string>Minimum duration</string>
</property>
</widget>
</item>
@@ -56,7 +56,7 @@ Additionally, pop-up notifications can be disabled. In this case the user can st
<string/>
</property>
<property name="text">
<string>Maximum duration:</string>
<string>Maximum duration</string>
</property>
</widget>
</item>
@@ -107,7 +107,7 @@ Additionally, pop-up notifications can be disabled. In this case the user can st
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Maximum concurrent notification count:</string>
<string>Maximum concurrent notification count</string>
</property>
</widget>
</item>
@@ -130,7 +130,7 @@ Additionally, pop-up notifications can be disabled. In this case the user can st
<item row="3" column="0">
<widget class="QLabel" name="label_width">
<property name="text">
<string>Notification bubble width:</string>
<string>Notification bubble width</string>
</property>
</widget>
</item>
@@ -209,7 +209,7 @@ Additionally, pop-up notifications can be disabled. In this case the user can st
<string>Additional notification sources to show in the notification area.</string>
</property>
<property name="title">
<string>Additional data sources</string>
<string>Additional Data Sources</string>
</property>
<layout class="QGridLayout" name="gridLayout_1">
<item row="0" column="0">
@@ -259,7 +259,7 @@ Additionally, pop-up notifications can be disabled. In this case the user can st
<string>Controls the amount of notifications to show in the list.</string>
</property>
<property name="title">
<string>Notifications list</string>
<string>Notifications List</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="1">
@@ -284,7 +284,7 @@ Additionally, pop-up notifications can be disabled. In this case the user can st
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Maximum notification count:</string>
<string>Maximum notification count</string>
</property>
</widget>
</item>

View File

@@ -31,14 +31,14 @@
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>PDF Version:</string>
<string>PDF version</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefComboBox" name="comboBox">
<property name="toolTip">
<string>This is the PDF Version FreeCAD will use to export to PDF.</string>
<string>This is the PDF Version FreeCAD will use to export to PDF</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>PDFVersion</cstring>

View File

@@ -81,14 +81,14 @@ horizontal space in Python console</string>
<item row="3" column="0">
<widget class="QLabel" name="labelProfilerInterval">
<property name="text">
<string>Python profiler interval (milliseconds):</string>
<string>Python profiler interval (ms)</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefSpinBox" name="ProfilerInterval">
<property name="toolTip">
<string>The interval at which the profiler runs when there's Python code running (to keep the GUI responding). Set to 0 to disable.</string>
<string>The interval in milliseconds at which the profiler runs when there is Python code running (to keep the GUI responding). Set to 0 to disable.</string>
</property>
<property name="suffix">
<string> ms</string>
@@ -122,7 +122,7 @@ horizontal space in Python console</string>
<item row="0" column="0">
<widget class="QLabel" name="fclabel">
<property name="text">
<string>Path to external Python executable (optional):</string>
<string>Path to external Python executable (optional)</string>
</property>
</widget>
</item>

View File

@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Report view</string>
<string>Report View</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
@@ -245,7 +245,7 @@ on-screen while displaying the log message</string>
<item row="0" column="0">
<widget class="QLabel" name="textLabel1">
<property name="text">
<string>Normal messages:</string>
<string>Normal messages</string>
</property>
</widget>
</item>
@@ -303,7 +303,7 @@ on-screen while displaying the log message</string>
<item row="1" column="0">
<widget class="QLabel" name="textLabel2">
<property name="text">
<string>Log messages:</string>
<string>Log messages</string>
</property>
</widget>
</item>
@@ -361,7 +361,7 @@ on-screen while displaying the log message</string>
<item row="2" column="0">
<widget class="QLabel" name="textLabel3">
<property name="text">
<string>Warnings:</string>
<string>Warnings</string>
</property>
</widget>
</item>
@@ -419,7 +419,7 @@ on-screen while displaying the log message</string>
<item row="3" column="0">
<widget class="QLabel" name="textLabel4">
<property name="text">
<string>Errors:</string>
<string>Errors</string>
</property>
</widget>
</item>
@@ -498,7 +498,7 @@ on-screen while displaying the log message</string>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Python interpreter</string>
<string>Python Interpreter</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">

View File

@@ -17,7 +17,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Viewport selection behavior</string>
<string>Viewport Selection Behavior</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="1">
@@ -64,7 +64,7 @@
<item>
<widget class="QLabel" name="spinPickRadiusLabel">
<property name="text">
<string>Radius:</string>
<string>Radius</string>
</property>
</widget>
</item>
@@ -90,8 +90,8 @@
</size>
</property>
<property name="toolTip">
<string>Area for picking elements in 3D view.
Larger value eases to pick things, but can make small features impossible to select.
<string>Area for selecting elements in the 3D view.
A larger value makes it easier to select elements, but may prevent selection of small features.
</string>
</property>
<property name="inputMethodHints">
@@ -170,7 +170,7 @@ Larger value eases to pick things, but can make small features impossible to sel
<item row="8" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxPreselect">
<property name="text">
<string>Preselect the object in 3D view when hovering the cursor over the tree item</string>
<string>Preselect the object in the 3D view when hovering the cursor over the tree item</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>PreSelection</cstring>
@@ -186,7 +186,7 @@ Larger value eases to pick things, but can make small features impossible to sel
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Tree selection behavior</string>
<string>Tree Selection Behavior</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
@@ -205,7 +205,7 @@ Larger value eases to pick things, but can make small features impossible to sel
<item>
<widget class="Gui::PrefCheckBox" name="checkBoxAutoExpand">
<property name="text">
<string>Auto expand tree item when the corresponding object is selected in 3D view</string>
<string>Auto expand tree item when the corresponding object is selected in the 3D view</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>SyncSelection</cstring>

View File

@@ -17,13 +17,13 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Theme customization</string>
<string>Theme Customization</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>This section lets you customize your current theme. The offered settings are optional for theme developers so they may or may not have an effect in your current theme.</string>
<string>Customize the current theme. The offered settings are optional for theme developers so they may or may not have an effect in the current theme.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -91,7 +91,7 @@
<item row="3" column="0">
<widget class="QLabel" name="styleSheetLabel">
<property name="text">
<string>Style sheet (advanced):</string>
<string>Style sheet (advanced)</string>
</property>
<property name="buddy">
<cstring>StyleSheets</cstring>
@@ -101,7 +101,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Overlay style sheet:</string>
<string>Overlay style sheet</string>
</property>
<property name="buddy">
<cstring>OverlayStyleSheets</cstring>
@@ -204,16 +204,16 @@
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Tree view</string>
<string>Tree View</string>
</property>
<layout class="QGridLayout" name="gridLayout1" columnstretch="2,1">
<item row="5" column="0" colspan="2">
<widget class="Gui::PrefCheckBox" name="hideInternalNamesCheckBox">
<property name="toolTip">
<string>Hide extra tree view column - Internal Names.</string>
<string>Hide extra tree view column for internal names</string>
</property>
<property name="text">
<string>Hide Internal Names</string>
<string>Hide internal names</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -303,7 +303,7 @@
<item row="3" column="0" colspan="2">
<widget class="Gui::PrefCheckBox" name="showVisibilityIconCheckBox">
<property name="toolTip">
<string>If enabled, show an eye icon before the tree view items, showing their visibility status. When clicked the visibility is toggled.</string>
<string>Displays an eye icon in front of the tree view items, showing their visibility status. When clicked the visibility is toggled.</string>
</property>
<property name="text">
<string>Show visibility icon</string>
@@ -439,10 +439,10 @@
<item row="3" column="0">
<widget class="Gui::PrefCheckBox" name="overlayAutoHideCheckBox">
<property name="toolTip">
<string>Automatically hide overlaid dock panels when in non 3D view (like TechDraw or Spreadsheet).</string>
<string>Automatically hide overlaid dock panels when in non 3D view (e.g. TechDraw or Spreadsheet)</string>
</property>
<property name="text">
<string>Auto hide in non 3D view</string>
<string>Automatically hide in non-3D view</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -461,7 +461,7 @@
<string>Auto mouse click through transparent part of dock overlay.</string>
</property>
<property name="text">
<string>Auto mouse pass through</string>
<string>Automatically pass through of the mouse cursor</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -480,7 +480,7 @@
<string>Auto pass through mouse wheel event on transparent dock overlay.</string>
</property>
<property name="text">
<string>Auto mouse wheel pass through</string>
<string>Automatically pass through of the mouse wheel</string>
</property>
<property name="checked">
<bool>true</bool>

View File

@@ -20,7 +20,7 @@
<string>Background color for the model view</string>
</property>
<property name="title">
<string>Background color</string>
<string>Background Color</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -58,7 +58,7 @@
<item>
<widget class="Gui::PrefRadioButton" name="radioButtonSimple">
<property name="toolTip">
<string>Background will have selected color</string>
<string>Background will have the selected color</string>
</property>
<property name="text">
<string>Simple color</string>
@@ -74,7 +74,7 @@
<item>
<widget class="Gui::PrefRadioButton" name="radioButtonGradient">
<property name="toolTip">
<string>Background will have selected color gradient</string>
<string>Background will have the selected color gradient</string>
</property>
<property name="text">
<string>Linear gradient</string>
@@ -93,7 +93,7 @@
<item>
<widget class="Gui::PrefRadioButton" name="rbRadialGradient">
<property name="toolTip">
<string>Background will have selected color gradient</string>
<string>Background will have the selected color gradient</string>
</property>
<property name="text">
<string>Radial gradient</string>
@@ -120,7 +120,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Background will have selected color</string>
<string>Background will have the selected color</string>
</property>
<property name="text">
<string/>
@@ -174,7 +174,7 @@
<item row="0" column="1">
<widget class="QLabel" name="color1Label">
<property name="text">
<string>Top:</string>
<string>Top</string>
</property>
</widget>
</item>
@@ -201,7 +201,7 @@
<item row="1" column="1">
<widget class="QLabel" name="color2Label">
<property name="text">
<string>Middle:</string>
<string>Middle</string>
</property>
</widget>
</item>
@@ -228,7 +228,7 @@
<item row="1" column="3">
<widget class="Gui::PrefCheckBox" name="checkMidColor">
<property name="toolTip">
<string>Color gradient will get selected color as middle color</string>
<string>Color gradient will get the selected color as middle color</string>
</property>
<property name="text">
<string>Middle color</string>
@@ -244,7 +244,7 @@
<item row="2" column="1">
<widget class="QLabel" name="color3Label">
<property name="text">
<string>Bottom:</string>
<string>Bottom</string>
</property>
</widget>
</item>
@@ -278,7 +278,7 @@
<item>
<widget class="QGroupBox" name="groupBoxTree">
<property name="title">
<string>Tree view</string>
<string>Tree View</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -338,7 +338,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Background color for objects in tree view that are currently edited</string>
<string>Background color for objects in the tree view that are currently edited</string>
</property>
<property name="color" stdset="0">
<color>
@@ -358,7 +358,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Active container</string>
<string>Active container object</string>
</property>
</widget>
</item>
@@ -371,7 +371,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Background color for active containers in tree view</string>
<string>Background color for active containers (e.g. part or body) in the tree view</string>
</property>
<property name="color" stdset="0">rgb(60, 145, 252)
<color>
@@ -472,7 +472,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Color Bar (used in Mesh and FEM Wbs) Label text color</string>
<string>Color bar label text color (e.g. in Mesh and FEM)</string>
</property>
<property name="color" stdset="0">
<color>
@@ -499,7 +499,7 @@
<item row="1" column="1">
<widget class="Gui::PrefSpinBox" name="CbLabelTextSize">
<property name="toolTip">
<string>Color Bar (used in Mesh and FEM Wbs) Label Text Size</string>
<string>Color bar label text size (e.g. in Mesh and FEM)</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>

View File

@@ -36,7 +36,7 @@
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;You can reorder workbenches by drag and drop or sort them by right-clicking on any workbench and select &lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;Sort alphabetically&lt;/span&gt;. Additional workbenches can be installed through the addon manager.&lt;/p&gt;&lt;p&gt;
Currently, your system has the following workbenches:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
Currently installed workbenches:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -75,14 +75,14 @@ Currently, your system has the following workbenches:&lt;/p&gt;&lt;/body&gt;&lt;
<item>
<widget class="QLabel" name="WorkbenchSelectorItemLabel">
<property name="text">
<string>Workbench selector items style:</string>
<string>Workbench selector items style</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="WorkbenchSelectorItem">
<property name="toolTip">
<string>Customize how the items are displayed.</string>
<string>Customizes how the items are displayed</string>
</property>
</widget>
</item>
@@ -108,14 +108,14 @@ Currently, your system has the following workbenches:&lt;/p&gt;&lt;/body&gt;&lt;
<item>
<widget class="QLabel" name="WorkbenchSelectorTypeLabel">
<property name="text">
<string>Workbench selector type:</string>
<string>Workbench selector type</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="WorkbenchSelectorType">
<property name="toolTip">
<string>Choose the workbench selector widget type (restart required).</string>
<string>Choose the workbench selector widget type (restart required)</string>
</property>
</widget>
</item>
@@ -150,14 +150,14 @@ Currently, your system has the following workbenches:&lt;/p&gt;&lt;/body&gt;&lt;
<item>
<widget class="QLabel" name="autoModuleLabel">
<property name="text">
<string>Start up workbench:</string>
<string>Default workbench</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="AutoloadModuleCombo">
<property name="toolTip">
<string>Choose which workbench will be activated and shown
<string>Changes which workbench will be activated and shown
after FreeCAD launches</string>
</property>
</widget>
@@ -167,7 +167,7 @@ after FreeCAD launches</string>
<item>
<widget class="Gui::PrefCheckBox" name="CheckBox_WbByTab">
<property name="toolTip">
<string>If checked, application will remember which workbench is active for each tab of the viewport</string>
<string>Remembers which workbench is active for each tab of the viewport</string>
</property>
<property name="text">
<string>Remember active workbench by tab</string>

View File

@@ -84,12 +84,12 @@ wbListItem::wbListItem(const QString& wbName, bool enabled, bool startupWb, bool
// 1: Enable checkbox
enableCheckBox = new QCheckBox(this);
enableCheckBox->setToolTip(tr("If unchecked, %1 will not appear in the available workbenches.").arg(wbDisplayName));
enableCheckBox->setToolTip(tr("Toggles the visibility of %1 in the available workbenches").arg(wbDisplayName));
enableCheckBox->setChecked(enabled);
if (startupWb) {
enableCheckBox->setChecked(true);
enableCheckBox->setEnabled(false);
enableCheckBox->setToolTip(tr("This is the current startup module, and must be enabled."));
enableCheckBox->setToolTip(tr("This is the current startup module, and must be enabled"));
}
connect(enableCheckBox, &QCheckBox::toggled, this, [this](bool checked) { onWbToggled(checked); });
@@ -112,7 +112,7 @@ wbListItem::wbListItem(const QString& wbName, bool enabled, bool startupWb, bool
// 4: shortcut
shortcutLabel = new QLabel(QStringLiteral("(W, %1)").arg(index + 1), this);
shortcutLabel->setToolTip(tr("Shortcut to activate this workbench."));
shortcutLabel->setToolTip(tr("Shortcut to activate this workbench"));
shortcutLabel->setEnabled(enableCheckBox->isChecked());
shortcutLabel->setVisible(index < 9);
@@ -128,7 +128,7 @@ wbListItem::wbListItem(const QString& wbName, bool enabled, bool startupWb, bool
// 5: Autoloaded checkBox.
autoloadCheckBox = new QCheckBox(this);
autoloadCheckBox->setText(tr("Auto-load"));
autoloadCheckBox->setToolTip(tr("If checked, %1 will be loaded automatically when FreeCAD starts up").arg(wbDisplayName));
autoloadCheckBox->setToolTip(tr("Loads %1 automatically when FreeCAD starts").arg(wbDisplayName));
autoloadCheckBox->setEnabled(enableCheckBox->isChecked());
if (startupWb) { // Figure out whether to check and/or disable this checkBox:
@@ -236,7 +236,7 @@ DlgSettingsWorkbenchesImp::DlgSettingsWorkbenchesImp( QWidget* parent )
ui->wbList->setDragEnabled(true);
ui->wbList->setDefaultDropAction(Qt::MoveAction);
QAction* sortAction = new QAction(tr("Sort alphabetically"), this);
QAction* sortAction = new QAction(tr("Sort Alphabetically"), this);
connect(sortAction, &QAction::triggered, this, &DlgSettingsWorkbenchesImp::sortEnabledWorkbenches);
QMenu* contextMenu = new QMenu(ui->wbList);
@@ -523,7 +523,7 @@ void DlgSettingsWorkbenchesImp::loadWorkbenchSelector()
// workbench selector items style
int itemStyleIndex = hGrp->GetInt("WorkbenchSelectorItem", 0);
ui->WorkbenchSelectorItem->clear();
ui->WorkbenchSelectorItem->addItem(tr("Icon & Text"));
ui->WorkbenchSelectorItem->addItem(tr("Icon and text"));
ui->WorkbenchSelectorItem->addItem(tr("Icon"));
ui->WorkbenchSelectorItem->addItem(tr("Text"));
ui->WorkbenchSelectorItem->setCurrentIndex(itemStyleIndex);
@@ -534,7 +534,7 @@ void DlgSettingsWorkbenchesImp::translateWorkbenchSelector()
ui->WorkbenchSelectorType->setItemText(0, tr("ComboBox"));
ui->WorkbenchSelectorType->setItemText(1, tr("TabBar"));
ui->WorkbenchSelectorItem->setItemText(0, tr("Icon & Text"));
ui->WorkbenchSelectorItem->setItemText(0, tr("Icon and text"));
ui->WorkbenchSelectorItem->setItemText(1, tr("Icon"));
ui->WorkbenchSelectorItem->setItemText(2, tr("Text"));
}