diff --git a/gramps/gen/filters/rules/person/_hasnameof.py b/gramps/gen/filters/rules/person/_hasnameof.py index f1460eafa..aad8c278e 100644 --- a/gramps/gen/filters/rules/person/_hasnameof.py +++ b/gramps/gen/filters/rules/person/_hasnameof.py @@ -28,7 +28,6 @@ #------------------------------------------------------------------------- from ....const import GRAMPS_LOCALE as glocale _ = glocale.translation.sgettext -import re #------------------------------------------------------------------------- # @@ -46,7 +45,7 @@ from ....lib.nameorigintype import NameOriginType class HasNameOf(Rule): """Rule that checks for full or partial name matches""" - labels = [ _('Given name:'), + labels = [_('Given name:'), _('Full Family name:'), _('person|Title:'), _('Suffix:'), diff --git a/gramps/gen/filters/rules/person/_regexpname.py b/gramps/gen/filters/rules/person/_regexpname.py index 40c21ab75..bcc2e6014 100644 --- a/gramps/gen/filters/rules/person/_regexpname.py +++ b/gramps/gen/filters/rules/person/_regexpname.py @@ -35,7 +35,6 @@ _ = glocale.translation.gettext # #------------------------------------------------------------------------- from .. import Rule -import re #------------------------------------------------------------------------- # @@ -47,7 +46,7 @@ class RegExpName(Rule): labels = [_('Text:')] name = _('People with a name matching ') - description = _("Matches people's names with containing a substring or " + description = _("Matches people's names containing a substring or " "matching a regular expression") category = _('General filters') allow_regex = True