- 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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user