Fix various typos

This commit is contained in:
luzpaz
2023-11-30 12:51:10 +00:00
committed by wwmayer
parent d529193f75
commit faef0c6f27
7 changed files with 7 additions and 7 deletions

View File

@@ -547,7 +547,7 @@ PyObject* Application::sGetDocument(PyObject * /*self*/, PyObject *args)
return pcDoc->getPyObject();
}
PyErr_SetString(PyExc_TypeError, "Either string or App.Document exprected");
PyErr_SetString(PyExc_TypeError, "Either string or App.Document expected");
return nullptr;
}

View File

@@ -1286,7 +1286,7 @@ StdCmdSelectAll::StdCmdSelectAll()
sWhatsThis = "Std_SelectAll";
sStatusTip = QT_TR_NOOP("Select all");
sPixmap = "edit-select-all";
//sAccel = "Ctrl+A"; // superseeds shortcuts for text edits
//sAccel = "Ctrl+A"; // supersedes shortcuts for text edits
}
void StdCmdSelectAll::activated(int iMsg)

View File

@@ -174,7 +174,7 @@ if HAVE_QTNETWORK:
def _setup_proxy(self):
"""Set up the proxy based on user preferences or prompts on command line"""
# Set up the proxy, if necesssary:
# Set up the proxy, if necessary:
if HAVE_FREECAD:
(
noProxyCheck,

View File

@@ -891,7 +891,7 @@ void SubShapeBinder::checkPropertyStatus() {
// Make Shape transient can reduce some file size, and maybe reduce file
// loading time as well. But there maybe complication arise when doing
// TopoShape version upgrade. So we DO NOT set trasient at the moment.
// TopoShape version upgrade. So we DO NOT set transient at the moment.
//
// Shape.setStatus(App::Property::Transient, !PartialLoad.getValue() && BindMode.getValue()==0);
}

View File

@@ -243,7 +243,7 @@ QString QGIRichAnno::convertTextSizes(const QString& inHtml) const
QStringList findList;
QStringList replList;
// find each occurence of "font-size:..." and calculate the equivalent size in scene units
// find each occurrence of "font-size:..." and calculate the equivalent size in scene units
// or CSS pixels
int pos = 0;
while ((pos = inHtml.indexOf(rxFontSize, pos, &match)) != -1) {

View File

@@ -310,7 +310,7 @@ void TaskRichAnno::createAnnoFeature()
m_annoFeat->X.setValue(Rez::appX(vTemp.x));
m_annoFeat->Y.setValue(Rez::appX(vTemp.y));
} else {
//if we don't have a base featrue, we can't calculate start position, so just put it mid-page
//if we don't have a base feature, we can't calculate start position, so just put it mid-page
m_annoFeat->X.setValue(m_basePage->getPageWidth()/2.0);
m_annoFeat->Y.setValue(m_basePage->getPageHeight()/2.0);
}

View File

@@ -59,7 +59,7 @@ private Q_SLOTS:
auto val1 = qsb->value();
QCOMPARE(val1.getFormat().precision, 7);
// format shoudn't change after setting a double
// format shouldn't change after setting a double
qsb->setValue(3.5);
auto val2 = qsb->value();
QCOMPARE(val2.getFormat().precision, 7);