- more refactoring in the app

This commit is contained in:
Marius Stanciu
2021-01-29 02:40:10 +02:00
committed by Marius
parent 07ab8e08cc
commit e36a8a04a0
20 changed files with 49 additions and 49 deletions

View File

@@ -360,7 +360,7 @@ class ToolIsolation(AppTool, Gerber):
dias = self.app.defaults["tools_iso_tooldia"]
if not dias:
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> TOOLS -> Isolation Tools.")
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> Plugins -> Isolation Tools.")
return
self.tooluid = 0

View File

@@ -572,7 +572,7 @@ class ToolPaint(AppTool, Gerber):
diameters = self.app.defaults["tools_paint_tooldia"]
if not diameters:
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> TOOLS -> NCC Tools.")
log.error("At least one tool diameter needed. Verify in Edit -> Preferences -> Plugins -> NCC Tools.")
self.build_ui()
# if the Paint Method is "Single" disable the tool table context menu

View File

@@ -128,7 +128,7 @@ class Properties(AppTool):
obj_list = self.app.collection.get_selected()
if not obj_list:
self.app.inform.emit('[ERROR_NOTCL] %s' % _("No object is selected."))
self.app.ui.notebook.setTabText(2, _("Tools"))
self.app.ui.notebook.setTabText(2, _("Plugins"))
self.properties_frame.hide()
self.app.ui.notebook.setCurrentWidget(self.app.ui.project_tab)
return

View File

@@ -192,7 +192,7 @@ class SolderPaste(AppTool):
except Exception as err:
self.app.log.error("SolderPaste.set_tool_ui() -> nozzle dias -> %s" % str(err))
self.app.log.error("At least one Nozzle tool diameter needed. "
"Verify in Edit -> Preferences -> TOOLS -> Solder Paste Tools.")
"Verify in Edit -> Preferences -> Plugins -> Solder Paste Tools.")
return
self.tooluid = 0