fix docstring typos
svn: r15063
This commit is contained in:
parent
ca25394c46
commit
3f30d0493c
@ -38,7 +38,7 @@ from Filters.Rules._HasNoteSubstrBase import HasNoteSubstrBase
|
|||||||
# "Events having notes that contain a substring"
|
# "Events having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
||||||
"""People having notes containing <subtring>"""
|
"""People having notes containing <substring>"""
|
||||||
|
|
||||||
name = _('Events having notes containing <substring>')
|
name = _('Events having notes containing <substring>')
|
||||||
description = _("Matches events whose notes contain text "
|
description = _("Matches events whose notes contain text "
|
||||||
|
@ -38,7 +38,7 @@ from Filters.Rules._HasNoteSubstrBase import HasNoteSubstrBase
|
|||||||
# "People having notes that contain a substring"
|
# "People having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
||||||
"""People having notes containing <subtring>"""
|
"""People having notes containing <substring>"""
|
||||||
|
|
||||||
name = _('Families having notes containing <substring>')
|
name = _('Families having notes containing <substring>')
|
||||||
description = _("Matches families whose notes contain text matching a substring")
|
description = _("Matches families whose notes contain text matching a substring")
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
Set of wrappers for family filter rules based on personal rules.
|
Set of wrappers for family filter rules based on personal rules.
|
||||||
|
|
||||||
Any rule that matches family based on personal rule applied
|
Any rule that matches family based on personal rule applied
|
||||||
to father, mather, or any child, just needs to do two things:
|
to father, mother, or any child, just needs to do two things:
|
||||||
> Set the class attribute 'base_class' to the personal rule
|
> Set the class attribute 'base_class' to the personal rule
|
||||||
> Set apply method to be an appropriate wrapper below
|
> Set apply method to be an appropriate wrapper below
|
||||||
Example:
|
Example:
|
||||||
|
@ -38,7 +38,7 @@ from Filters.Rules._HasNoteSubstrBase import HasNoteSubstrBase
|
|||||||
# "Media having notes that contain a substring"
|
# "Media having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
||||||
"""Media having notes containing <subtring>"""
|
"""Media having notes containing <substring>"""
|
||||||
|
|
||||||
name = _('Media objects having notes containing <substring>')
|
name = _('Media objects having notes containing <substring>')
|
||||||
description = _("Matches media objects whose notes contain text "
|
description = _("Matches media objects whose notes contain text "
|
||||||
|
@ -39,7 +39,7 @@ from Filters.Rules import Rule
|
|||||||
# "Events having notes that contain a substring"
|
# "Events having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class MatchesSubstringOf(Rule):
|
class MatchesSubstringOf(Rule):
|
||||||
"""Notes having notes containing <subtring>"""
|
"""Notes having notes containing <substring>"""
|
||||||
|
|
||||||
labels = [ _('Substring:')]
|
labels = [ _('Substring:')]
|
||||||
name = _('Notes containing <substring>')
|
name = _('Notes containing <substring>')
|
||||||
|
@ -38,7 +38,7 @@ from Filters.Rules._HasNoteSubstrBase import HasNoteSubstrBase
|
|||||||
# "People having notes that contain a substring"
|
# "People having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
||||||
"""People having notes containing <subtring>"""
|
"""People having notes containing <substring>"""
|
||||||
|
|
||||||
name = _('People having notes containing <substring>')
|
name = _('People having notes containing <substring>')
|
||||||
description = _("Matches people whose notes contain text matching a substring")
|
description = _("Matches people whose notes contain text matching a substring")
|
||||||
|
@ -38,7 +38,7 @@ from Filters.Rules._HasNoteSubstrBase import HasNoteSubstrBase
|
|||||||
# "Events having notes that contain a substring"
|
# "Events having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
||||||
"""Places having notes containing <subtring>"""
|
"""Places having notes containing <substring>"""
|
||||||
|
|
||||||
name = _('Places having notes containing <substring>')
|
name = _('Places having notes containing <substring>')
|
||||||
description = _("Matches places whose notes contain text "
|
description = _("Matches places whose notes contain text "
|
||||||
|
@ -38,7 +38,7 @@ from Filters.Rules._HasNoteSubstrBase import HasNoteSubstrBase
|
|||||||
# "Events having notes that contain a substring"
|
# "Events having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
||||||
"""Repos having notes containing <subtring>"""
|
"""Repos having notes containing <substring>"""
|
||||||
|
|
||||||
name = _('Repositories having notes containing <substring>')
|
name = _('Repositories having notes containing <substring>')
|
||||||
description = _("Matches repositories whose notes contain text "
|
description = _("Matches repositories whose notes contain text "
|
||||||
|
@ -38,7 +38,7 @@ from Filters.Rules._HasNoteSubstrBase import HasNoteSubstrBase
|
|||||||
# "Events having notes that contain a substring"
|
# "Events having notes that contain a substring"
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
class HasNoteMatchingSubstringOf(HasNoteSubstrBase):
|
||||||
"""Sources having notes containing <subtring>"""
|
"""Sources having notes containing <substring>"""
|
||||||
|
|
||||||
name = _('Sources having notes containing <substring>')
|
name = _('Sources having notes containing <substring>')
|
||||||
description = _("Matches sources whose notes contain text "
|
description = _("Matches sources whose notes contain text "
|
||||||
|
Loading…
Reference in New Issue
Block a user