show the display name for emergency file too

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34091 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-04-08 10:26:35 +00:00
parent 9b4576b50b
commit 5edd353600

View File

@ -3507,7 +3507,7 @@ bool Buffer::readFileHelper(FileName const & s)
else
str = _("Document was NOT successfully recovered.");
str += "\n\n" + bformat(_("Remove emergency file now?\n(%1$s)"),
from_utf8(e.absFilename()));
makeDisplayPath(e.absFilename()));
if (!Alert::prompt(_("Delete emergency file?"), str, 1, 1,
_("&Remove"), _("&Keep it"))) {