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

Update pot-file. Edit Russian translation.
This commit is contained in:
Camellan 2019-06-08 21:54:19 +00:00 committed by Marius Stanciu
commit bc3fb076b4
4 changed files with 1542 additions and 1421 deletions

View File

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

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

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