mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 22:09:28 +02:00
IDE: resourcestrings
git-svn-id: trunk@61464 -
This commit is contained in:
parent
6acb809a60
commit
b4e6dfc86c
@ -1970,6 +1970,12 @@ resourcestring
|
||||
dlgMsgWinColorUrgentHint = 'Hint';
|
||||
dlgMsgWinColorUrgentNote = 'Note';
|
||||
dlgMsgWinColorUrgentWarning = 'Warning';
|
||||
lisPackageIsDesigntimeOnlySoItShouldOnlyBeCompiledInt = 'Package "%s" is '
|
||||
+'designtime only, so it should only be compiled into the IDE, and not '
|
||||
+'with the project settings.%sPlease use "Install" or "Tools / Build '
|
||||
+'Lazarus" to build the IDE packages.';
|
||||
lisCompileWithProjectSettings = 'Compile with project settings';
|
||||
lisCompileAndDoNotAskAgain = 'Compile and do not ask again';
|
||||
dlgMsgWinColorUrgentImportant = 'Important';
|
||||
dlgMsgWinColorUrgentError = 'Error';
|
||||
dlgMsgWinColorUrgentFatal = 'Fatal';
|
||||
|
@ -3183,11 +3183,11 @@ begin
|
||||
if WarnIDEPkg and not FCompileDesignTimePkg
|
||||
and (LazPackage.PackageType=lptDesignTime) then
|
||||
begin
|
||||
MsgResult:=IDEQuestionDialog('Warning',
|
||||
'Package "'+LazPackage.Name+'" is designtime only, so it should only be compiled into the IDE, and not with the project settings.'#13
|
||||
+'Please use "Install" or "Tools / Build Lazarus" to build the IDE packages.',
|
||||
mtWarning,[mrYes,'Compile with project settings',
|
||||
mrYesToAll,'Compile and do not ask again',mrCancel]);
|
||||
MsgResult:=IDEQuestionDialog(dlgMsgWinColorUrgentWarning,
|
||||
Format(lisPackageIsDesigntimeOnlySoItShouldOnlyBeCompiledInt, [
|
||||
LazPackage.Name, #13]),
|
||||
mtWarning, [mrYes, lisCompileWithProjectSettings,
|
||||
mrYesToAll, lisCompileAndDoNotAskAgain, mrCancel]);
|
||||
case MsgResult of
|
||||
mrYes: ;
|
||||
mrYesToAll:
|
||||
|
Loading…
Reference in New Issue
Block a user