* src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.
* src/plugins/FilterEditor.py (EditRule:__init__): Typo. * ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current. svn: r4195
This commit is contained in:
parent
b02ca6f638
commit
cd0ff124c2
@ -1,3 +1,8 @@
|
|||||||
|
2005-03-16 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.
|
||||||
|
* src/plugins/FilterEditor.py (EditRule:__init__): Typo.
|
||||||
|
* ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current.
|
||||||
|
|
||||||
2005-03-16 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
2005-03-16 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
* src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and
|
* src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and
|
||||||
regexp matching; (HasTextMatchingRegexpOf) Added wrapper to use regexp matching
|
regexp matching; (HasTextMatchingRegexpOf) Added wrapper to use regexp matching
|
||||||
|
8349
ChangeLog.old
Normal file
8349
ChangeLog.old
Normal file
File diff suppressed because it is too large
Load Diff
@ -1948,10 +1948,10 @@ class HasTextMatchingSubstringOf(Rule):
|
|||||||
for handle in place_list:
|
for handle in place_list:
|
||||||
self.place_map[handle] = 1
|
self.place_map[handle] = 1
|
||||||
|
|
||||||
def match_object(self,object):
|
def match_object(self,obj):
|
||||||
if self.regexp_match:
|
if self.regexp_match:
|
||||||
return object.matches_regexp(self.list[0],self.case_sensitive)
|
return obj.matches_regexp(self.list[0],self.case_sensitive)
|
||||||
return object.matches_string(self.list[0],self.case_sensitive)
|
return obj.matches_string(self.list[0],self.case_sensitive)
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
# "HasTextMatchingRegexOf"
|
# "HasTextMatchingRegexOf"
|
||||||
|
@ -638,7 +638,7 @@ class EditRule:
|
|||||||
elif v == _('Inclusive:'):
|
elif v == _('Inclusive:'):
|
||||||
t = MyBoolean(_('Include original person'))
|
t = MyBoolean(_('Include original person'))
|
||||||
elif v == _('Case sensitive:'):
|
elif v == _('Case sensitive:'):
|
||||||
t = MyBoolean(_('Use exact case of letters:'))
|
t = MyBoolean(_('Use exact case of letters'))
|
||||||
elif v == _('Regular-Expression matching:'):
|
elif v == _('Regular-Expression matching:'):
|
||||||
t = MyBoolean(_('Use regular expression'))
|
t = MyBoolean(_('Use regular expression'))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user