diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 32b33f85..d0cf90b4 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -3277,7 +3277,7 @@ class App(QtCore.QObject): layout3 = QtWidgets.QHBoxLayout() layout1.addLayout(layout3) layout3.addStretch() - okbtn = QtWidgets.QPushButton("Close") + okbtn = QtWidgets.QPushButton(_("Close")) layout3.addWidget(okbtn) okbtn.clicked.connect(self.accept) @@ -8332,7 +8332,7 @@ class App(QtCore.QObject): This behavior works only within main thread, 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. Kamil's comment: I will rewrite existing TCL commands from time to time to follow this rules. diff --git a/locale/ru/LC_MESSAGES/strings.mo b/locale/ru/LC_MESSAGES/strings.mo index 1fcb0cb1..8129fd4f 100644 Binary files a/locale/ru/LC_MESSAGES/strings.mo and b/locale/ru/LC_MESSAGES/strings.mo differ diff --git a/locale/ru/LC_MESSAGES/strings.po b/locale/ru/LC_MESSAGES/strings.po index d2c19768..879969aa 100644 --- a/locale/ru/LC_MESSAGES/strings.po +++ b/locale/ru/LC_MESSAGES/strings.po @@ -200,6 +200,10 @@ msgstr "" "a>
ЗАГРУЗИТЬ можно отсюда.
" +#: FlatCAMApp.py:3280 +msgid "Close" +msgstr "Закрыть" + #: FlatCAMApp.py:3400 FlatCAMApp.py:5284 msgid "[success] Defaults saved." msgstr "[success] Значения по умолчанию сохранены." diff --git a/locale_template/strings.pot b/locale_template/strings.pot index 62441ac6..13306971 100644 --- a/locale_template/strings.pot +++ b/locale_template/strings.pot @@ -181,6 +181,10 @@ msgid "" "downloads/\">here.
" msgstr "" +#: FlatCAMApp.py:3280 +msgid "Close" +msgstr "" + #: FlatCAMApp.py:3400 FlatCAMApp.py:5284 msgid "[success] Defaults saved." msgstr ""