Fix source string typos mentioned on Crowdin (#15261)

This commit is contained in:
Max Wilfinger
2024-07-09 00:18:31 +02:00
committed by GitHub
parent cb12b639d1
commit 7d21d9edb8
123 changed files with 252 additions and 258 deletions

View File

@@ -356,7 +356,7 @@ void CmdTechDrawView::activated(int iMsg)
else if (DrawGuiUtil::isArchSection(obj)) {
std::string FeatName = getUniqueObjectName("ArchView");
std::string SourceName = obj->getNameInDocument();
openCommand(QT_TRANSLATE_NOOP("Command", "Create ArchView"));
openCommand(QT_TRANSLATE_NOOP("Command", "Create BIM View"));
doCommand(Doc, "App.activeDocument().addObject('TechDraw::DrawViewArch', '%s')",
FeatName.c_str());
doCommand(Doc, "App.activeDocument().%s.translateLabel('DrawViewArch', 'ArchView', '%s')",
@@ -834,8 +834,8 @@ CmdTechDrawComplexSection::CmdTechDrawComplexSection() : Command("TechDraw_Compl
{
sAppModule = "TechDraw";
sGroup = QT_TR_NOOP("TechDraw");
sMenuText = QT_TR_NOOP("Insert Complex Section");
sToolTipText = QT_TR_NOOP("Insert a Complex Section");
sMenuText = QT_TR_NOOP("Insert Complex Section View");
sToolTipText = QT_TR_NOOP("Insert a Complex Section View");
sWhatsThis = "TechDraw_ComplexSection";
sStatusTip = sToolTipText;
sPixmap = "actions/TechDraw_ComplexSection";
@@ -1601,8 +1601,8 @@ CmdTechDrawArchView::CmdTechDrawArchView() : Command("TechDraw_ArchView")
{
// setting the Gui eye-candy
sGroup = QT_TR_NOOP("TechDraw");
sMenuText = QT_TR_NOOP("Insert Arch Workbench Object");
sToolTipText = QT_TR_NOOP("Insert a View of a Section Plane from Arch Workbench");
sMenuText = QT_TR_NOOP("Insert BIM Workbench Object");
sToolTipText = QT_TR_NOOP("Insert a View of a Section Plane from BIM Workbench");
sWhatsThis = "TechDraw_NewArch";
sStatusTip = sToolTipText;
sPixmap = "actions/TechDraw_ArchView";
@@ -1629,13 +1629,13 @@ void CmdTechDrawArchView::activated(int iMsg)
}
if (archCount > 1) {
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
QObject::tr("Please select only 1 Arch Section."));
QObject::tr("Please select only 1 BIM Section."));
return;
}
if (!archObject) {
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
QObject::tr("No Arch Sections in selection."));
QObject::tr("No BIM Sections in selection."));
return;
}
@@ -1819,7 +1819,7 @@ void CmdTechDrawExportPageDXF::activated(int iMsg)
}
std::string PageName = page->getNameInDocument();
openCommand(QT_TRANSLATE_NOOP("Command", "Save page to dxf"));
openCommand(QT_TRANSLATE_NOOP("Command", "Save page to DXF"));
doCommand(Doc, "import TechDraw");
fileName = Base::Tools::escapeEncodeFilename(fileName);
doCommand(Doc, "TechDraw.writeDXFPage(App.activeDocument().%s, u\"%s\")", PageName.c_str(),

View File

@@ -1838,7 +1838,7 @@ CmdTechDrawAreaDimension::CmdTechDrawAreaDimension()
{
sAppModule = "TechDraw";
sGroup = QT_TR_NOOP("TechDraw");
sMenuText = QT_TR_NOOP("Insert Area Dimension");
sMenuText = QT_TR_NOOP("Insert Area Annotation");
sToolTipText = sMenuText;
sWhatsThis = "TechDraw_AreaDimension";
sStatusTip = sToolTipText;
@@ -2417,7 +2417,7 @@ void execDim(Gui::Command* cmd, std::string type, StringVector acceptableGeometr
if (geometryRefs2d == TechDraw::isInvalid) {
QMessageBox::warning(Gui::getMainWindow(),
QObject::tr("Incorrect Selection"),
QObject::tr("Can not make 2d dimension from selection"));
QObject::tr("Can not make 2D dimension from selection"));
return;
}
@@ -2433,7 +2433,7 @@ void execDim(Gui::Command* cmd, std::string type, StringVector acceptableGeometr
if (geometryRefs3d == TechDraw::isInvalid) {
QMessageBox::warning(Gui::getMainWindow(),
QObject::tr("Incorrect Selection"),
QObject::tr("Can not make 3d dimension from selection"));
QObject::tr("Can not make 3D dimension from selection"));
return;
}
}
@@ -2458,7 +2458,7 @@ void execDim(Gui::Command* cmd, std::string type, StringVector acceptableGeometr
QMessageBox::StandardButton result = QMessageBox::warning(
Gui::getMainWindow(),
QObject::tr("BSpline Curve Warning"),
QObject::tr("Selected edge is a BSpline. Value will be approximate. Continue?"),
QObject::tr("Selected edge is a B-spline. Value will be approximate. Continue?"),
QMessageBox::Ok | QMessageBox::Cancel,
QMessageBox::Cancel);
if (result != QMessageBox::Ok) {
@@ -2469,7 +2469,7 @@ void execDim(Gui::Command* cmd, std::string type, StringVector acceptableGeometr
QMessageBox::critical(
Gui::getMainWindow(),
QObject::tr("BSpline Curve Error"),
QObject::tr("Selected edge is a BSpline and a radius/diameter can not be calculated."));
QObject::tr("Selected edge is a B-spline and a radius/diameter can not be calculated."));
return;
}
}

View File

@@ -1765,8 +1765,7 @@ CmdTechDrawExtensionAreaAnnotation::CmdTechDrawExtensionAreaAnnotation()
sAppModule = "TechDraw";
sGroup = QT_TR_NOOP("TechDraw");
sMenuText = QT_TR_NOOP("Calculate the area of selected faces");
sToolTipText = QT_TR_NOOP("Select several faces<br>\
- click this tool");
sToolTipText = QT_TR_NOOP("Select several faces then click this tool");
sWhatsThis = "TechDraw_ExtensionAreaAnnotation";
sStatusTip = sToolTipText;
sPixmap = "TechDraw_ExtensionAreaAnnotation";

View File

@@ -238,7 +238,7 @@ void DlgPrefsTechDrawAnnotationImp::onLineGroupChanged(int index)
}
ui->pcbLineGroup->setToolTip(
QObject::tr("%1 defines these line widths:\n thin: %2\n graphic: %3\n"
"thick: %4")
" thick: %4")
.arg(QString::fromStdString(lgNames.at(0).substr(1)),
QString::fromStdString(lgNames.at(1)),
QString::fromStdString(lgNames.at(2)),

View File

@@ -411,12 +411,12 @@ for ProjectionGroups</string>
</property>
<item>
<property name="text">
<string>First</string>
<string>First-angle</string>
</property>
</item>
<item>
<property name="text">
<string>Third</string>
<string>Third-angle</string>
</property>
</item>
<item>
@@ -728,7 +728,7 @@ for ProjectionGroups</string>
</sizepolicy>
</property>
<property name="toolTip">
<string>Alternate directory to search for Svg symbol files.</string>
<string>Alternate directory to search for SVG symbol files.</string>
</property>
<property name="mode">
<enum>Gui::FileChooser::Directory</enum>

View File

@@ -403,7 +403,7 @@ int TaskCenterLine::checkPathologicalVertices(int inMode)
//******************************************************************************
void TaskCenterLine::createCenterLine()
{
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Create CenterLine"));
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Create Centerline"));
// check for illogical parameters
if (m_type == CenterLine::EDGE) {

View File

@@ -650,7 +650,7 @@ void TaskComplexSection::updateComplexSection()
return;
}
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Edit SectionView"));
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Edit Section View"));
if (m_section) {
QString qTemp = ui->leSymbol->text();
std::string temp = Base::Tools::toStdString(qTemp);

View File

@@ -209,7 +209,7 @@
<item row="3" column="0">
<widget class="QCheckBox" name="cbClockwise">
<property name="toolTip">
<string>Check this box to make an arc from atart angle to end angle in a clockwise direction.</string>
<string>Check this box to make an arc from start angle to end angle in a clockwise direction.</string>
</property>
<property name="text">
<string>Clockwise Angle</string>

View File

@@ -121,7 +121,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Line Weight</string>
<string>Line Width</string>
</property>
</widget>
</item>

View File

@@ -35,7 +35,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Select an Svg or Bitmap file</string>
<string>Select an SVG or Bitmap file</string>
</property>
<property name="title">
<string>Pattern Parameters</string>
@@ -52,7 +52,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Choose an Svg or Bitmap file as a pattern</string>
<string>Choose an SVG or Bitmap file as a pattern</string>
</property>
</widget>
</item>
@@ -82,7 +82,7 @@
</size>
</property>
<property name="toolTip">
<string>Enlarges/shrinks the pattern (Svg Only)</string>
<string>Enlarges/shrinks the pattern (SVG Only)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -130,7 +130,7 @@
</size>
</property>
<property name="toolTip">
<string>Color of pattern lines (Svg Only)</string>
<string>Color of pattern lines (SVG Only)</string>
</property>
</widget>
</item>
@@ -156,7 +156,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Svg Pattern Scale</string>
<string>SVG Pattern Scale</string>
</property>
</widget>
</item>

View File

@@ -34,7 +34,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="rbHoleBase">
<property name="text">
<string>shaft fit</string>
<string>Shaft fit</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -44,7 +44,7 @@
<item row="0" column="1">
<widget class="QRadioButton" name="rbShaftBase">
<property name="text">
<string>hole fit</string>
<string>Hole fit</string>
</property>
</widget>
</item>

View File

@@ -637,7 +637,7 @@ using the given X/Y Spacing</string>
</size>
</property>
<property name="toolTip">
<string>Horizontal space between border of projections</string>
<string>Horizontal space between borders of projections</string>
</property>
<property name="keyboardTracking">
<bool>false</bool>
@@ -684,7 +684,7 @@ using the given X/Y Spacing</string>
</size>
</property>
<property name="toolTip">
<string>Vertical space between border of projections</string>
<string>Vertical space between borders of projections</string>
</property>
<property name="keyboardTracking">
<bool>false</bool>

View File

@@ -583,7 +583,7 @@ void TaskSectionView::updateSectionView()
const std::string objectName("SectionView");
std::string baseName = m_base->getNameInDocument();
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Edit SectionView"));
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Edit Section View"));
if (m_section) {
Command::doCommand(Command::Doc, "App.ActiveDocument.%s.SectionDirection = '%s'",
m_sectionName.c_str(), m_dirName.c_str());

View File

@@ -232,7 +232,7 @@ void ViewProviderPage::setupContextMenu(QMenu* menu, QObject* receiver, const ch
Gui::ViewProviderDocumentObject::setupContextMenu(menu, receiver, member);
QAction* act = menu->addAction(QObject::tr("Show drawing"), receiver, member);
act->setData(QVariant((int)_SHOWDRAWING));
QAction* act2 = menu->addAction(QObject::tr("Toggle KeepUpdated"), receiver, member);
QAction* act2 = menu->addAction(QObject::tr("Toggle Keep Updated"), receiver, member);
act2->setData(QVariant((int)_TOGGLEUPDATE));
}