- changed all the info messages that are of type warning, error or success so they have a space added after the keyword

- changed the Romanian translation by adding more diacritics
This commit is contained in:
Marius Stanciu
2019-03-29 00:26:00 +02:00
parent 6d9eb10a59
commit ecc2c90f2a
25 changed files with 2842 additions and 2782 deletions

View File

@@ -121,6 +121,6 @@ class TclCommandCutout(TclCommand):
try:
obj.app.new_object("geometry", name + "_cutout", geo_init_me)
self.app.inform.emit("[success]Rectangular-form Cutout operation finished.")
self.app.inform.emit("[success] Rectangular-form Cutout operation finished.")
except Exception as e:
return "Operation failed: %s" % str(e)

View File

@@ -155,8 +155,8 @@ class TclCommandGeoCutout(TclCommandSignaled):
return "Could not retrieve object: %s" % name
if 0 in {dia}:
self.app.inform.emit("[WARNING]Tool Diameter is zero value. Change it to a positive integer.")
return "Tool Diameter is zero value. Change it to a positive integer."
self.app.inform.emit("[WARNING]Tool Diameter is zero value. Change it to a positive real number.")
return "Tool Diameter is zero value. Change it to a positive real number."
if gaps not in ['lr', 'tb', '2lr', '2tb', 4, 8]:
self.app.inform.emit("[WARNING]Gaps value can be only one of: 'lr', 'tb', '2lr', '2tb', 4 or 8. "
@@ -220,7 +220,7 @@ class TclCommandGeoCutout(TclCommandSignaled):
ymax + gapsize)
cutout_obj.plot()
self.app.inform.emit("[success]Any-form Cutout operation finished.")
self.app.inform.emit("[success] Any-form Cutout operation finished.")
elif isinstance(cutout_obj, FlatCAMGerber):
def geo_init(geo_obj, app_obj):

View File

@@ -89,4 +89,4 @@ class TclCommandOpenGerber(TclCommandSignaled):
self.app.progress.emit(100)
# GUI feedback
self.app.inform.emit("[success]Opened: " + filename)
self.app.inform.emit("[success] Opened: " + filename)

View File

@@ -276,7 +276,7 @@ class TclCommandPanelize(TclCommand):
def job_thread(app_obj):
try:
panelize_2()
self.app.inform.emit("[success]Panel created successfully.")
self.app.inform.emit("[success] Panel created successfully.")
except Exception as e:
proc.done()
log.debug(str(e))
@@ -287,4 +287,4 @@ class TclCommandPanelize(TclCommand):
self.app.worker_task.emit({'fcn': job_thread, 'params': [self.app]})
else:
panelize_2()
self.app.inform.emit("[success]Panel created successfully.")
self.app.inform.emit("[success] Panel created successfully.")