coherency typo wording on filter descriptions

svn: r11229
This commit is contained in:
Jérôme Rapinat 2008-11-01 15:36:42 +00:00
parent 1ed6d38e1c
commit df5286233d
13 changed files with 72 additions and 28 deletions

View File

@ -35,10 +35,10 @@ from gettext import gettext as _
from Filters.Rules._HasGalleryBase import HasGalleryBase
#-------------------------------------------------------------------------
# "Events who have images"
# "Events who have media object reference"
#-------------------------------------------------------------------------
class HasGallery(HasGalleryBase):
"""Rule that checks for events who have Media object reference"""
"""Rule that checks for event who has media object reference"""
name = _('Event with images')
description = _("Matches event with image in the gallery")
name = _('Events with media')
description = _("Matches events with media object in the gallery")

View File

@ -44,8 +44,8 @@ class HasType(Rule):
"""Rule that checks for an event of a particular type."""
labels = [ _('Event type:') ]
name = _('Event with the particular type')
description = _("Matches event with the particular type ")
name = _('Events with the particular type')
description = _("Matches events with the particular type ")
category = _('General filters')
def apply(self, db, event):

View File

@ -35,10 +35,10 @@ from gettext import gettext as _
from Filters.Rules._HasGalleryBase import HasGalleryBase
#-------------------------------------------------------------------------
# "Families who have images"
# "Families who have media object reference"
#-------------------------------------------------------------------------
class HasGallery(HasGalleryBase):
"""Rule that checks for families who have Media object reference"""
"""Rule that checks for family who has media object reference"""
name = _('Family with images')
description = _("Matches family with images in the gallery")
name = _('Families with media')
description = _("Matches families with media object in the gallery")

View File

@ -43,5 +43,5 @@ from Filters.Rules._HasLDSBase import HasLDSBase
class HasLDS(HasLDSBase):
"""Rule that checks for family with a LDS event"""
name = _('Family with LDS event')
description = _("Matches family with LDS event")
name = _('Families with LDS event')
description = _("Matches families with LDS event")

View File

@ -40,6 +40,6 @@ from Filters.Rules._HasReferenceCountBase import HasReferenceCountBase
class HasReferenceCountOf(HasReferenceCountBase):
"""Family objects with a reference count of <count>"""
name = _('Family objects with a reference count of <count>')
description = _("Matches family objects with a certain reference count")
name = _('Families with a reference count of <count>')
description = _("Matches families objects with a certain reference count")

View File

@ -44,8 +44,8 @@ class HasRelType(Rule):
"""Rule that checks for a person with a particular personal attribute"""
labels = [ _('Relationship type:') ]
name = _('Family with the relationship type')
description = _("Matches family with the relationship type "
name = _('Families with the relationship type')
description = _("Matches families with the relationship type "
"of a particular value")
category = _('General filters')

View File

@ -0,0 +1,44 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2008 Brian G. Matherly
#
# 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
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
#-------------------------------------------------------------------------
#
# Standard Python modules
#
#-------------------------------------------------------------------------
from gettext import gettext as _
#-------------------------------------------------------------------------
#
# GRAMPS modules
#
#-------------------------------------------------------------------------
from Filters.Rules._HasGalleryBase import HasGalleryBase
#-------------------------------------------------------------------------
# "People with media object reference "
#-------------------------------------------------------------------------
class HavePhotos(HasGalleryBase):
"""Rule that checks for person who has media object reference"""
name = _('People with media')
description = _("Matches people with media object in the gallery")

View File

@ -42,5 +42,5 @@ from Filters.Rules import HasGrampsId
class HasIdOf(HasGrampsId):
"""Rule that checks for a person with a specific GRAMPS ID"""
name = _('People with <Id>')
description = _("Matches people with a specified GRAMPS ID")
name = _('Person with <Id>')
description = _("Matches person with a specified GRAMPS ID")

View File

@ -43,8 +43,8 @@ class MatchIdOf(Rule):
"""Rule that checks for a person with a specific GRAMPS ID"""
labels = [ _('ID:') ]
name = _('People with <Id>')
description = _("Matches people with a specified GRAMPS ID")
name = _('Person with <Id>')
description = _("Matches person with a specified GRAMPS ID")
category = _('General filters')
def apply(self,db,person):

View File

@ -39,6 +39,7 @@ from _HasDeath import HasDeath
from _HasEvent import HasEvent
from _HasFamilyAttribute import HasFamilyAttribute
from _HasFamilyEvent import HasFamilyEvent
from _HasGallery import HavePhotos
from _HasIdOf import HasIdOf
from _HasLDS import HasLDS
from _HasNameOf import HasNameOf
@ -53,7 +54,6 @@ from _HasUnknownGender import HasUnknownGender
from _HasMarkerOf import HasMarkerOf
from _HaveAltFamilies import HaveAltFamilies
from _HaveChildren import HaveChildren
from _HavePhotos import HavePhotos
from _IncompleteNames import IncompleteNames
from _IsAncestorOf import IsAncestorOf
from _IsAncestorOfFilterMatch import IsAncestorOfFilterMatch

View File

@ -35,10 +35,10 @@ from gettext import gettext as _
from Filters.Rules._HasGalleryBase import HasGalleryBase
#-------------------------------------------------------------------------
# "Places who have images"
# "Places who have media object reference"
#-------------------------------------------------------------------------
class HasGallery(HasGalleryBase):
"""Rule that checks for places who have Media object reference"""
"""Rule that checks for place who has media object reference"""
name = _('Place with images')
description = _("Matches place with image in the gallery")
name = _('Places with media')
description = _("Matches places with media object in the gallery")

View File

@ -40,6 +40,6 @@ from Filters.Rules._HasReferenceCountBase import HasReferenceCountBase
class HasReferenceCountOf(HasReferenceCountBase):
"""Place objects with a reference count of <count>"""
name = _('Place objects with a reference count of <count>')
description = _("Matches place objects with a certain reference count")
name = _('Places with a reference count of <count>')
description = _("Matches places with a certain reference count")

View File

@ -39,7 +39,7 @@ from Filters.Rules._HasNoteRegexBase import HasNoteRegexBase
#-------------------------------------------------------------------------
class HasNoteRegexp(HasNoteRegexBase):
name = _('Repositoriess having notes '
name = _('Repositories having notes '
'containing <regular expression>')
description = _("Matches repositories whose notes contain text "
"matching a regular expression")