From e6ddedf6c6aeba780bc060ae5bfe536da6013311 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 4 Oct 2018 17:49:35 -0700 Subject: [PATCH] fix typo in cbac98894bfa7e1969625efceccc19c4d5374a7e --- gramps/gen/display/place.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/gen/display/place.py b/gramps/gen/display/place.py index 5b85d6f08..d24c1daea 100644 --- a/gramps/gen/display/place.py +++ b/gramps/gen/display/place.py @@ -35,7 +35,8 @@ import xml.dom.minidom # Gramps modules # #------------------------------------------------------------------------- -from ..const import PLACE_FORMATS +from ..const import PLACE_FORMATS, GRAMPS_LOCALE as glocale +_ = glocale.translation.gettext from ..config import config from ..utils.location import get_location_list from ..lib import PlaceType @@ -72,7 +73,7 @@ class PlaceDisplay: if os.path.exists(PLACE_FORMATS): self.load_formats() else: - pf = PlaceFormat('Full', ':', '', 0, False) + pf = PlaceFormat(_('Full'), ':', '', 0, False) self.place_formats.append(pf) def display_event(self, db, event, fmt=-1):