- some UI changes in the Preferences: the clicked tab now have a distinctive color (green) and some strings are optimized

This commit is contained in:
Marius Stanciu
2022-01-09 16:39:06 +02:00
committed by Marius
parent 12e69af3ef
commit 9d9bfa8b03
23 changed files with 64 additions and 42 deletions

View File

@@ -17,7 +17,7 @@ class ExcellonAdvOptPrefGroupUI(OptionsGroupUI):
# OptionsGroupUI.__init__(self, "Excellon Advanced Options", parent=parent)
super(ExcellonAdvOptPrefGroupUI, self).__init__(self, parent=parent)
self.setTitle(str(_("Excellon Adv. Options")))
self.setTitle(str(_("Adv. Options")))
self.decimals = decimals
self.defaults = defaults

View File

@@ -16,7 +16,7 @@ class ExcellonEditorPrefGroupUI(OptionsGroupUI):
def __init__(self, defaults, decimals=4, parent=None):
super(ExcellonEditorPrefGroupUI, self).__init__(self, parent=parent)
self.setTitle(str(_("Excellon Editor")))
self.setTitle(str(_("Editor")))
self.decimals = decimals
self.defaults = defaults

View File

@@ -16,7 +16,7 @@ class ExcellonExpPrefGroupUI(OptionsGroupUI):
def __init__(self, defaults, decimals=4, parent=None):
super(ExcellonExpPrefGroupUI, self).__init__(self, parent=parent)
self.setTitle(str(_("Excellon Export")))
self.setTitle(str(_("Export")))
self.decimals = decimals
self.defaults = defaults

View File

@@ -20,7 +20,7 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
# OptionsGroupUI.__init__(self, "Excellon Options", parent=parent)
super(ExcellonGenPrefGroupUI, self).__init__(self, parent=parent)
self.setTitle(str(_("Excellon General")))
self.setTitle(str(_("General")))
self.decimals = decimals
self.defaults = defaults

View File

@@ -17,7 +17,7 @@ class ExcellonOptPrefGroupUI(OptionsGroupUI):
# OptionsGroupUI.__init__(self, "Excellon Options", parent=parent)
super(ExcellonOptPrefGroupUI, self).__init__(self, parent=parent)
self.setTitle(str(_("Excellon Options")))
self.setTitle(str(_("Options")))
self.decimals = decimals
self.defaults = defaults