mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
discard changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6875 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
36e376b011
commit
76cf529711
@ -1,3 +1,7 @@
|
||||
2003-04-28 John Levon <levon@movementarian.org>
|
||||
|
||||
* bufferlist.C: changes for unsaved changes dialog
|
||||
|
||||
2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* bufferlist.C (newFile): set language (messages_) for new
|
||||
|
@ -78,7 +78,7 @@ bool BufferList::quitWriteBuffer(Buffer * buf)
|
||||
text += file + _(" has unsaved changes.\n\nWhat do you want to do with it?");
|
||||
#endif
|
||||
int const ret = Alert::prompt(_("Save changed document?"),
|
||||
text, 0, 2, _("&Save"), _("&Discard"), _("&Cancel"));
|
||||
text, 0, 2, _("&Save Changes"), _("&Discard Changes"), _("&Cancel"));
|
||||
|
||||
if (ret == 0) {
|
||||
// FIXME: WriteAs can be asynch !
|
||||
@ -187,7 +187,7 @@ bool BufferList::close(Buffer * buf, bool ask)
|
||||
text += fname + _(" has unsaved changes.\n\nWhat do you want to do with it?");
|
||||
#endif
|
||||
int const ret = Alert::prompt(_("Save changed document?"),
|
||||
text, 0, 2, _("&Save"), _("&Discard"), _("&Cancel"));
|
||||
text, 0, 2, _("&Save Changes"), _("&Discard Changes"), _("&Cancel"));
|
||||
|
||||
if (ret == 0) {
|
||||
if (buf->isUnnamed()) {
|
||||
|
Loading…
Reference in New Issue
Block a user