Properly name Cancel button (part of #8787)

This commit is contained in:
Juergen Spitzmueller 2013-11-26 16:16:24 +01:00
parent 766e8b1e33
commit aa5ef5bbbe

View File

@ -74,7 +74,7 @@ Buffer * checkAndLoadLyXFile(FileName const & filename, bool const acceptDirty)
"The document %1$s is already loaded and has unsaved changes.\n"
"Do you want to abandon your changes and reload the version on disk?"), file);
if (!Alert::prompt(_("Reload saved document?"),
text, 1, 1, _("&Reload"), _("&Keep Changes"))) {
text, 1, 1, _("&Reload"), _("&Cancel"))) {
// reload the document
if (checkBuffer->reload() != Buffer::ReadSuccess)
return 0;