"exist.\n\nDo you want to create a new document?"),
from_utf8(filename.absFileName()));
if (!Alert::prompt(_("Create new document?"),
- text, 0, 1, _("&Create"), _("Cancel")))
+ text, 0, 1, _("&Yes, Create New Document"), _("&No, Do Not Create")))
return newFile(filename.absFileName(), string(), true);
return 0;
FileName filename;
do {
- filename.set(path,
+ filename.set(path,
prefix + convert<string>(++file_number[prefix]) + ".lyx");
}
while (theBufferList().exists(filename) || filename.isReadableFile());
-
+
return newFile(filename.absFileName(), templatename, false);
}