- trimmed the application strings
This commit is contained in:
committed by
Marius Stanciu
parent
77c66862c5
commit
f5310148eb
@@ -278,7 +278,7 @@ class TclCommandCopperClear(TclCommand):
|
||||
box_obj = self.app.collection.get_by_name(str(box_name))
|
||||
except Exception as e:
|
||||
log.debug("TclCommandCopperClear.execute() --> %s" % str(e))
|
||||
self.raise_tcl_error("%s: %s" % (_("Could not retrieve box object"), name))
|
||||
self.raise_tcl_error("%s: %s" % (_("Could not retrieve object"), name))
|
||||
return "Could not retrieve object: %s" % name
|
||||
|
||||
self.app.ncclear_tool.clear_copper_tcl(ncc_obj=obj,
|
||||
|
||||
@@ -84,7 +84,7 @@ class TclCommandMirror(TclCommandSignaled):
|
||||
try:
|
||||
box = self.app.collection.get_by_name(args['box'])
|
||||
except Exception:
|
||||
return "Could not retrieve object box: %s" % args['box']
|
||||
return "Could not retrieve object: %s" % args['box']
|
||||
|
||||
if box is None:
|
||||
return "Object box not found: %s" % args['box']
|
||||
|
||||
@@ -282,7 +282,7 @@ class TclCommandPaint(TclCommand):
|
||||
box_obj = self.app.collection.get_by_name(str(box_name))
|
||||
except Exception as e:
|
||||
log.debug("TclCommandPaint.execute() --> %s" % str(e))
|
||||
self.raise_tcl_error("%s: %s" % (_("Could not retrieve box object"), name))
|
||||
self.raise_tcl_error("%s: %s" % (_("Could not retrieve object"), name))
|
||||
return "Could not retrieve object: %s" % name
|
||||
|
||||
self.app.paint_tool.paint_poly_ref(obj=obj,
|
||||
|
||||
@@ -78,7 +78,7 @@ class TclCommandScale(TclCommand):
|
||||
obj_to_scale = self.app.collection.get_by_name(name)
|
||||
except Exception as e:
|
||||
log.debug("TclCommandCopperClear.execute() --> %s" % str(e))
|
||||
self.raise_tcl_error("%s: %s" % (_("Could not retrieve box object"), name))
|
||||
self.raise_tcl_error("%s: %s" % (_("Could not retrieve object"), name))
|
||||
return "Could not retrieve object: %s" % name
|
||||
|
||||
if 'origin' not in args:
|
||||
|
||||
Reference in New Issue
Block a user