- trimmed the application strings
This commit is contained in:
committed by
Marius Stanciu
parent
77c66862c5
commit
f5310148eb
@@ -77,13 +77,9 @@ class ScriptObject(FlatCAMObj):
|
||||
|
||||
# Show/Hide Advanced Options
|
||||
if self.app.defaults["global_app_level"] == 'b':
|
||||
self.ui.level.setText(_(
|
||||
'<span style="color:green;"><b>Basic</b></span>'
|
||||
))
|
||||
self.ui.level.setText('<span style="color:green;"><b>%s</b></span>' % _("Basic"))
|
||||
else:
|
||||
self.ui.level.setText(_(
|
||||
'<span style="color:red;"><b>Advanced</b></span>'
|
||||
))
|
||||
self.ui.level.setText('<span style="color:red;"><b>%s</b></span>' % _("Advanced"))
|
||||
|
||||
self.script_editor_tab = AppTextEditor(app=self.app, plain_text=True, parent=self.app.ui)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user