Draft: modfified translate function to allow comments

Also fixed incorrect typos in previous commit
This commit is contained in:
luzpaz
2023-05-04 13:27:05 +00:00
parent c6b2b3fae3
commit cd6efa23c6
2 changed files with 3 additions and 3 deletions

View File

@@ -519,7 +519,7 @@ class Draft_SelectPlane:
vdir += str(_vdir.x)[:4] + ','
vdir += str(_vdir.y)[:4] + ','
vdir += str(_vdir.z)[:4] + ')' + ' '
vdir *= translate("draft", "Dir", "Dir here means Direction, not Directory. Also shorten the translation because of available space in GUI")
vdir += translate("draft", "Dir", "Dir here means Direction, not Directory. Also shorten the translation because of available space in GUI")
vdir = ': ' + vdir
if type(arg).__name__ == 'str':
self.wpButton.setText(arg + suffix)