From 4219566d11b96fd032b27bea4230cc4d9fde9fff Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 26 Mar 2010 21:11:12 +0000 Subject: [PATCH] Translate strings for hierarchy level headings svn: r14934 --- src/gui/views/treemodels/peoplemodel.py | 2 +- src/gui/views/treemodels/placemodel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/views/treemodels/peoplemodel.py b/src/gui/views/treemodels/peoplemodel.py index 87ec4bdc6..65a907a52 100644 --- a/src/gui/views/treemodels/peoplemodel.py +++ b/src/gui/views/treemodels/peoplemodel.py @@ -493,7 +493,7 @@ class PersonTreeModel(PeopleBaseModel, TreeBaseModel): """ Return the headings of the levels in the hierarchy. """ - return ['Group As', 'Name'] + return [_('Group As'), _('Name')] def column_header(self, node): return node.name diff --git a/src/gui/views/treemodels/placemodel.py b/src/gui/views/treemodels/placemodel.py index f792261af..e97ce631c 100644 --- a/src/gui/views/treemodels/placemodel.py +++ b/src/gui/views/treemodels/placemodel.py @@ -271,7 +271,7 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel): """ Return the headings of the levels in the hierarchy. """ - return ['Country', 'State', 'County', 'Place Name'] + return [_('Country'), _('State'), _('County'), _('Place')] def add_row(self, handle, data): """