* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.

svn: r6155
This commit is contained in:
Alex Roitman
2006-03-16 20:24:27 +00:00
parent 691dc6e757
commit 93add4967a
160 changed files with 183 additions and 184 deletions

View File

@@ -38,7 +38,7 @@ from xml.sax import make_parser,handler,SAXParseException
#-------------------------------------------------------------------------
import os
import sets
from gettext import gettext as _
from TransUtils import sgettext as _
#-------------------------------------------------------------------------
#
@@ -64,7 +64,6 @@ import const
import RelLib
import DateHandler
import NameDisplay
from TransUtils import strip_context as __
from Utils import for_each_ancestor,probably_alive,get_source_referents
#-------------------------------------------------------------------------
@@ -1303,7 +1302,7 @@ class HasNameOf(Rule):
labels = [ _('Given name:'),
_('Family name:'),
_('Suffix:'),
__('person|Title:')]
_('person|Title:')]
name = _('People with the <name>')
description = _("Matches people with a specified (partial) name")
category = _('General filters')