- updated all the translation files
This commit is contained in:
committed by
Marius Stanciu
parent
5ce594a349
commit
e5569360a7
@@ -578,7 +578,7 @@ class CutOut(AppTool):
|
||||
if gaps not in ['None', 'LR', 'TB', '2LR', '2TB', '4', '8']:
|
||||
self.app.inform.emit('[WARNING_NOTCL] %s' %
|
||||
_("Gaps value can be only one of: 'None', 'lr', 'tb', '2lr', '2tb', 4 or 8.\n"
|
||||
"Fill in a correct value and retry. "))
|
||||
"Fill in a correct value and retry."))
|
||||
return
|
||||
|
||||
# if cutout_obj.multigeo is True:
|
||||
@@ -951,9 +951,9 @@ class CutOut(AppTool):
|
||||
return
|
||||
|
||||
if gaps not in ['None', 'LR', 'TB', '2LR', '2TB', '4', '8']:
|
||||
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Gaps value can be only one of: "
|
||||
"'None', 'lr', 'tb', '2lr', '2tb', 4 or 8. "
|
||||
"Fill in a correct value and retry. "))
|
||||
msg = '[WARNING_NOTCL] %s' % _("Gaps value can be only one of: 'None', 'lr', 'tb', '2lr', '2tb', 4 or 8.\n"
|
||||
"Fill in a correct value and retry.")
|
||||
self.app.inform.emit(msg)
|
||||
return
|
||||
|
||||
# if cutout_obj.multigeo is True:
|
||||
|
||||
@@ -2069,7 +2069,7 @@ class DrillingUI:
|
||||
"will be showed as a T1, T2 ... Tn in the Machine Code.\n\n"
|
||||
"Here the tools are selected for G-code generation."))
|
||||
self.tools_table.horizontalHeaderItem(1).setToolTip(
|
||||
_("Tool Diameter. It's value\n"
|
||||
_("Tool Diameter. Its value\n"
|
||||
"is the cut width into the material."))
|
||||
self.tools_table.horizontalHeaderItem(2).setToolTip(
|
||||
_("The number of Drill holes. Holes that are drilled with\n"
|
||||
|
||||
@@ -291,7 +291,7 @@ class Film(AppTool):
|
||||
if film_obj.apertures[apid]['type'] == 'C':
|
||||
if punch_size >= float(film_obj.apertures[apid]['size']):
|
||||
self.app.inform.emit('[ERROR_NOTCL] %s' %
|
||||
_("Failed. Punch hole size"
|
||||
_("Failed. Punch hole size "
|
||||
"is bigger than some of the apertures in the Gerber object."))
|
||||
return 'fail'
|
||||
else:
|
||||
@@ -303,7 +303,7 @@ class Film(AppTool):
|
||||
if punch_size >= float(film_obj.apertures[apid]['width']) or \
|
||||
punch_size >= float(film_obj.apertures[apid]['height']):
|
||||
self.app.inform.emit('[ERROR_NOTCL] %s' %
|
||||
_("Failed. Punch hole size"
|
||||
_("Failed. Punch hole size "
|
||||
"is bigger than some of the apertures in the Gerber object."))
|
||||
return 'fail'
|
||||
else:
|
||||
|
||||
@@ -3138,7 +3138,7 @@ class IsoUI:
|
||||
"this function will not be able to create routing geometry.")
|
||||
)
|
||||
self.tools_table.horizontalHeaderItem(1).setToolTip(
|
||||
_("Tool Diameter. It's value\n"
|
||||
_("Tool Diameter. Its value\n"
|
||||
"is the cut width into the material."))
|
||||
|
||||
self.tools_table.horizontalHeaderItem(2).setToolTip(
|
||||
|
||||
@@ -1674,7 +1674,7 @@ class MillingUI:
|
||||
"will be showed as a T1, T2 ... Tn in the Machine Code.\n\n"
|
||||
"Here the tools are selected for G-code generation."))
|
||||
self.tools_table.horizontalHeaderItem(1).setToolTip(
|
||||
_("Tool Diameter. It's value\n"
|
||||
_("Tool Diameter. Its value\n"
|
||||
"is the cut width into the material."))
|
||||
self.tools_table.horizontalHeaderItem(2).setToolTip(
|
||||
_("The number of Drill holes. Holes that are drilled with\n"
|
||||
|
||||
@@ -206,8 +206,8 @@ class ToolMove(AppTool):
|
||||
|
||||
# delete the selection bounding box
|
||||
self.delete_shape()
|
||||
self.app.inform.emit('[success] %s %s' %
|
||||
(str(sel_obj.kind).capitalize(), 'object was moved ...'))
|
||||
self.app.inform.emit('[success] %s %s ...' %
|
||||
(str(sel_obj.kind).capitalize(), _('object was moved')))
|
||||
|
||||
self.app.worker_task.emit({'fcn': job_move, 'params': [self]})
|
||||
|
||||
@@ -217,8 +217,7 @@ class ToolMove(AppTool):
|
||||
|
||||
except TypeError as e:
|
||||
log.debug("ToolMove.on_left_click() --> %s" % str(e))
|
||||
self.app.inform.emit('[ERROR_NOTCL] ToolMove.on_left_click() --> %s' %
|
||||
_('Error when mouse left click.'))
|
||||
self.app.inform.emit('[ERROR_NOTCL] ToolMove. %s' % _('Error when mouse left click.'))
|
||||
return
|
||||
|
||||
self.clicked_move = 1
|
||||
|
||||
@@ -4009,7 +4009,7 @@ class NccUI:
|
||||
"this function will not be able to create painting geometry.")
|
||||
)
|
||||
self.tools_table.horizontalHeaderItem(1).setToolTip(
|
||||
_("Tool Diameter. It's value\n"
|
||||
_("Tool Diameter. Its value\n"
|
||||
"is the cut width into the material."))
|
||||
|
||||
self.tools_table.horizontalHeaderItem(2).setToolTip(
|
||||
|
||||
@@ -2842,7 +2842,7 @@ class PaintUI:
|
||||
"this function will not be able to create painting geometry.")
|
||||
)
|
||||
self.tools_table.horizontalHeaderItem(1).setToolTip(
|
||||
_("Tool Diameter. It's value\n"
|
||||
_("Tool Diameter. Its value\n"
|
||||
"is the cut width into the material."))
|
||||
|
||||
self.tools_table.horizontalHeaderItem(2).setToolTip(
|
||||
|
||||
@@ -1178,7 +1178,7 @@ class SolderUI:
|
||||
"with solder paste, the app will issue a warning message box.")
|
||||
)
|
||||
self.tools_table.horizontalHeaderItem(1).setToolTip(
|
||||
_("Nozzle tool Diameter. It's value (in current FlatCAM units)\n"
|
||||
_("Tool Diameter. Its value\n"
|
||||
"is the width of the solder paste dispensed."))
|
||||
|
||||
# ### Add a new Tool ## ##
|
||||
|
||||
Reference in New Issue
Block a user