Bläddra i källkod

Update Russian translate. Add translation strings. Update pot.

camellan 6 år sedan
förälder
incheckning
8e71c93a62

+ 1 - 1
flatcamGUI/ObjectUI.py

@@ -1499,7 +1499,7 @@ class CNCObjectUI(ObjectUI):
         self.custom_box.addWidget(self.prepend_text)
 
         # Append text to GCode
-        appendlabel = QtWidgets.QLabel(_('Append to CNC Code'))
+        appendlabel = QtWidgets.QLabel(_('Append to CNC Code:'))
         appendlabel.setToolTip(
             _(
                 "Type here any G-Code commands you would\n"

+ 1 - 1
flatcamTools/ToolCutOut.py

@@ -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)

+ 2 - 2
flatcamTools/ToolMeasurement.py

@@ -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'))

BIN
locale/ru/LC_MESSAGES/strings.mo


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 203 - 203
locale/ru/LC_MESSAGES/strings.po


+ 10 - 2
locale_template/strings.pot

@@ -7409,7 +7409,7 @@ msgstr ""
 msgid "<b>Board cutout:</b>"
 msgstr ""
 
-#: flatcamGUI/ObjectUI.py:408
+#: flatcamGUI/ObjectUI.py:408 flatcamTools/ToolCutOut.py:313
 msgid "Cutout Tool"
 msgstr ""
 
@@ -7931,7 +7931,7 @@ msgid ""
 msgstr ""
 
 #: flatcamGUI/ObjectUI.py:1502
-msgid "Append to CNC Code"
+msgid "Append to CNC Code:"
 msgstr ""
 
 #: flatcamGUI/ObjectUI.py:1526
@@ -8748,6 +8748,14 @@ msgstr ""
 msgid "Stop"
 msgstr ""
 
+#: flatcamTools/ToolMeasurement.py:55
+msgid "Dx:"
+msgstr ""
+
+#: flatcamTools/ToolMeasurement.py:58
+msgid "Dy:"
+msgstr ""
+
 #: flatcamTools/ToolMeasurement.py:53 flatcamTools/ToolMeasurement.py:70
 msgid "This is the measuring Stop point coordinates."
 msgstr ""

Vissa filer visades inte eftersom för många filer har ändrats