- string const file = makeDisplayPath(fname, 30);
- string text = bformat(lyx::to_utf8(_("The document %1$s already exists.\n\n"
- "Do you want to over-write that document?")), file);
- int const ret = Alert::prompt(lyx::to_utf8(_("Over-write document?")),
- text, 0, 1, lyx::to_utf8(_("&Over-write")), lyx::to_utf8(_("&Cancel")));
+ docstring const file = makeDisplayPath(fname, 30);
+ docstring text = bformat(_("The document %1$s already exists.\n\n"
+ "Do you want to over-write that document?"), file);
+ int const ret = Alert::prompt(_("Over-write document?"),
+ text, 0, 1, _("&Over-write"), _("&Cancel"));