- remade the layout in 2Sided Tool

- work in progress for translation in Romanian - 91%
This commit is contained in:
Marius Stanciu
2019-03-17 15:47:17 +02:00
parent fe6fa826ce
commit abfa78d898
14 changed files with 2470 additions and 2936 deletions

View File

@@ -190,7 +190,7 @@ class FlatCAMObj(QtCore.QObject):
log.debug("on_name_activate() --> Could not remove the old object name from auto-completer model list")
self.options["name"] = self.ui.name_entry.get_value()
self.app.inform.emit(_("[success]Name changed from %s to %s") % (old_name, new_name))
self.app.inform.emit(_("[success]Name changed from {old} to {new}").format(old=old_name, new=new_name))
def on_offset_button_click(self):
self.app.report_usage("obj_on_offset_button")
@@ -2467,7 +2467,7 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
tools_csv = ','.join(tools)
ret_val = job_obj.generate_from_excellon_by_tool(self, tools_csv,
drillz=float(self.options['drillz']),
toolchange=float(self.options["toolchange"]),
toolchange=self.options["toolchange"],
toolchangexy=self.app.defaults["excellon_toolchangexy"],
toolchangez=float(self.options["toolchangez"]),
startz=float(self.options["startz"]) if
@@ -5108,7 +5108,7 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
# flag to store if the CNCJob is part of a special group of CNCJob objects that can't be processed by the
# default engine of FlatCAM. They generated by some of tools and are special cases of CNCJob objects.
self. special_group = None
self.special_group = None
# for now it show if the plot will be done for multi-tool CNCJob (True) or for single tool
# (like the one in the TCL Command), False
@@ -5623,7 +5623,6 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
def on_toolchange_custom_clicked(self, signal):
try:
if 'toolchange_custom' not in str(self.options['ppname_e']).lower():
print(self.options['ppname_e'])
if self.ui.toolchange_cb.get_value():
self.ui.toolchange_cb.set_value(False)
self.app.inform.emit(