source typo fixes pt5

+ cleaning up some more non-short-URLs
Issue #2914
This commit is contained in:
Kunda
2017-03-03 16:43:42 -05:00
committed by Yorik van Havre
parent 2c4b16d323
commit de2392eb18
58 changed files with 147 additions and 148 deletions

View File

@@ -129,7 +129,7 @@ class _CutPlaneTaskPanel:
def retranslateUi(self, TaskPanel):
TaskPanel.setWindowTitle(QtGui.QApplication.translate("Arch", "Cut Plane", None))
self.title.setText(QtGui.QApplication.translate("Arch", "Cut Plane options", None))
self.infoText.setText(QtGui.QApplication.translate("Arch", "Wich side to cut", None))
self.infoText.setText(QtGui.QApplication.translate("Arch", "Which side to cut", None))
self.combobox.addItems([QtGui.QApplication.translate("Arch", "Behind", None),
QtGui.QApplication.translate("Arch", "Front", None)])

View File

@@ -26,7 +26,7 @@ if FreeCAD.GuiUp:
from PySide import QtCore, QtGui
from DraftTools import translate
__title__ = "Arch Material Managment"
__title__ = "Arch Material Management"
__author__ = "Yorik van Havre"
__url__ = "http://www.freecadweb.org"

View File

@@ -91,7 +91,7 @@ def makeStructure(baseobj=None,length=None,width=None,height=None,name="Structur
obj.Length = length
else:
if not baseobj:
# don't set the length if we have a base object, otherwise the lenght X height calc
# don't set the length if we have a base object, otherwise the length X height calc
# gets wrong
obj.Length = p.GetFloat("StructureLength",100)
if obj.Height > obj.Length:

View File

@@ -356,7 +356,7 @@ class Renderer:
return 0
if DEBUG: print("failed, faces bboxes are not distinct")
# test 2: if Z bounds dont overlap, it's easy to know the closest
# test 2: if Z bounds don't overlap, it's easy to know the closest
if DEBUG: print("doing test 2")
if b1.ZMax < b2.ZMin:
return 2

View File

@@ -1457,7 +1457,7 @@ class IfcSchema:
entity["supertype"] = subtypeofmatch.groups()[0].upper() if subtypeofmatch else None
# find the shortest string matched from the end of the entity type header to the
# first occurence of a NO_ATTR string (when it occurs on a new line)
# first occurrence of a NO_ATTR string (when it occurs on a new line)
inner_str = re.search(";(.*?)$", raw_entity_str, re.DOTALL).groups()[0]
attrs_str = min([inner_str.partition("\r\n "+a)[0] for a in self.NO_ATTR])