String formatting

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155067.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31656 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-10-18 03:58:20 +00:00
parent 5f8f8dd947
commit 8962886acb

View File

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