- made the Distance Tool display the angle in values between 0 and 359.9999 degrees

- changed some strings
This commit is contained in:
Marius Stanciu
2020-06-01 01:21:53 +03:00
committed by Marius
parent 8eee9a9dcf
commit 440d0dde02
12 changed files with 44 additions and 39 deletions

View File

@@ -504,17 +504,17 @@ class CNCJobObject(FlatCAMObj, CNCjob):
try:
dir_file_to_save = self.app.get_last_save_folder() + '/' + str(name)
filename, _f = FCFileSaveDialog.get_saved_filename(
caption=_("Export Machine Code ..."),
caption=_("Export Code ..."),
directory=dir_file_to_save,
ext_filter=_filter_
)
except TypeError:
filename, _f = FCFileSaveDialog.get_saved_filename(caption=_("Export Machine Code ..."), ext_filter=_filter_)
filename, _f = FCFileSaveDialog.get_saved_filename(caption=_("Export Code ..."), ext_filter=_filter_)
filename = str(filename)
if filename == '':
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Export Machine Code cancelled ..."))
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Export cancelled ..."))
return
else:
if save_gcode is True:

View File

@@ -139,7 +139,7 @@ class FlatCAMObj(QtCore.QObject):
except KeyError:
log.debug("FlatCAMObj.from_dict() --> KeyError: %s. "
"Means that we are loading an old project that don't"
"have all attributes in the latest FlatCAM." % str(attr))
"have all attributes in the latest application version." % str(attr))
pass
def on_options_change(self, key):