Translate strings for hierarchy level headings
svn: r14934
This commit is contained in:
parent
08920e3f8c
commit
4219566d11
@ -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