- trimmed the application strings

This commit is contained in:
Marius Stanciu
2020-11-03 22:37:39 +02:00
committed by Marius Stanciu
parent 77c66862c5
commit f5310148eb
77 changed files with 15407 additions and 15204 deletions

View File

@@ -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)