Start: Update UI strings for consistency
This commit is contained in:
committed by
Chris Hennes
parent
3d2b7dc9c7
commit
919652c69c
@@ -119,7 +119,7 @@ PyMOD_INIT_FUNC(StartGui)
|
||||
static StartGui::StartLauncher* launcher = new StartGui::StartLauncher();
|
||||
Q_UNUSED(launcher)
|
||||
|
||||
Base::Console().log("Loading GUI of Start module... ");
|
||||
Base::Console().log("Loading GUI of Start module… ");
|
||||
PyObject* mod = StartGui::initModule();
|
||||
auto manipulator = std::make_shared<StartGui::Manipulator>();
|
||||
Gui::WorkbenchManipulator::installManipulator(manipulator);
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<widget class="Gui::PrefFileChooser" name="fileChooserCustomFolder" native="true">
|
||||
<property name="toolTip">
|
||||
<string>An optional custom folder to be displayed on the Start page.
|
||||
By using ";;" to separate paths, you can add several folders here.</string>
|
||||
Multiple folders can be added using ";;" to separate paths.</string>
|
||||
</property>
|
||||
<property name="mode">
|
||||
<enum>Gui::FileChooser::Directory</enum>
|
||||
@@ -61,7 +61,7 @@ By using ";;" to separate paths, you can add several folders here.</st
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxShowExamples">
|
||||
<property name="toolTip">
|
||||
<string>If you want the examples to show on the first page</string>
|
||||
<string>Shows example files on the start page</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
@@ -83,7 +83,7 @@ By using ";;" to separate paths, you can add several folders here.</st
|
||||
<item row="2" column="1">
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxShowOnlyFCStd">
|
||||
<property name="toolTip">
|
||||
<string>If the additional folder contents should include only .FCStd files</string>
|
||||
<string>Show only FreeCAD files in additional folder</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
@@ -111,7 +111,7 @@ By using ";;" to separate paths, you can add several folders here.</st
|
||||
<item row="0" column="1">
|
||||
<widget class="Gui::PrefCheckBox" name="checkBoxCloseAfterLoading">
|
||||
<property name="toolTip">
|
||||
<string>If checked, will automatically close the Start page when FreeCAD launches</string>
|
||||
<string>The start page is closed automatically when FreeCAD launches</string>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
|
||||
@@ -96,6 +96,6 @@ void FirstStartWidget::retranslateUi()
|
||||
_welcomeLabel->setText(QLatin1String("<h1>") + tr("Welcome to %1").arg(application)
|
||||
+ QLatin1String("</h1>"));
|
||||
_descriptionLabel->setText(
|
||||
tr("To get started, set your basic configuration options below.") + QLatin1String(" ")
|
||||
+ tr("These options (and many more) can be changed later in Preferences."));
|
||||
tr("Set your basic configuration options below.") + QLatin1String(" ")
|
||||
+ tr("These options (and many more) can be changed later in the preferences."));
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ CmdStart::CmdStart()
|
||||
sAppModule = "Start";
|
||||
sGroup = QT_TR_NOOP("Start");
|
||||
sMenuText = QT_TR_NOOP("&Start Page");
|
||||
sToolTipText = QT_TR_NOOP("Displays the Start Page");
|
||||
sToolTipText = QT_TR_NOOP("Displays the start page");
|
||||
sWhatsThis = "Start_Start";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "StartCommandIcon";
|
||||
|
||||
@@ -190,28 +190,28 @@ StartView::StartView(QWidget* parent)
|
||||
void StartView::configureNewFileButtons(QLayout* layout) const
|
||||
{
|
||||
auto newEmptyFile =
|
||||
gsl::owner<NewFileButton*>(new NewFileButton({tr("Empty file"),
|
||||
tr("Create a new empty FreeCAD file"),
|
||||
gsl::owner<NewFileButton*>(new NewFileButton({tr("Empty File"),
|
||||
tr("Creates a new empty FreeCAD file"),
|
||||
QLatin1String(":/icons/document-new.svg")}));
|
||||
auto openFile =
|
||||
gsl::owner<NewFileButton*>(new NewFileButton({tr("Open File"),
|
||||
tr("Open an existing CAD file or 3D model"),
|
||||
tr("Opens an existing CAD file or 3D model"),
|
||||
QLatin1String(":/icons/document-open.svg")}));
|
||||
auto partDesign = gsl::owner<NewFileButton*>(
|
||||
new NewFileButton({tr("Parametric Part"),
|
||||
tr("Create a part with the Part Design workbench"),
|
||||
new NewFileButton({tr("Parametric Body"),
|
||||
tr("Creates a body with the Part Design workbench"),
|
||||
QLatin1String(":/icons/PartDesignWorkbench.svg")}));
|
||||
auto assembly = gsl::owner<NewFileButton*>(
|
||||
new NewFileButton({tr("Assembly"),
|
||||
tr("Create an assembly project"),
|
||||
tr("Creates an assembly project"),
|
||||
QLatin1String(":/icons/AssemblyWorkbench.svg")}));
|
||||
auto draft = gsl::owner<NewFileButton*>(
|
||||
new NewFileButton({tr("2D Draft"),
|
||||
tr("Create a 2D Draft with the Draft workbench"),
|
||||
tr("Creates a 2D draft document"),
|
||||
QLatin1String(":/icons/DraftWorkbench.svg")}));
|
||||
auto arch =
|
||||
gsl::owner<NewFileButton*>(new NewFileButton({tr("BIM/Architecture"),
|
||||
tr("Create an architectural project"),
|
||||
tr("Creates an architectural project"),
|
||||
QLatin1String(":/icons/BIMWorkbench.svg")}));
|
||||
|
||||
// TODO: Ensure all of the required WBs are actually available
|
||||
@@ -455,7 +455,7 @@ void StartView::retranslateUi()
|
||||
}
|
||||
|
||||
QString application = QString::fromUtf8(App::Application::Config()["ExeName"].c_str());
|
||||
_openFirstStart->setText(tr("Open first start setup"));
|
||||
_openFirstStart->setText(tr("Open First Start Setup"));
|
||||
_showOnStartupCheckBox->setText(
|
||||
tr("Don't show this Start page again (start with blank screen)"));
|
||||
tr("Do not show this Start page again (start with blank screen)"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user