From 153aa286f850846f9bc8114017c1e8b6f881eddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 14 Feb 2012 14:00:44 +0000 Subject: [PATCH] use translated string for custom attribute type after merging svn: r18884 --- po/POTFILES.in | 1 + po/POTFILES.skip | 1 - src/gen/lib/person.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 5bfd45d91..6621883fd 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -52,6 +52,7 @@ src/gen/lib/markertype.py src/gen/lib/nametype.py src/gen/lib/nameorigintype.py src/gen/lib/notetype.py +src/gen/lib/person.py src/gen/lib/repotype.py src/gen/lib/srcmediatype.py src/gen/lib/surnamebase.py diff --git a/po/POTFILES.skip b/po/POTFILES.skip index 6ecaf3d44..d32b39bda 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -127,7 +127,6 @@ src/gen/lib/mediaref.py src/gen/lib/name.py src/gen/lib/note.py src/gen/lib/notebase.py -src/gen/lib/person.py src/gen/lib/personref.py src/gen/lib/place.py src/gen/lib/placebase.py diff --git a/src/gen/lib/person.py b/src/gen/lib/person.py index 796b948a5..4ec55801b 100644 --- a/src/gen/lib/person.py +++ b/src/gen/lib/person.py @@ -48,6 +48,7 @@ from gen.lib.attrtype import AttributeType from gen.lib.eventroletype import EventRoleType from gen.lib.attribute import Attribute from gen.lib.const import IDENTICAL, EQUAL, DIFFERENT +from gen.ggettext import gettext as _ #------------------------------------------------------------------------- #