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

@ -35,6 +35,7 @@ src/cli/plug/__init__.py
src/gen/db/base.py
src/gen/db/exceptions.py
src/gen/db/undoredo.py
src/gen/db/upgrade.py
# gen display API
src/gen/display/name.py
@ -323,8 +324,9 @@ src/plugins/lib/libplugins.gpr.py
src/plugins/lib/libtranslate.py
src/plugins/lib/libtreebase.py
src/plugins/lib/holidays.xml.in
src/plugins/lib/maps/constants.py
src/plugins/lib/maps/geography.py
src/plugins/lib/maps/osmGps.py
src/plugins/lib/maps/placeselection.py
# plugins/mapservices directory
src/plugins/mapservices/eniroswedenmap.py
@ -407,6 +409,7 @@ src/plugins/view/eventview.py
src/plugins/view/familyview.py
src/plugins/view/fanchartview.py
src/plugins/view/geography.gpr.py
src/plugins/view/geoclose.py
src/plugins/view/geoevents.py
src/plugins/view/geofamily.py
src/plugins/view/geoperson.py

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
"""