Przeglądaj źródła

Merged in camellan/flatcam/Beta (pull request #151)

Update pot-file. Edit Russian translation.
Camellan 6 lat temu
rodzic
commit
bc3fb076b4

+ 2 - 2
flatcamTools/ToolSolderPaste.py

@@ -448,7 +448,7 @@ class SolderPaste(FlatCAMTool):
         self.set_tool_ui()
         self.build_ui()
 
-        self.app.ui.notebook.setTabText(2, "SolderPaste Tool")
+        self.app.ui.notebook.setTabText(2, _("SolderPaste Tool"))
 
     def install(self, icon=None, separator=None, **kwargs):
         FlatCAMTool.install(self, icon, separator, shortcut='ALT+K', **kwargs)
@@ -1275,7 +1275,7 @@ class SolderPaste(FlatCAMTool):
         time_str = "{:%A, %d %B %Y at %H:%M}".format(datetime.now())
 
         # add the tab if it was closed
-        self.app.ui.plot_tab_area.addTab(self.app.ui.cncjob_tab, "Code Editor")
+        self.app.ui.plot_tab_area.addTab(self.app.ui.cncjob_tab, _("Code Editor"))
 
         # first clear previous text in text editor (if any)
         self.app.ui.code_editor.clear()

BIN
locale/ru/LC_MESSAGES/strings.mo


Plik diff jest za duży
+ 230 - 225
locale/ru/LC_MESSAGES/strings.po


+ 2 - 0
locale_template/strings.pot

@@ -690,6 +690,7 @@ msgid "[ERROR]App.on_view_source() -->%s"
 msgstr ""
 
 #: FlatCAMApp.py:6562 FlatCAMApp.py:7704 FlatCAMObj.py:5587
+#: flatcamTools/ToolSolderPaste.py:1278
 msgid "Code Editor"
 msgstr ""
 
@@ -3941,6 +3942,7 @@ msgid "Film Tool"
 msgstr ""
 
 #: flatcamGUI/FlatCAMGUI.py:648 flatcamGUI/FlatCAMGUI.py:1872
+#: flatcamTools/ToolSolderPaste.py:451
 msgid "SolderPaste Tool"
 msgstr ""
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików