resourcestrings

git-svn-id: trunk@31252 -
This commit is contained in:
mattias 2011-06-16 11:51:57 +00:00
parent c507e04bb0
commit d449d6153b
2 changed files with 4 additions and 2 deletions

View File

@ -5354,6 +5354,8 @@ resourcestring
lisDoYouStillWantToCreateTheNewProject = 'Do you still want to create the '
+'new project?';
lisDiscardChangesCreateNewProject = 'Discard changes, create new project';
lisDoYouStillWantToQuit = 'Do you still want to quit?';
lisDiscardChangesAndQuit = 'Discard changes and quit';
implementation

View File

@ -1824,8 +1824,8 @@ begin
MsgResult:=DoSaveProject([sfCanAbort]);
if MsgResult<>mrOk then begin
MsgResult:=IDEQuestionDialog(lisChangesWereNotSaved,
'Do you still want to quit?',
mtConfirmation, [mrOk, 'Discard changes and quit', mrAbort]);
lisDoYouStillWantToQuit,
mtConfirmation, [mrOk, lisDiscardChangesAndQuit, mrAbort]);
end;
CanClose := MsgResult=mrOk;
if not CanClose then exit;