- added a fix in the Gerber parser when adding the geometry in the self.apertures dict for the case that the current aperture is None (Allegro does that)

- finished support for internationalization by adding a set of .po/.mo files for the English language. Unfortunately the final action can be done only when Beta will be out of Beta (no more changes) or when I will decide to stop working on this app.
- changed the tooltip for 'feedrate_rapids' parameter to point out that this parameter is useful only for the Marlin postprocessor
This commit is contained in:
Marius Stanciu
2019-03-10 14:34:13 +02:00
parent de79370fb3
commit 53627b566c
98 changed files with 25132 additions and 3092 deletions

View File

@@ -18,13 +18,6 @@ import FlatCAMTranslation as fcTranslate
fcTranslate.apply_language('ToolShell')
def _tr(text):
try:
return _(text)
except:
return text
class TermWidget(QWidget):
"""
Widget wich represents terminal. It only displays text and allows to enter text.
@@ -69,9 +62,9 @@ class TermWidget(QWidget):
self._edit.setTextColor(Qt.white)
self._edit.setTextBackgroundColor(Qt.darkGreen)
if detail is None:
self._edit.setPlainText(_tr("...proccessing..."))
self._edit.setPlainText(_("...proccessing..."))
else:
self._edit.setPlainText(_tr("...proccessing... [%s]") % detail)
self._edit.setPlainText(_("...proccessing... [%s]") % detail)
self._edit.setDisabled(True)
self._edit.setFocus()