- made some mods to what can be translated as some of the translations interfered with the correct functioning of FlatCAM

- updated the translations
This commit is contained in:
Marius Stanciu
2019-05-01 16:04:40 +03:00
committed by Marius
parent 6f3cbf1077
commit 747a0817f3
15 changed files with 5992 additions and 6108 deletions

View File

@@ -931,7 +931,7 @@ class FlatCAMExcEditor(QtCore.QObject):
self.drill_axis_radio = RadioSet([{'label': 'X', 'value': 'X'},
{'label': 'Y', 'value': 'Y'},
{'label': _('Angle'), 'value': 'A'}])
{'label': 'Angle', 'value': 'A'}])
self.drill_axis_radio.set_value('X')
self.linear_form.addRow(self.drill_axis_label, self.drill_axis_radio)

View File

@@ -475,9 +475,9 @@ class PaintOptionsTool(FlatCAMTool):
)
grid.addWidget(methodlabel, 3, 0)
self.paintmethod_combo = RadioSet([
{"label": _("Standard"), "value": "standard"},
{"label": _("Seed-based"), "value": "seed"},
{"label": _("Straight lines"), "value": "lines"}
{"label": "Standard", "value": "standard"},
{"label": "Seed-based", "value": "seed"},
{"label": "Straight lines", "value": "lines"}
], orientation='vertical', stretch=False)
grid.addWidget(self.paintmethod_combo, 3, 1)

View File

@@ -1983,7 +1983,7 @@ class FlatCAMGrbEditor(QtCore.QObject):
self.pad_axis_radio = RadioSet([{'label': 'X', 'value': 'X'},
{'label': 'Y', 'value': 'Y'},
{'label': _('Angle'), 'value': 'A'}])
{'label': 'Angle', 'value': 'A'}])
self.pad_axis_radio.set_value('X')
self.linear_form.addRow(self.pad_axis_label, self.pad_axis_radio)