Fix of two typos.
svn: r18907
This commit is contained in:
parent
65cd98be62
commit
fbc58eb5e7
@ -440,13 +440,13 @@ class EditCitation(EditPrimary):
|
|||||||
# Now commit the Citation Primary object
|
# Now commit the Citation Primary object
|
||||||
if not self.obj.get_handle():
|
if not self.obj.get_handle():
|
||||||
self.db.add_citation(self.obj, trans)
|
self.db.add_citation(self.obj, trans)
|
||||||
msg += _(" " + "Add Citation (%s)") % self.obj.get_page()
|
msg += "\n" + _("Add Citation (%s)") % self.obj.get_page()
|
||||||
else:
|
else:
|
||||||
if not self.obj.get_gramps_id():
|
if not self.obj.get_gramps_id():
|
||||||
self.obj.set_gramps_id(
|
self.obj.set_gramps_id(
|
||||||
self.db.find_next_citation_gramps_id())
|
self.db.find_next_citation_gramps_id())
|
||||||
self.db.commit_citation(self.obj, trans)
|
self.db.commit_citation(self.obj, trans)
|
||||||
msg += _("\n" + "Edit Citation (%s)") % self.obj.get_page()
|
msg += "\n" + _("Edit Citation (%s)") % self.obj.get_page()
|
||||||
trans.set_description(msg)
|
trans.set_description(msg)
|
||||||
|
|
||||||
if self.callback:
|
if self.callback:
|
||||||
|
Loading…
Reference in New Issue
Block a user