Translate strings for hierarchy level headings

svn: r14934
This commit is contained in:
Nick Hall 2010-03-26 21:11:12 +00:00
parent 08920e3f8c
commit 4219566d11
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 the headings of the levels in the hierarchy.
""" """
return ['Group As', 'Name'] return [_('Group As'), _('Name')]
def column_header(self, node): def column_header(self, node):
return node.name return node.name

View File

@ -271,7 +271,7 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel):
""" """
Return the headings of the levels in the hierarchy. 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): def add_row(self, handle, data):
""" """