Part: update some GUI texts (title case mod) (#26591)
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Attachment mode</string>
|
||||
<string>Attachment Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -182,7 +182,7 @@ void CmdPartPointsFromMesh::activated(int iMsg)
|
||||
bool ok;
|
||||
distance = QInputDialog::getDouble(
|
||||
Gui::getMainWindow(),
|
||||
QObject::tr("Distance in parameter space"),
|
||||
QObject::tr("Distance in Parameter Space"),
|
||||
QObject::tr("Enter distance:"),
|
||||
defaultDistance,
|
||||
minimal_tolerance,
|
||||
|
||||
@@ -289,7 +289,7 @@ DlgFilletEdges::DlgFilletEdges(
|
||||
if (d->filletType == DlgFilletEdges::CHAMFER) {
|
||||
ui->parameterName->setTitle(tr("Chamfer parameters"));
|
||||
ui->labelfillet->setText(tr("Chamfer type"));
|
||||
ui->labelRadius->setText(tr("Length:"));
|
||||
ui->labelRadius->setText(tr("Length"));
|
||||
ui->filletType->setItemText(0, tr("Equal distance"));
|
||||
ui->filletType->setItemText(1, tr("Two distances"));
|
||||
|
||||
|
||||
@@ -115,12 +115,12 @@
|
||||
<widget class="QComboBox" name="filletType">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Constant Radius</string>
|
||||
<string>Constant radius</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Variable Radius</string>
|
||||
<string>Variable radius</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
|
||||
@@ -533,12 +533,12 @@ void DlgRevolution::onSelectLineClicked()
|
||||
if (!filter) {
|
||||
filter = new EdgeSelection();
|
||||
Gui::Selection().addSelectionGate(filter);
|
||||
ui->selectLine->setText(tr("Selecting… (line or arc)"));
|
||||
ui->selectLine->setText(tr("Selecting… (Line or Arc)"));
|
||||
}
|
||||
else {
|
||||
Gui::Selection().rmvSelectionGate();
|
||||
filter = nullptr;
|
||||
ui->selectLine->setText(tr("Select reference"));
|
||||
ui->selectLine->setText(tr("Select Reference"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>X factor</string>
|
||||
<string>X-factor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -61,7 +61,7 @@
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="text">
|
||||
<string>Z factor</string>
|
||||
<string>Z-factor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -71,7 +71,7 @@
|
||||
<string>Scale the object by a single factor in all directions.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Uniform Scaling</string>
|
||||
<string>Uniform scaling</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
@@ -109,7 +109,7 @@
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="text">
|
||||
<string>Y factor</string>
|
||||
<string>Y-factor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -232,7 +232,7 @@ void Mirroring::onSelectButtonClicked()
|
||||
{
|
||||
if (!ui->selectButton->isChecked()) {
|
||||
Gui::Selection().rmvSelectionGate();
|
||||
ui->selectButton->setText(tr("Select reference"));
|
||||
ui->selectButton->setText(tr("Select Reference"));
|
||||
}
|
||||
else {
|
||||
MirrorPlaneSelection* gate = new MirrorPlaneSelection();
|
||||
|
||||
@@ -422,8 +422,8 @@ bool TaskAttacher::updatePreview()
|
||||
ui->message->setStyleSheet(QStringLiteral("QLabel{color: green;}"));
|
||||
}
|
||||
}
|
||||
QString splmLabelText = attached ? tr("Attachment offset (in its local coordinate system):")
|
||||
: tr("Attachment offset (inactive - not attached):");
|
||||
QString splmLabelText = attached ? tr("Attachment Offset (in its local coordinate system):")
|
||||
: tr("Attachment Offset (inactive - not attached):");
|
||||
ui->groupBox_AttachmentOffset->setTitle(splmLabelText);
|
||||
ui->groupBox_AttachmentOffset->setEnabled(attached);
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Attachment mode</string>
|
||||
<string>Attachment Mode</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -1451,7 +1451,7 @@ void TaskCheckGeometryDialog::onClicked(QAbstractButton* btn)
|
||||
void TaskCheckGeometryDialog::modifyStandardButtons(QDialogButtonBox* box)
|
||||
{
|
||||
okBtn = box->button(QDialogButtonBox::Ok);
|
||||
okBtn->setText(tr("Run check"));
|
||||
okBtn->setText(tr("Run Check"));
|
||||
settingsBtn = box->addButton(tr("Settings"), QDialogButtonBox::ActionRole);
|
||||
ParameterGrp::handle group = App::GetApplication()
|
||||
.GetUserParameter()
|
||||
|
||||
Reference in New Issue
Block a user