parent
681a55c1a6
commit
7e2c35067d
@ -478,7 +478,7 @@ class EditRule(ManagedWindow.ManagedWindow):
|
||||
elif v == _('Reference count must be:'):
|
||||
t = MyLesserEqualGreater()
|
||||
elif v == _('Number must be:'):
|
||||
t = MyLesserEqualGreater(1)
|
||||
t = MyLesserEqualGreater(2)
|
||||
elif v == _('Number of generations:'):
|
||||
t = MyInteger(1, 32)
|
||||
elif v == _('ID:'):
|
||||
|
@ -41,7 +41,7 @@ from Filters.Rules._Rule import Rule
|
||||
class HasSourceBase(Rule):
|
||||
"""Objects having notes"""
|
||||
|
||||
labels = [ _('Number of instances:'), _('Number must be')]
|
||||
labels = [ _('Number of instances:'), _('Number must be:')]
|
||||
name = _('Objects with <count> sources')
|
||||
description = _("Matches objects that have a certain number of sources")
|
||||
category = _('General filters')
|
||||
|
Loading…
Reference in New Issue
Block a user