Browse Source

Merged jpcgt/flatcam/jpcgt_flatcam_Beta into Beta

Marius Stanciu 7 năm trước cách đây
mục cha
commit
d2d90493fc

+ 3 - 3
flatcamGUI/FlatCAMGUI.py

@@ -3766,8 +3766,8 @@ class GeneralAppPrefGroupUI(OptionsGroupUI):
                                           "ADVANCED level -> full functionality.\n\n"
                                           "ADVANCED level -> full functionality.\n\n"
                                           "The choice here will influence the parameters in\n"
                                           "The choice here will influence the parameters in\n"
                                           "the Selected Tab for all kinds of FlatCAM objects."))
                                           "the Selected Tab for all kinds of FlatCAM objects."))
-        self.app_level_radio = RadioSet([{'label': 'Basic', 'value': 'b'},
-                                         {'label': 'Advanced', 'value': 'a'}])
+        self.app_level_radio = RadioSet([{'label': _('Basic'), 'value': 'b'},
+                                         {'label': _('Advanced'), 'value': 'a'}])
 
 
         # Languages for FlatCAM
         # Languages for FlatCAM
         self.languagelabel = QtWidgets.QLabel(_('<b>Languages:</b>'))
         self.languagelabel = QtWidgets.QLabel(_('<b>Languages:</b>'))
@@ -3989,7 +3989,7 @@ class GerberGenPrefGroupUI(OptionsGroupUI):
         # OptionsGroupUI.__init__(self, "Gerber General Preferences", parent=parent)
         # OptionsGroupUI.__init__(self, "Gerber General Preferences", parent=parent)
         super(GerberGenPrefGroupUI, self).__init__(self)
         super(GerberGenPrefGroupUI, self).__init__(self)
 
 
-        self.setTitle(str("Gerber General"))
+        self.setTitle(str(_("Gerber General")))
 
 
         # ## Plot options
         # ## Plot options
         self.plot_options_label = QtWidgets.QLabel(_("<b>Plot Options:</b>"))
         self.plot_options_label = QtWidgets.QLabel(_("<b>Plot Options:</b>"))

+ 1 - 1
flatcamGUI/ObjectUI.py

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

+ 1 - 1
flatcamTools/ToolCutOut.py

@@ -310,7 +310,7 @@ class CutOut(FlatCAMTool):
         FlatCAMTool.run(self)
         FlatCAMTool.run(self)
         self.set_tool_ui()
         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):
     def install(self, icon=None, separator=None, **kwargs):
         FlatCAMTool.install(self, icon, separator, shortcut='ALT+U', **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 = QtWidgets.QLabel("<b>%s</b> %s:" % (_('Stop'), _('Coords')))
         self.stop_label.setToolTip(_("This is the measuring Stop point coordinates."))
         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_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.distance_y_label.setToolTip(_("This is the distance measured over the Y axis."))
 
 
         self.total_distance_label = QtWidgets.QLabel("<b>%s:</b>" % _('DISTANCE'))
         self.total_distance_label = QtWidgets.QLabel("<b>%s:</b>" % _('DISTANCE'))

BIN
locale/ru/LC_MESSAGES/strings.mo


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 203 - 203
locale/ru/LC_MESSAGES/strings.po


+ 22 - 2
locale_template/strings.pot

@@ -5233,6 +5233,14 @@ msgid ""
 "the Selected Tab for all kinds of FlatCAM objects."
 "the Selected Tab for all kinds of FlatCAM objects."
 msgstr ""
 msgstr ""
 
 
+#: flatcamGUI/FlatCAMGUI.py:3769
+msgid "Basic"
+msgstr ""
+
+#: flatcamGUI/FlatCAMGUI.py:3770
+msgid "Advanced"
+msgstr ""
+
 #: flatcamGUI/FlatCAMGUI.py:3773
 #: flatcamGUI/FlatCAMGUI.py:3773
 msgid "<b>Languages:</b>"
 msgid "<b>Languages:</b>"
 msgstr ""
 msgstr ""
@@ -5394,6 +5402,10 @@ msgid ""
 "but require more RAM usage and more processing time."
 "but require more RAM usage and more processing time."
 msgstr ""
 msgstr ""
 
 
+#: flatcamGUI/FlatCAMGUI.py:3992
+msgid "Gerber General"
+msgstr ""
+
 #: flatcamGUI/FlatCAMGUI.py:3995 flatcamGUI/FlatCAMGUI.py:4361
 #: flatcamGUI/FlatCAMGUI.py:3995 flatcamGUI/FlatCAMGUI.py:4361
 #: flatcamGUI/FlatCAMGUI.py:5153 flatcamGUI/FlatCAMGUI.py:5525
 #: flatcamGUI/FlatCAMGUI.py:5153 flatcamGUI/FlatCAMGUI.py:5525
 #: flatcamGUI/ObjectUI.py:150 flatcamGUI/ObjectUI.py:505
 #: flatcamGUI/ObjectUI.py:150 flatcamGUI/ObjectUI.py:505
@@ -7397,7 +7409,7 @@ msgstr ""
 msgid "<b>Board cutout:</b>"
 msgid "<b>Board cutout:</b>"
 msgstr ""
 msgstr ""
 
 
-#: flatcamGUI/ObjectUI.py:408
+#: flatcamGUI/ObjectUI.py:408 flatcamTools/ToolCutOut.py:313
 msgid "Cutout Tool"
 msgid "Cutout Tool"
 msgstr ""
 msgstr ""
 
 
@@ -7919,7 +7931,7 @@ msgid ""
 msgstr ""
 msgstr ""
 
 
 #: flatcamGUI/ObjectUI.py:1502
 #: flatcamGUI/ObjectUI.py:1502
-msgid "Append to CNC Code"
+msgid "Append to CNC Code:"
 msgstr ""
 msgstr ""
 
 
 #: flatcamGUI/ObjectUI.py:1526
 #: flatcamGUI/ObjectUI.py:1526
@@ -8736,6 +8748,14 @@ msgstr ""
 msgid "Stop"
 msgid "Stop"
 msgstr ""
 msgstr ""
 
 
+#: flatcamTools/ToolMeasurement.py:55
+msgid "Dx:"
+msgstr ""
+
+#: flatcamTools/ToolMeasurement.py:58
+msgid "Dy:"
+msgstr ""
+
 #: flatcamTools/ToolMeasurement.py:53 flatcamTools/ToolMeasurement.py:70
 #: flatcamTools/ToolMeasurement.py:53 flatcamTools/ToolMeasurement.py:70
 msgid "This is the measuring Stop point coordinates."
 msgid "This is the measuring Stop point coordinates."
 msgstr ""
 msgstr ""

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác