- added some more strings to the translateable ones, especially the radio button labels

- updated the .POT file and the available translations
- 51% progress in Spanish Google translation
This commit is contained in:
Marius Stanciu
2019-07-17 14:11:10 +03:00
committed by Marius
parent e6153298bc
commit ac2bf56e14
28 changed files with 13799 additions and 10490 deletions

View File

@@ -44,7 +44,7 @@ class DblSidedTool(FlatCAMTool):
self.gerber_object_combo.setRootModelIndex(self.app.collection.index(0, 0, QtCore.QModelIndex()))
self.gerber_object_combo.setCurrentIndex(1)
self.botlay_label = QtWidgets.QLabel("<b>GERBER:</b>")
self.botlay_label = QtWidgets.QLabel(_("<b>GERBER:</b>"))
self.botlay_label.setToolTip(
"Gerber to be mirrored."
)
@@ -68,7 +68,7 @@ class DblSidedTool(FlatCAMTool):
self.exc_object_combo.setRootModelIndex(self.app.collection.index(1, 0, QtCore.QModelIndex()))
self.exc_object_combo.setCurrentIndex(1)
self.excobj_label = QtWidgets.QLabel("<b>EXCELLON:</b>")
self.excobj_label = QtWidgets.QLabel(_("<b>EXCELLON:</b>"))
self.excobj_label.setToolTip(
_("Excellon Object to be mirrored.")
)
@@ -92,7 +92,7 @@ class DblSidedTool(FlatCAMTool):
self.geo_object_combo.setRootModelIndex(self.app.collection.index(2, 0, QtCore.QModelIndex()))
self.geo_object_combo.setCurrentIndex(1)
self.geoobj_label = QtWidgets.QLabel("<b>GEOMETRY</b>:")
self.geoobj_label = QtWidgets.QLabel(_("<b>GEOMETRY</b>:"))
self.geoobj_label.setToolTip(
_("Geometry Obj to be mirrored.")
)
@@ -128,8 +128,8 @@ class DblSidedTool(FlatCAMTool):
grid_lay1.addWidget(self.mirror_axis, 7, 1)
# ## Axis Location
self.axis_location = RadioSet([{'label': 'Point', 'value': 'point'},
{'label': 'Box', 'value': 'box'}])
self.axis_location = RadioSet([{'label': _('Point'), 'value': 'point'},
{'label': _('Box'), 'value': 'box'}])
self.axloc_label = QtWidgets.QLabel(_("Axis Ref:"))
self.axloc_label.setToolTip(
_("The axis should pass through a <b>point</b> or cut\n "