3614: Undo gives wrong text in menu of what it will do; uncontroversial patch part

svn: r17227
This commit is contained in:
Michiel Nauta 2011-04-23 14:19:04 +00:00
parent 20b3131237
commit 33daf99b33

View File

@ -248,7 +248,7 @@ class DbUndo(object):
if db.undo_callback: if db.undo_callback:
if self.undo_available(): if self.undo_available():
db.undo_callback(_("_Undo %s") db.undo_callback(_("_Undo %s")
% transaction.get_description()) % self.translist[self.undoindex].get_description())
else: else:
db.undo_callback(None) db.undo_callback(None)