translation issues (patch by MathieuMD), see devel mailing list

svn: r19352
This commit is contained in:
Jérôme Rapinat
2012-04-18 17:27:47 +00:00
parent cc709d4c3c
commit 06c0aa4d54
3 changed files with 12 additions and 2 deletions

View File

@@ -20,6 +20,11 @@
# $Id$
# Standard Python modules
#
#-------------------------------------------------------------------------
from gen.ggettext import gettext as _
#-------------------------------------------------------------------------
#
# GRAMPS modules
@@ -35,7 +40,7 @@ class IsPrivate(Rule):
name = 'Objects marked private'
description = "Matches objects that are indicated as private"
category = 'General filters'
category = _('General filters')
def apply(self, db, obj):
return obj.get_privacy()

View File

@@ -29,6 +29,8 @@ import time
import logging
LOG = logging.getLogger(".citation")
from gen.ggettext import gettext as _
"""
methods to upgrade a database from version 13 to current version
"""