Draft: Remove trailing spaces from translations
This commit is contained in:
@@ -378,7 +378,7 @@ Note that this can take a while!</string>
|
||||
<widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_5">
|
||||
<property name="toolTip">
|
||||
<string>Objects from the same layers will be joined into Draft Blocks,
|
||||
turning the display faster, but making them less easily editable </string>
|
||||
turning the display faster, but making them less easily editable.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Group layers into blocks</string>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<widget class="Gui::PrefCheckBox" name="checkBox">
|
||||
<property name="toolTip">
|
||||
<string>If checked, no units conversion will occur.
|
||||
One unit in the SVG file will translate as one millimeter. </string>
|
||||
One unit in the SVG file will translate as one millimeter.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Disable units scaling</string>
|
||||
@@ -201,9 +201,9 @@ One unit in the SVG file will translate as one millimeter. </string>
|
||||
<item>
|
||||
<widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox">
|
||||
<property name="toolTip">
|
||||
<string>Versions of Open CASCADE older than version 6.8 don't support arc projection.
|
||||
<string>Versions of OpenCASCADE older than version 6.8 don't support arc projection.
|
||||
In this case arcs will be discretized into small line segments.
|
||||
This value is the maximum segment length. </string>
|
||||
This value is the maximum segment length.</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string>mm</string>
|
||||
|
||||
@@ -261,7 +261,7 @@ def make_label(target_point=App.Vector(0, 0, 0),
|
||||
|
||||
types = label.get_label_types()
|
||||
if label_type not in types:
|
||||
_err(translate("draft", "Wrong input: label_type must be one of the following: ") + str(types).strip("[]"))
|
||||
_err(translate("draft", "Wrong input: label_type must be one of the following:") + " " + str(types).strip("[]"))
|
||||
return None
|
||||
|
||||
if not custom_text:
|
||||
|
||||
@@ -705,8 +705,8 @@ def compare_objects(obj1, obj2):
|
||||
elif p == "Placement":
|
||||
delta = obj1.Placement.Base.sub(obj2.Placement.Base)
|
||||
text = translate("draft", "Objects have different placements. "
|
||||
"Distance between the two base points: ")
|
||||
_msg(text + str(delta.Length))
|
||||
"Distance between the two base points:")
|
||||
_msg(text + " " + str(delta.Length))
|
||||
else:
|
||||
if getattr(obj1, p) != getattr(obj2, p):
|
||||
_msg("'{}' ".format(p) + translate("draft", "has a different value"))
|
||||
@@ -1106,11 +1106,8 @@ def use_instead(function, version=""):
|
||||
then we should not give a version.
|
||||
"""
|
||||
if version:
|
||||
_wrn(translate("draft", "This function will be deprecated in ")
|
||||
+ "{}. ".format(version)
|
||||
+ translate("draft", "Please use ") + "'{}'.".format(function))
|
||||
_wrn(translate("draft", "This function will be deprecated in {}. Please use '{}'.") .format(version, function))
|
||||
else:
|
||||
_wrn(translate("draft", "This function will be deprecated. ")
|
||||
+ translate("draft", "Please use ") + "'{}'.".format(function))
|
||||
_wrn(translate("draft", "This function will be deprecated. Please use '{}'.") .format(function))
|
||||
|
||||
## @}
|
||||
|
||||
Reference in New Issue
Block a user