Update Russian translate. Add translation strings. Update pot.

This commit is contained in:
camellan
2019-06-09 22:09:15 +04:00
parent bfab836a1b
commit 8e71c93a62
6 changed files with 334 additions and 309 deletions

View File

@@ -310,7 +310,7 @@ class CutOut(FlatCAMTool):
FlatCAMTool.run(self)
self.set_tool_ui()
self.app.ui.notebook.setTabText(2, "Cutout Tool")
self.app.ui.notebook.setTabText(2, _("Cutout Tool"))
def install(self, icon=None, separator=None, **kwargs):
FlatCAMTool.install(self, icon, separator, shortcut='ALT+U', **kwargs)

View File

@@ -52,10 +52,10 @@ class Measurement(FlatCAMTool):
self.stop_label = QtWidgets.QLabel("<b>%s</b> %s:" % (_('Stop'), _('Coords')))
self.stop_label.setToolTip(_("This is the measuring Stop point coordinates."))
self.distance_x_label = QtWidgets.QLabel("Dx:")
self.distance_x_label = QtWidgets.QLabel(_("Dx:"))
self.distance_x_label.setToolTip(_("This is the distance measured over the X axis."))
self.distance_y_label = QtWidgets.QLabel("Dy:")
self.distance_y_label = QtWidgets.QLabel(_("Dy:"))
self.distance_y_label.setToolTip(_("This is the distance measured over the Y axis."))
self.total_distance_label = QtWidgets.QLabel("<b>%s:</b>" % _('DISTANCE'))