From 0fa1c5e4ec9c33b4e6f943dc0e74324df2b91efe Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 30 Sep 2003 04:22:50 +0000 Subject: [PATCH] * src/filters/MatchSndEx2.py: Make consistent use of ... * src/filters/RegExMatch.py: Likewise. * src/filters/SubString.py: Likewise. svn: r2188 --- gramps2/ChangeLog | 3 +++ gramps2/src/filters/MatchSndEx2.py | 8 ++++---- gramps2/src/filters/RegExMatch.py | 8 ++++---- gramps2/src/filters/SubString.py | 8 ++++---- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 5e26eea29..1f8953969 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -7,6 +7,9 @@ * src/gramps_main.py: Typo. * src/PlaceView.py: Likewise. * src/GenericFilter.py: Likewise. + * src/filters/MatchSndEx2.py: Make consistent use of ... + * src/filters/RegExMatch.py: Likewise. + * src/filters/SubString.py: Likewise. 2003-09-29 Don Allingham * src/gramps_main.py: fixed delete person problem. diff --git a/gramps2/src/filters/MatchSndEx2.py b/gramps2/src/filters/MatchSndEx2.py index 569f61b24..5d3fd7a88 100644 --- a/gramps2/src/filters/MatchSndEx2.py +++ b/gramps2/src/filters/MatchSndEx2.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000 Donald N. Allingham +# Copyright (C) 2000-2003 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,14 +18,14 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -"Names with the specified SoundEx code" +"Names with SoundEx code of ..." import Filter import soundex from gettext import gettext as _ class MatchSndEx2(Filter.Filter): - "Names with the specified SoundEx code" + "Names with SoundEx code of ..." def match(self,person): return self.text == soundex.soundex(person.getPrimaryName().getSurname()) @@ -36,6 +36,6 @@ class MatchSndEx2(Filter.Filter): # #------------------------------------------------------------------------ Filter.register_filter(MatchSndEx2, - description=_("Names with the specified SoundEx code"), + description=_("Names with tSoundEx code of ..."), label=_("SoundEx Code"), qualifier=1) diff --git a/gramps2/src/filters/RegExMatch.py b/gramps2/src/filters/RegExMatch.py index e0469d7da..5f94e6fca 100644 --- a/gramps2/src/filters/RegExMatch.py +++ b/gramps2/src/filters/RegExMatch.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000 Donald N. Allingham +# Copyright (C) 2000-2003 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -"Names that match a regular expression" +"Names that match a regular expression of ..." import Filter import re @@ -26,7 +26,7 @@ import Utils from gettext import gettext as _ class RegExMatch(Filter.Filter): - "Names that match a regular expression" + "Names that match a regular expression of ..." def __init__(self,text): self.ok = 1 @@ -48,7 +48,7 @@ class RegExMatch(Filter.Filter): # #------------------------------------------------------------------------ Filter.register_filter(RegExMatch, - description=_("Names that match a regular expression"), + description=_("Names that match a regular expression of ..."), label=_("Text"), qualifier=1) diff --git a/gramps2/src/filters/SubString.py b/gramps2/src/filters/SubString.py index 6cd1177b6..8668b04b2 100644 --- a/gramps2/src/filters/SubString.py +++ b/gramps2/src/filters/SubString.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000 Donald N. Allingham +# Copyright (C) 2000-2003 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -"Names that contain a substring" +"Names that contain a substring of ..." import Filter import string @@ -26,7 +26,7 @@ import Utils from gettext import gettext as _ class SubString(Filter.Filter): - "Names that contain a substring" + "Names that contain a substring of ..." def match(self,person): s1 = string.lower(Utils.phonebook_name(person)) @@ -39,7 +39,7 @@ class SubString(Filter.Filter): # #------------------------------------------------------------------------ Filter.register_filter(SubString, - description=_("Names that contain a substring"), + description=_("Names that contain a substring of ..."), label=_("Text"), qualifier=1)