Translate strings for hierarchy level headings
svn: r14935
This commit is contained in:
parent
80a1b440b8
commit
edaec66f47
@ -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
|
||||
|
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user