Fix typos

This commit is contained in:
asiersarasua
2017-04-23 09:40:42 +02:00
committed by Yorik van Havre
parent 0d5176700a
commit 43704f31ee
8 changed files with 11 additions and 11 deletions

View File

@@ -1088,7 +1088,7 @@ def export(exportList,filename):
elif gdata[0] == "composite":
representation = ifc.addExtrudedCompositeCurve(gdata[1], gdata[2], color=color)
else:
print("debug: unknow extrusion type")
print("debug: unknown extrusion type")
elif fdata:
representation = [ifc.addFacetedBrep(f, color=color) for f in fdata]

View File

@@ -3282,7 +3282,7 @@ def upgrade(objects,delete=False,force=None):
"makeShell","makeFaces","draftify","joinFaces","makeSketchFace","makeWires","turnToLine"]:
result = eval(force)(objects)
else:
msg(translate("Upgrade: Unknow force method:")+" "+force)
msg(translate("Upgrade: Unknown force method:")+" "+force)
result = None
else:
@@ -3523,7 +3523,7 @@ def downgrade(objects,delete=False,force=None):
if force in ["explode","shapify","subtr","splitFaces","cut2","getWire","splitWires"]:
result = eval(force)(objects)
else:
msg(translate("Upgrade: Unknow force method:")+" "+force)
msg(translate("Upgrade: Unknown force method:")+" "+force)
result = None
else:

View File

@@ -131,7 +131,7 @@ class TaskPanel:
return True
# Get the element type
# 0 = unknow, 1 = vertex, 2 = line, 3 = face, 4 = solids
# 0 = unknown, 1 = vertex, 2 = line, 3 = face, 4 = solids
self.elem_type = 0
for shape in self.shapes:
# Doing it in this way we are protected under strange entities,
@@ -161,7 +161,7 @@ class TaskPanel:
if self.elem_type == 0:
msg = QtGui.QApplication.translate(
"ship_weight",
"Unknow object shapes selected",
"Unknown object shapes selected",
None)
App.Console.PrintError(msg + '\n')
return True

View File

@@ -162,7 +162,7 @@ void CmdSketcherNewSketch::activated(int iMsg)
if (msgid != Attacher::SuggestResult::srOK && msgid != Attacher::SuggestResult::srNoModesFit){
QMessageBox::warning(Gui::getMainWindow(),
QObject::tr("Sketch mapping"),
QObject::tr("Can't map the skecth to selected object. %1.").arg(msg_str));
QObject::tr("Can't map the sketch to selected object. %1.").arg(msg_str));
return;
}
if (validModes.size() > 1){

View File

@@ -5980,7 +5980,7 @@ namespace SketcherGui {
this->notAllowedReason = QT_TR_NOOP("This object is in another document.");
break;
case Sketcher::SketchObject::rlOtherBody:
this->notAllowedReason = QT_TR_NOOP("This object belongs to another body, can't link. Hold Ctrl to allow crossreferences.");
this->notAllowedReason = QT_TR_NOOP("This object belongs to another body, can't link. Hold Ctrl to allow cross-references.");
break;
case Sketcher::SketchObject::rlOtherPart:
this->notAllowedReason = QT_TR_NOOP("This object belongs to another part, can't link.");