Translate strings for hierarchy level headings

svn: r14935
This commit is contained in:
Nick Hall 2010-03-26 21:12:09 +00:00
parent 80a1b440b8
commit edaec66f47
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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):
"""