- added a partial translation for Chinese Simplified language, by 俊霄 余
- trying to separate the Preferences settings from App init and to make them dependent on the self.defaults dictionary - updated the language strings from the source
This commit is contained in:
committed by
Marius Stanciu
parent
dd39657e4f
commit
7dc67e2b05
@@ -13,12 +13,13 @@ if '_' not in builtins.__dict__:
|
||||
|
||||
|
||||
class Tools2RulesCheckPrefGroupUI(OptionsGroupUI):
|
||||
def __init__(self, decimals=4, parent=None):
|
||||
def __init__(self, defaults, decimals=4, parent=None):
|
||||
|
||||
super(Tools2RulesCheckPrefGroupUI, self).__init__(self, parent=parent)
|
||||
|
||||
self.setTitle(str(_("Check Rules Plugin")))
|
||||
self.decimals = decimals
|
||||
self.defaults = defaults
|
||||
|
||||
self.crlabel = FCLabel("<b>%s:</b>" % _("Parameters"))
|
||||
self.crlabel.setToolTip(
|
||||
|
||||
Reference in New Issue
Block a user