Fix UI strings reported on Crowdin (#23297)

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
Max Wilfinger
2025-08-25 08:10:53 +02:00
committed by GitHub
parent 248071b201
commit 3129bc9a1e
34 changed files with 118 additions and 118 deletions

View File

@@ -491,9 +491,9 @@ PROPERTY_SOURCE(PartDesign::Torus, PartDesign::FeaturePrimitive)
Torus::Torus()
{
ADD_PROPERTY_TYPE(Radius1,(10.0),"Torus",App::Prop_None,"Radius in local xy-plane");
ADD_PROPERTY_TYPE(Radius1,(10.0),"Torus",App::Prop_None,"Radius in local XY-plane");
Radius1.setConstraints(&quantityRange);
ADD_PROPERTY_TYPE(Radius2,(2.0),"Torus",App::Prop_None,"Radius in local xz-plane");
ADD_PROPERTY_TYPE(Radius2,(2.0),"Torus",App::Prop_None,"Radius in local XZ-plane");
Radius2.setConstraints(&quantityRange);
ADD_PROPERTY_TYPE(Angle1,(-180.0),"Torus",App::Prop_None,"The angle of the torus");
Angle1.setConstraints(&torusRangeV);

View File

@@ -349,7 +349,7 @@ void CmdPartDesignMigrate::activated(int iMsg)
} else {
// Huh? nothing to migrate?
QMessageBox::warning ( nullptr, QObject::tr ( "Nothing to migrate" ),
QObject::tr ( "No Part Design features found that do not belong to a body."
QObject::tr ( "No Part Design features without body found"
" Nothing to migrate." ) );
}
return;

View File

@@ -17,7 +17,7 @@
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>To create a new Part Design object, there must be an active body object in the document.
<string>To create a new Part Design object, there must be an active body in the document.
Select a body from below, or create a new body.</string>
</property>
<property name="scaledContents">

View File

@@ -324,7 +324,7 @@ void TaskChamferParameters::apply()
// Alert user if he created an empty feature
if (ui->listWidgetReferences->count() == 0) {
Base::Console().warning(tr("Empty chamfer created !\n").toStdString().c_str());
Base::Console().warning(tr("Empty chamfer created!\n").toStdString().c_str());
}
}

View File

@@ -284,7 +284,7 @@ void TaskDraftParameters::apply()
{
// Alert user if he created an empty feature
if (ui->listWidgetReferences->count() == 0) {
Base::Console().warning(tr("Empty draft created !\n").toStdString().c_str());
Base::Console().warning(tr("Empty draft created!\n").toStdString().c_str());
}
TaskDressUpParameters::apply();

View File

@@ -234,9 +234,9 @@ void TaskHelixParameters::addPartAxes()
if (PartDesign::Body* body = PartDesign::Body::findBodyOf(profile)) {
try {
App::Origin* orig = body->getOrigin();
addAxisToCombo(orig->getX(), "", tr("Base x-axis"));
addAxisToCombo(orig->getY(), "", tr("Base y-axis"));
addAxisToCombo(orig->getZ(), "", tr("Base z-axis"));
addAxisToCombo(orig->getX(), "", tr("Base X-axis"));
addAxisToCombo(orig->getY(), "", tr("Base Y-axis"));
addAxisToCombo(orig->getZ(), "", tr("Base Z-axis"));
}
catch (const Base::Exception& ex) {
ex.reportException();

View File

@@ -45,17 +45,17 @@
<widget class="QComboBox" name="axis">
<item>
<property name="text">
<string>Base x-axis</string>
<string>Base X-axis</string>
</property>
</item>
<item>
<property name="text">
<string>Base y-axis</string>
<string>Base Y-axis</string>
</property>
</item>
<item>
<property name="text">
<string>Base z-axis</string>
<string>Base Z-axis</string>
</property>
</item>
<item>

View File

@@ -1020,7 +1020,7 @@ If zero, it is equal to Radius2</string>
<item row="0" column="2">
<widget class="Gui::QuantitySpinBox" name="torusRadius1">
<property name="toolTip">
<string>Radius in local xy-plane</string>
<string>Radius in local XY-plane</string>
</property>
<property name="keyboardTracking">
<bool>false</bool>
@@ -1043,7 +1043,7 @@ If zero, it is equal to Radius2</string>
<item row="1" column="2">
<widget class="Gui::QuantitySpinBox" name="torusRadius2">
<property name="toolTip">
<string>Radius in local xz-plane</string>
<string>Radius in local XZ-plane</string>
</property>
<property name="keyboardTracking">
<bool>false</bool>

View File

@@ -232,9 +232,9 @@ void TaskRevolutionParameters::fillAxisCombo(bool forceRefill)
if (PartDesign::Body * body = PartDesign::Body::findBodyOf(pcFeat)) {
try {
App::Origin* orig = body->getOrigin();
addAxisToCombo(orig->getX(), std::string(), tr("Base x-axis"));
addAxisToCombo(orig->getY(), std::string(), tr("Base y-axis"));
addAxisToCombo(orig->getZ(), std::string(), tr("Base z-axis"));
addAxisToCombo(orig->getX(), std::string(), tr("Base X-axis"));
addAxisToCombo(orig->getY(), std::string(), tr("Base Y-axis"));
addAxisToCombo(orig->getZ(), std::string(), tr("Base Z-axis"));
} catch (const Base::Exception &ex) {
ex.reportException();
}

View File

@@ -47,17 +47,17 @@
<widget class="QComboBox" name="axis">
<item>
<property name="text">
<string>Base x-axis</string>
<string>Base X-axis</string>
</property>
</item>
<item>
<property name="text">
<string>Base y-axis</string>
<string>Base Y-axis</string>
</property>
</item>
<item>
<property name="text">
<string>Base z-axis</string>
<string>Base Z-axis</string>
</property>
</item>
<item>

View File

@@ -58,7 +58,7 @@ using namespace Gui;
TaskShapeBinder::TaskShapeBinder(ViewProviderShapeBinder* view, bool newObj, QWidget* parent)
: Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("PartDesign_ShapeBinder"),
tr("Datum Shape Parameters"), true, parent)
tr("Shape Binder Parameters"), true, parent)
, SelectionObserver(view)
, ui(new Ui_TaskShapeBinder)
, vp(view)

View File

@@ -417,9 +417,9 @@ void TaskTransformedParameters::fillAxisCombo(ComboLinks& combolinks, Part::Part
if (body) {
try {
App::Origin* orig = body->getOrigin();
combolinks.addLink(orig->getX(), "", tr("Base x-axis"));
combolinks.addLink(orig->getY(), "", tr("Base y-axis"));
combolinks.addLink(orig->getZ(), "", tr("Base z-axis"));
combolinks.addLink(orig->getX(), "", tr("Base X-axis"));
combolinks.addLink(orig->getY(), "", tr("Base Y-axis"));
combolinks.addLink(orig->getZ(), "", tr("Base Z-axis"));
}
catch (const Base::Exception& ex) {
Base::Console().error("%s\n", ex.what());
@@ -453,9 +453,9 @@ void TaskTransformedParameters::fillPlanesCombo(ComboLinks& combolinks, Part::Pa
if (body) {
try {
App::Origin* orig = body->getOrigin();
combolinks.addLink(orig->getXY(), "", tr("Base XY plane"));
combolinks.addLink(orig->getYZ(), "", tr("Base YZ plane"));
combolinks.addLink(orig->getXZ(), "", tr("Base XZ plane"));
combolinks.addLink(orig->getXY(), "", tr("Base XY-plane"));
combolinks.addLink(orig->getYZ(), "", tr("Base YZ-plane"));
combolinks.addLink(orig->getXZ(), "", tr("Base XZ-plane"));
}
catch (const Base::Exception& ex) {
Base::Console().error("%s\n", ex.what());

View File

@@ -137,7 +137,7 @@ PartDesign::Body *getBody(bool messageIfNot, bool autoActivate, bool assertModer
DlgActiveBody dia(
Gui::getMainWindow(),
doc,
QObject::tr("To use Part Design, an active body object is required in the document. "
QObject::tr("To use Part Design, an active body is required in the document. "
"Activate a body (double-click) or create a new one."
"\n\nFor legacy documents with Part Design objects lacking a body, "
"use the migrate function in Part Design to place them into a body."));