- fixed issue with arrays of items could not be added in the Gerber/Excellon Editor when a translation is used
- fixed issue in the Excellon Editor where the Space key did not toggle the direction of the array of drills - combed the application strings all over the app and trimmed them up until those starting with letter 'O' - updated the translation strings
This commit is contained in:
committed by
Marius Stanciu
parent
e5569360a7
commit
90e3b26b68
@@ -161,7 +161,7 @@ class ExcellonEditorPrefGroupUI(OptionsGroupUI):
|
||||
# Slot length
|
||||
self.slot_length_label = QtWidgets.QLabel('%s:' % _('Length'))
|
||||
self.slot_length_label.setToolTip(
|
||||
_("Length = The length of the slot.")
|
||||
_("Length. The length of the slot.")
|
||||
)
|
||||
self.slot_length_label.setMinimumWidth(100)
|
||||
|
||||
|
||||
@@ -43,8 +43,8 @@ class ExcellonExpPrefGroupUI(OptionsGroupUI):
|
||||
_("The units used in the Excellon file.")
|
||||
)
|
||||
|
||||
self.excellon_units_radio = RadioSet([{'label': _('INCH'), 'value': 'INCH'},
|
||||
{'label': _('MM'), 'value': 'METRIC'}])
|
||||
self.excellon_units_radio = RadioSet([{'label': _('Inch'), 'value': 'INCH'},
|
||||
{'label': _('mm'), 'value': 'METRIC'}])
|
||||
self.excellon_units_radio.setToolTip(
|
||||
_("The units used in the Excellon file.")
|
||||
)
|
||||
|
||||
@@ -179,8 +179,8 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
|
||||
"therefore this parameter will be used.")
|
||||
)
|
||||
|
||||
self.excellon_units_radio = RadioSet([{'label': _('INCH'), 'value': 'INCH'},
|
||||
{'label': _('MM'), 'value': 'METRIC'}])
|
||||
self.excellon_units_radio = RadioSet([{'label': _('Inch'), 'value': 'INCH'},
|
||||
{'label': _('mm'), 'value': 'METRIC'}])
|
||||
self.excellon_units_radio.setToolTip(
|
||||
_("This sets the units of Excellon files.\n"
|
||||
"Some Excellon files don't have an header\n"
|
||||
|
||||
@@ -30,7 +30,7 @@ class ExcellonOptPrefGroupUI(OptionsGroupUI):
|
||||
self.decimals = decimals
|
||||
|
||||
# ## Create CNC Job
|
||||
self.cncjob_label = QtWidgets.QLabel('<b>%s</b>' % _('Create CNC Job'))
|
||||
self.cncjob_label = QtWidgets.QLabel('<b>%s</b>' % _('Create CNCJob'))
|
||||
self.cncjob_label.setToolTip(
|
||||
_("Parameters used to create a CNC Job object\n"
|
||||
"for this drill object.")
|
||||
|
||||
Reference in New Issue
Block a user