* src/FamilyView.py (load_family): Enable translation for family
relation. * src/const.py.in: Add new functions: display_event(), save_event(), display_attr(), and save_attr() which work for either personal or family events/attributes. Correct silly typo. * src/WriteXML.py (dump_my_event): Call const.save_event() before saving; (write_family_id): Call const.save_frel() before saving; (write_attribute_list): Call const.save_attr() before saving. * src/Marriage.py (redraw_event_list): Call const.display_fevent() before saving; (on_add_clicked): change const.save_fevent() to const.display_fevent(); (on_event_update_clicked): Likewise. * src/EventEdit.py (EventEditor.__init__): Call self.trans() before displaying event name. svn: r1964
This commit is contained in:
@ -520,7 +520,8 @@ class FamilyView:
|
||||
else:
|
||||
mdate = ""
|
||||
v = "%s\n\t%s%s" % (GrampsCfg.nameof(sp),
|
||||
f.getRelationship(),mdate)
|
||||
const.display_frel(f.getRelationship()),
|
||||
mdate)
|
||||
self.spouse_model.set(iter,0,v)
|
||||
else:
|
||||
self.spouse_model.set(iter,0,"unknown\n")
|
||||
|
Reference in New Issue
Block a user