- 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:
@@ -5751,7 +5751,7 @@ class App(QtCore.QObject):
|
||||
filter = _filter_)
|
||||
|
||||
if filename == "":
|
||||
self.inform.emit(_("[WARNING_NOTCL]Open Config cancelled."))
|
||||
self.inform.emit(_("[WARNING_NOTCL Open Config cancelled."))
|
||||
else:
|
||||
self.open_config_file(filename)
|
||||
|
||||
|
||||
@@ -1171,7 +1171,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
|
||||
ret = self.app.new_object("gerber", name, obj_init, autoselected=False)
|
||||
if ret == 'fail':
|
||||
self.app.inform.emit(_(
|
||||
'[ERROR_NOTCL] Cretion of Gerber failed.'
|
||||
'[ERROR_NOTCL] Creation of Gerber failed.'
|
||||
))
|
||||
return
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ CAD program, and create G-Code for Isolation routing.
|
||||
|
||||
- About 45% progress in German translation
|
||||
- new feature: added ability to edit MultiGeo geometry (geometry from Paint Tool)
|
||||
- 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
|
||||
|
||||
27.03.2019
|
||||
|
||||
|
||||
@@ -346,8 +346,8 @@ class CutOut(FlatCAMTool):
|
||||
|
||||
|
||||
if 0 in {dia}:
|
||||
self.app.inform.emit(_("[WARNING_NOTCL]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_NOTCL] 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."
|
||||
|
||||
try:
|
||||
margin = float(self.margin.get_value())
|
||||
@@ -483,8 +483,8 @@ class CutOut(FlatCAMTool):
|
||||
return
|
||||
|
||||
if 0 in {dia}:
|
||||
self.app.inform.emit(_("[ERROR_NOTCL]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(_("[ERROR_NOTCL] 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."
|
||||
|
||||
try:
|
||||
margin = float(self.margin.get_value())
|
||||
@@ -603,8 +603,8 @@ class CutOut(FlatCAMTool):
|
||||
return
|
||||
|
||||
if 0 in {self.cutting_dia}:
|
||||
self.app.inform.emit(_("[ERROR_NOTCL]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(_("[ERROR_NOTCL] 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."
|
||||
|
||||
try:
|
||||
self.cutting_gapsize = float(self.gapsize.get_value())
|
||||
@@ -652,7 +652,7 @@ class CutOut(FlatCAMTool):
|
||||
try:
|
||||
cutout_obj = self.app.collection.get_by_name(str(name))
|
||||
except:
|
||||
self.app.inform.emit(_("[ERROR_NOTCL]Could not retrieve Geoemtry object: %s") % name)
|
||||
self.app.inform.emit(_("[ERROR_NOTCL] Could not retrieve Geometry object: %s") % name)
|
||||
return "Could not retrieve object: %s" % name
|
||||
|
||||
if cutout_obj is None:
|
||||
@@ -708,8 +708,8 @@ class CutOut(FlatCAMTool):
|
||||
return
|
||||
|
||||
if 0 in {dia}:
|
||||
self.app.inform.emit(_("[ERROR_NOTCL]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(_("[ERROR_NOTCL] 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."
|
||||
|
||||
try:
|
||||
margin = float(self.margin.get_value())
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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. "
|
||||
|
||||
Reference in New Issue
Block a user