camellan 6 лет назад
Родитель
Сommit
66539798e6
5 измененных файлов с 291 добавлено и 256 удалено
  1. 2 2
      FlatCAMApp.py
  2. 1 1
      flatcamGUI/GUIElements.py
  3. BIN
      locale/ru/LC_MESSAGES/strings.mo
  4. 284 253
      locale/ru/LC_MESSAGES/strings.po
  5. 4 0
      locale_template/strings.pot

+ 2 - 2
FlatCAMApp.py

@@ -1833,7 +1833,7 @@ class App(QtCore.QObject):
         self.shell.setWindowTitle("FlatCAM Shell")
         self.shell.setWindowTitle("FlatCAM Shell")
         self.shell.resize(*self.defaults["global_shell_shape"])
         self.shell.resize(*self.defaults["global_shell_shape"])
         self.shell.append_output("FlatCAM %s (c)2014-2019 Juan Pablo Caram " % self.version)
         self.shell.append_output("FlatCAM %s (c)2014-2019 Juan Pablo Caram " % self.version)
-        self.shell.append_output("(Type help to get started)\n\n")
+        self.shell.append_output(_("(Type help to get started)\n\n"))
 
 
         self.init_tcl()
         self.init_tcl()
 
 
@@ -8044,7 +8044,7 @@ class App(QtCore.QObject):
 
 
             This behavior works only within main thread,
             This behavior works only within main thread,
             errors with promissed tasks can be catched and detected only with log.
             errors with promissed tasks can be catched and detected only with log.
-            TODO: this problem have to be addressed somehow, maybe rewrite promissing to be blocking somehow for 
+            TODO: this problem have to be addressed somehow, maybe rewrite promissing to be blocking somehow for
             TCL shell.
             TCL shell.
 
 
             Kamil's comment: I will rewrite existing TCL commands from time to time to follow this rules.
             Kamil's comment: I will rewrite existing TCL commands from time to time to follow this rules.

+ 1 - 1
flatcamGUI/GUIElements.py

@@ -680,7 +680,7 @@ class FCTextAreaExtended(QtWidgets.QTextEdit):
         if character == "#":
         if character == "#":
             # delete #
             # delete #
             self.textCursor().deletePreviousChar()
             self.textCursor().deletePreviousChar()
-            # delete white space 
+            # delete white space
             self.moveCursor(QtGui.QTextCursor.NextWord,QtGui.QTextCursor.KeepAnchor)
             self.moveCursor(QtGui.QTextCursor.NextWord,QtGui.QTextCursor.KeepAnchor)
             self.textCursor().removeSelectedText()
             self.textCursor().removeSelectedText()
         else:
         else:

BIN
locale/ru/LC_MESSAGES/strings.mo


Разница между файлами не показана из-за своего большого размера
+ 284 - 253
locale/ru/LC_MESSAGES/strings.po


+ 4 - 0
locale_template/strings.pot

@@ -27,6 +27,10 @@ msgstr ""
 msgid "[ERROR] Could not find the Language files. The App strings are missing."
 msgid "[ERROR] Could not find the Language files. The App strings are missing."
 msgstr ""
 msgstr ""
 
 
+#: FlatCAMApp.py:1836
+msgid "(Type help to get started)\n\n"
+msgstr ""
+
 #: FlatCAMApp.py:2018 ObjectCollection.py:80 flatcamTools/ToolImage.py:213
 #: FlatCAMApp.py:2018 ObjectCollection.py:80 flatcamTools/ToolImage.py:213
 #: flatcamTools/ToolPcbWizard.py:299 flatcamTools/ToolPcbWizard.py:322
 #: flatcamTools/ToolPcbWizard.py:299 flatcamTools/ToolPcbWizard.py:322
 msgid "Open cancelled."
 msgid "Open cancelled."

Некоторые файлы не были показаны из-за большого количества измененных файлов