IDE: removed unnecessary confusing clarifications from "Unitname already in project" dialog wording

git-svn-id: trunk@38063 -
This commit is contained in:
maxim 2012-07-27 20:46:12 +00:00
parent 47c5ae5d8e
commit 81ed83a234
2 changed files with 2 additions and 5 deletions

View File

@ -945,9 +945,7 @@ resourcestring
+'As Lazarus is growing we need more developers.';
lisAboutNoContributors = 'Cannot find contributors list.';
lisUnitNameAlreadyExistsCap = 'Unitname already in project';
lisTheUnitAlreadyExistsIgnoreWillForceTheRenaming = 'The unit %s%s%s '
+'already exists.%sIgnore will force the renaming,%sCancel will cancel '
+'the saving of this source and%sAbort will abort the whole saving.';
lisTheUnitAlreadyExists = 'The unit %s%s%s already exists.';
lisForceRenaming = 'Force renaming';
lisCancelRenaming = 'Cancel renaming';
lisAbortAll = 'Abort all';

View File

@ -5813,8 +5813,7 @@ begin
if Project1.IndexOfUnitWithName(NewUnitName,true,AnUnitInfo)>=0 then
begin
Result:=IDEQuestionDialogAb(lisUnitNameAlreadyExistsCap,
Format(lisTheUnitAlreadyExistsIgnoreWillForceTheRenaming, ['"',
NewUnitName, '"', #13, #13, #13]),
Format(lisTheUnitAlreadyExists, ['"', NewUnitName, '"']),
mtConfirmation, [mrIgnore, lisForceRenaming,
mrCancel, lisCancelRenaming,
mrAbort, lisAbortAll], not CanAbort);