diff --git a/src/Filters/Rules/_HasAttributeBase.py b/src/Filters/Rules/_HasAttributeBase.py index 3477cdd08..1ad8f96ad 100644 --- a/src/Filters/Rules/_HasAttributeBase.py +++ b/src/Filters/Rules/_HasAttributeBase.py @@ -40,8 +40,8 @@ class HasAttributeBase(Rule): labels = [ 'Attribute:', 'Value:' ] name = 'Objects with the ' - description = ["Matches objects with the given attribute ", - "of a particular value"] + description = "Matches objects with the given attribute " \ + "of a particular value" category = 'General filters' def apply(self, db, obj): diff --git a/src/Filters/Rules/_HasSourceCountBase.py b/src/Filters/Rules/_HasSourceCountBase.py index 766b3db71..cfdd0b815 100755 --- a/src/Filters/Rules/_HasSourceCountBase.py +++ b/src/Filters/Rules/_HasSourceCountBase.py @@ -38,8 +38,8 @@ class HasSourceCountBase(Rule): labels = [ 'Number of instances:', 'Number must be:'] name = 'Objects with sources' - description = ["Matches objects that have a certain number of sources ", - "connected to it (actually citations are counted)"] + description = "Matches objects that have a certain number of sources " \ + "connected to it (actually citations are counted)" category = 'Citation/source filters' def prepare(self, db): diff --git a/src/Filters/Rules/_HasTextMatchingSubstringOf.py b/src/Filters/Rules/_HasTextMatchingSubstringOf.py index c89a2d894..8453b6588 100644 --- a/src/Filters/Rules/_HasTextMatchingSubstringOf.py +++ b/src/Filters/Rules/_HasTextMatchingSubstringOf.py @@ -37,8 +37,8 @@ class HasTextMatchingSubstringOf(Rule): 'Case sensitive:', 'Regular-Expression matching:'] name = 'Objects with records containing ' - description = ["Matches objects whose records contain text ", - "matching a substring"] + description = "Matches objects whose records contain text " \ + "matching a substring" category = 'General filters' # FIXME: This needs to be written for an arbitrary object diff --git a/src/Filters/Rules/_MatchesEventFilterBase.py b/src/Filters/Rules/_MatchesEventFilterBase.py index 76eae86fe..1482646e0 100644 --- a/src/Filters/Rules/_MatchesEventFilterBase.py +++ b/src/Filters/Rules/_MatchesEventFilterBase.py @@ -43,8 +43,8 @@ class MatchesEventFilterBase(MatchesFilterBase): labels = ['Event filter name:'] name = 'Objects with events matching the ' - description = ["Matches objects who have events that match a certain", - " event filter"] + description = "Matches objects who have events that match a certain" \ + " event filter" category = 'General filters' # we want to have this filter show event filters diff --git a/src/Filters/Rules/_MatchesSourceFilterBase.py b/src/Filters/Rules/_MatchesSourceFilterBase.py index a8eedc47e..e60faee00 100644 --- a/src/Filters/Rules/_MatchesSourceFilterBase.py +++ b/src/Filters/Rules/_MatchesSourceFilterBase.py @@ -40,8 +40,8 @@ class MatchesSourceFilterBase(MatchesFilterBase): labels = ['Source filter name:'] name = 'Objects with source matching the ' - description = ["Matches objects with sources that match the ", - "specified source filter name"] + description = "Matches objects with sources that match the " \ + "specified source filter name" category = 'Citation/source filters' # we want to have this filter show source filters diff --git a/src/Filters/Rules/_RegExpIdBase.py b/src/Filters/Rules/_RegExpIdBase.py index 0fae69335..06ff7a753 100644 --- a/src/Filters/Rules/_RegExpIdBase.py +++ b/src/Filters/Rules/_RegExpIdBase.py @@ -46,8 +46,8 @@ class RegExpIdBase(Rule): labels = [ 'Regular expression:' ] name = 'Objects with ' - description = ["Matches objects whose Gramps ID matches ", - "the regular expression"] + description = "Matches objects whose Gramps ID matches " \ + "the regular expression" category = 'General filters' def __init__(self, list):