2008-01-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/GrampsCfg.py: missing const; added Text tab * src/Config/_GrampsConfigKeys.py: added missing and private text * src/plugins/DefaultGramplets.py: use missing surname text * src/Simple/_SimpleAccess.py: use missing surname text svn: r9929
This commit is contained in:
@@ -31,7 +31,7 @@ import Utils
|
||||
from BasicUtils import name_displayer
|
||||
from ReportBase import ReportUtils
|
||||
from gen.lib import EventType
|
||||
import const
|
||||
import Config
|
||||
|
||||
class SimpleAccess:
|
||||
"""
|
||||
@@ -130,7 +130,7 @@ class SimpleAccess:
|
||||
assert(isinstance(person, (gen.lib.Person, NoneType)))
|
||||
if person:
|
||||
surname = person.get_primary_name().get_surname()
|
||||
return surname or const.NO_SURNAME
|
||||
return surname or Config.get(Config.NO_SURNAME_TEXT)
|
||||
else:
|
||||
return u''
|
||||
|
||||
|
Reference in New Issue
Block a user