identities: add a get_preferred_language() method to Identity class
This commit is contained in:
parent
28e7914ee4
commit
0cf57685fe
|
@ -322,6 +322,9 @@ class Identity(StorableObject):
|
|||
l.append('</PP>')
|
||||
return '\n'.join(l)
|
||||
|
||||
def get_preferred_language(self):
|
||||
return None
|
||||
|
||||
def get_display_name(self):
|
||||
if self.name:
|
||||
return self.name
|
||||
|
|
Reference in New Issue