Crowdin: fix in different WBs

This commit is contained in:
luz.paz
2018-04-17 17:47:34 -04:00
committed by luz paz
parent 4604bd9456
commit fb224b0090
7 changed files with 23 additions and 24 deletions

View File

@@ -92,7 +92,7 @@
</Methode>
<Methode Name="redo">
<Documentation>
<UserDocu>Redo a previosly undid transaction</UserDocu>
<UserDocu>Redo a previously undone transaction</UserDocu>
</Documentation>
</Methode>
<Methode Name="clearUndos">

View File

@@ -17,7 +17,7 @@
<UserDocu>Bound box class
A bounding box is an orthographic cube which is a way to describe outer boundaries.
You get a bounding box from a lot of 3D types. It is often used to check if a 3D
entity lies in the range of another object. Checking for boundig interference first
entity lies in the range of another object. Checking for bounding interference first
can save a lot of computing time!
Constructor:

View File

@@ -661,7 +661,7 @@ class Line(Creator):
newseg = Part.LineSegment(last,point).toShape()
newshape=currentshape.fuse(newseg)
self.obj.Shape = newshape
msg(translate("draft", "Pick next point, or Finish (shift-F) or close (o):\n"))
msg(translate("draft", "Pick next point, or Finish (shift-F) or close (o):")+"\n")
def wipe(self):
"removes all previous segments and starts from last point"
@@ -671,7 +671,7 @@ class Line(Creator):
self.node = [self.node[-1]]
if self.planetrack:
self.planetrack.set(self.node[0])
msg(translate("draft", "Pick next point:\n"))
msg(translate("draft", "Pick next point:")+"\n")
def orientWP(self):
if hasattr(FreeCAD,"DraftWorkingPlane"):
@@ -2662,7 +2662,7 @@ class Offset(Modifier):
msg(translate("draft", "Select an object to offset")+"\n")
self.call = self.view.addEventCallback("SoEvent",selectObject)
elif len(FreeCADGui.Selection.getSelection()) > 1:
msg(translate("draft", "Offset only works on one object at a time\n"),"warning")
msg(translate("draft", "Offset only works on one object at a time")+"\n","warning")
else:
self.proceed()
@@ -2693,7 +2693,7 @@ class Offset(Modifier):
self.ghost = bsplineTracker(points=self.sel.Points)
self.mode = "BSpline"
elif Draft.getType(self.sel) == "BezCurve":
msg(translate("draft", "Sorry, offset of Bezier curves is currently still not supported\n"),"warning")
msg(translate("draft", "Sorry, offset of Bezier curves is currently still not supported")+"\n","warning")
self.finish()
return
else:
@@ -3490,10 +3490,10 @@ class Trimex(Modifier):
wires = []
for obj in objectslist:
if not Draft.getType(obj) in ["Wire","Circle"]:
msg(translate("draft","Unable to trim these objects, only Draft wires and arcs are supported\n"),"error")
msg(translate("draft","Unable to trim these objects, only Draft wires and arcs are supported")+"\n","error")
return
if len (obj.Shape.Wires) > 1:
msg(translate("draft","Unable to trim these objects, too many wires\n"),"error")
msg(translate("draft","Unable to trim these objects, too many wires")+"\n","error")
return
if len(obj.Shape.Wires) == 1:
wires.append(obj.Shape.Wires[0])
@@ -3510,10 +3510,10 @@ class Trimex(Modifier):
edge1 = i1
edge2 = i2
if not ints:
msg(translate("draft","These objects don't intersect\n"),"error")
msg(translate("draft","These objects don't intersect")+"\n","error")
return
if len(ints) != 1:
msg(translate("draft","Too many intersection points\n"),"error")
msg(translate("draft","Too many intersection points")+"\n","error")
return
v11 = wires[0].Vertexes[0].Point
v12 = wires[0].Vertexes[-1].Point
@@ -3833,21 +3833,21 @@ class Edit(Modifier):
if not Draft.getType(self.selection[0]) in ["BezCurve","Wire","BSpline","Circle","Rectangle",
"Polygon","Dimension","Space","Structure","PanelCut",
"PanelSheet"]:
msg(translate("draft", "This object type is not editable\n"),'warning')
msg(translate("draft", "This object type is not editable")+"\n",'warning')
self.finish()
return
self.proceed()
return
else:
msg(translate("draft", "This object type is not editable\n"),'warning')
msg(translate("draft", "This object type is not editable")+"\n",'warning')
self.finish()
return
else:
msg(translate("draft", "This object type is not editable\n"),'warning')
msg(translate("draft", "This object type is not editable")+"\n",'warning')
self.finish()
return
else:
msg(translate("draft", "Please select only one object\n"),'warning')
msg(translate("draft", "Please select only one object")+"\n",'warning')
self.finish()
return
self.ghost = None
@@ -3868,7 +3868,7 @@ class Edit(Modifier):
if not Draft.getType(self.obj) in ["BezCurve","Wire","BSpline","Circle","Rectangle",
"Polygon","Dimension","Space","Structure","PanelCut",
"PanelSheet"]:
msg(translate("draft", "This object type is not editable\n"),'warning')
msg(translate("draft", "This object type is not editable")+"\n",'warning')
self.finish()
return
if (Draft.getType(self.obj) == "BezCurve"):
@@ -3974,7 +3974,7 @@ class Edit(Modifier):
if self.planetrack:
self.planetrack.set(self.editpoints[0])
else:
msg(translate("draft", "This object type is not editable\n"),'warning')
msg(translate("draft", "This object type is not editable")+"\n",'warning')
self.finish()
else:
self.finish()
@@ -4288,7 +4288,7 @@ class Edit(Modifier):
def delPoint(self,point):
if not (Draft.getType(self.obj) in ["Wire","BSpline","BezCurve"]): return
if len(self.obj.Points) <= 2:
msg(translate("draft", "Active object must have more than two points/nodes\n"),'warning')
msg(translate("draft", "Active object must have more than two points/nodes")+"\n",'warning')
else:
pts = self.obj.Points
pts.pop(point)
@@ -4323,8 +4323,7 @@ class Edit(Modifier):
keepp = point
changep = 1
else:
msg(translate("draft", "Can't change Knot belonging to pole %d\n"%point)\
,'warning')
msg(translate("draft", "Can't change Knot belonging to pole %d"%point)+"\n",'warning')
return
if knot:
if style == 'Tangent':
@@ -4361,7 +4360,7 @@ class Edit(Modifier):
pts[1],pts[-1] = self.obj.Proxy.symmetricpoles(pts[0],pts[1],pts[-1])
knot = 0
else:
msg(translate("draft", "Endpoint of BezCurve can't be smoothed\n"),'warning')
msg(translate("draft", "Endpoint of BezCurve can't be smoothed")+"\n",'warning')
return
segment = knot // deg #segment index
newcont=self.obj.Continuity[:] #don't edit a property inplace !!!

View File

@@ -198,7 +198,7 @@ such as &quot;Arial:Bold&quot;</string>
<item>
<widget class="QLabel" name="label_18">
<property name="text">
<string>Extension lines size</string>
<string>Extension lines size</string>
</property>
</widget>
</item>

View File

@@ -60,7 +60,7 @@
<item>
<widget class="Gui::PrefCheckBox" name="filterInternalAlignment">
<property name="text">
<string>Hide Internal Aligment</string>
<string>Hide Internal Alignment</string>
</property>
<property name="checked">
<bool>true</bool>

View File

@@ -162,7 +162,7 @@ void UnitTestDialog::on_helpButton_clicked()
QMessageBox::information(this, tr("Help"), tr(
"Enter the name of a callable object which, when called, will return a TestCase."
"Click 'start', and the test thus produced will be run.\n\n"
"Double click on an error in the tree view to see more information about it,"
"Double click on an error in the tree view to see more information about it, "
"including the stack trace."));
}

View File

@@ -177,7 +177,7 @@ _HELP_TEXT="""\
Enter the name of a callable object which, when called, will return a \
TestCase or TestSuite. Click 'start', and the test thus produced will be run.
Double click on an error in the listbox to see more information about it,\
Double click on an error in the listbox to see more information about it, \
including the stack trace.
For more information, visit