0002723: '<name>' has different meanings in different contexts

svn: r13019
This commit is contained in:
Raphael Ackermann 2009-08-15 09:44:49 +00:00
parent 79f61846e8
commit 9aeeb8432c
2 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,7 @@
# #
""" """
Display a people who have a person's same surname or given name Display a people who have a person's same surname or given name.
""" """
from Simple import SimpleAccess, SimpleDoc, SimpleTable from Simple import SimpleAccess, SimpleDoc, SimpleTable
@ -50,7 +50,7 @@ class IncompleteSurname(Rule):
class SameSurname(Rule): class SameSurname(Rule):
"""People with same surname""" """People with same surname"""
labels = [_('Substring:')] labels = [_('Substring:')]
name = _('People matching the <name>') name = _('People matching the <surname>')
description = _("Matches people with same lastname") description = _("Matches people with same lastname")
category = _('General filters') category = _('General filters')
def apply(self, db, person): def apply(self, db, person):
@ -91,7 +91,7 @@ class IncompleteGiven(Rule):
def run(database, document, person): def run(database, document, person):
""" """
Loops through the families that the person is a child in, and display Loops through the families that the person is a child in, and displays
the information about the other children. the information about the other children.
""" """
# setup the simple access functions # setup the simple access functions
@ -132,7 +132,7 @@ def run(database, document, person):
def run_given(database, document, person): def run_given(database, document, person):
""" """
Loops through the families that the person is a child in, and display Loops through the families that the person is a child in, and displays
the information about the other children. the information about the other children.
""" """
# setup the simple access functions # setup the simple access functions