mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 12:59:00 +02:00
IDE: localized "Major changes detected" dialog
This commit is contained in:
parent
727b27b9bf
commit
805858abd7
@ -851,6 +851,12 @@ resourcestring
|
||||
lisNotNow = 'Not now';
|
||||
lisYouCanNotBuildLazarusWhileDebuggingOrCompiling = 'You cannot build '
|
||||
+'Lazarus while debugging or compiling.';
|
||||
lisMajorChangesDetected = 'Major changes detected';
|
||||
lisTheLazarusSourcesUse = 'The Lazarus sources use a different list of base '
|
||||
+'packages.%sIt is recommended to compile the IDE clean using lazbuild.';
|
||||
lisCleanUpLazbuild = 'Clean up + lazbuild';
|
||||
lisLazbuild = 'lazbuild';
|
||||
lisCompileNormally = 'Compile normally';
|
||||
lisReadError = 'Read Error';
|
||||
lisUnableToReadFile = 'Unable to read file';
|
||||
lisUnableToReadFile2 = 'Unable to read file "%s".';
|
||||
|
@ -7934,10 +7934,10 @@ begin
|
||||
ErrMsg:=PackageGraph.SrcBasePackagesNeedLazbuild;
|
||||
if ErrMsg<>'' then
|
||||
begin
|
||||
r:=IDEQuestionDialog('Major changes detected',
|
||||
'The Lazarus sources use a different list of base packages.'+LineEnding
|
||||
+'It is recommended to compile the IDE clean using lazbuild.',
|
||||
mtConfirmation,[mrYes,'Clean up + lazbuild',21,'lazbuild',mrIgnore,'Compile normally',mrCancel]);
|
||||
r:=IDEQuestionDialog(lisMajorChangesDetected,
|
||||
Format(lisTheLazarusSourcesUse, [LineEnding]),
|
||||
mtConfirmation, [mrYes, lisCleanUpLazbuild, 21, lisLazbuild, mrIgnore,
|
||||
lisCompileNormally, mrCancel]);
|
||||
case r of
|
||||
mrYes:
|
||||
exit(fBuilder.MakeIDEUsingLazbuild(true));
|
||||
|
Loading…
Reference in New Issue
Block a user