mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 02:49:30 +02:00
IDE: resourcestrings
git-svn-id: trunk@41327 -
This commit is contained in:
parent
283f8dfbbf
commit
e06d6d07ee
@ -303,7 +303,7 @@ end;
|
||||
|
||||
function TargetsPrefix: string;
|
||||
begin
|
||||
Result:='Targets: ';
|
||||
Result:=lisMMTargets;
|
||||
end;
|
||||
|
||||
function AddMatrixTarget(Matrix: TGroupedMatrix; StorageGroup: TGroupedMatrixGroup
|
||||
@ -326,7 +326,7 @@ var
|
||||
begin
|
||||
Result:=CheckBuildMatrixTargetsSyntax(Targets);
|
||||
if Result<>'' then begin
|
||||
Result:='Warning: '+Result;
|
||||
Result:=lisWarning+Result;
|
||||
exit;
|
||||
end;
|
||||
p:=1;
|
||||
@ -499,7 +499,7 @@ begin
|
||||
SplitMatrixMacro(ValueRow.Value,MacroName,MacroValue,true);
|
||||
except
|
||||
on E: EMMMacroSyntaxException do begin
|
||||
h:='Error: '+E.Message;
|
||||
h:=lisError+E.Message;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
@ -5688,6 +5688,7 @@ resourcestring
|
||||
lisMMExpectedAfterMacroNameButFound = 'expected ":=" after macro name, but '
|
||||
+'found "%s"';
|
||||
lisMMApplyToAllPackages = 'Apply to all packages.';
|
||||
lisMMTargets = 'Targets: ';
|
||||
lisMMApplyToAllPackagesAndProjects = 'Apply to all packages and projects.';
|
||||
lisMMApplyToProject = 'Apply to project.';
|
||||
lisMMApplyToAllPackagesMatching = 'Apply to all packages matching name "%s"';
|
||||
@ -5708,6 +5709,7 @@ resourcestring
|
||||
lisMMDeleteTheSelectedTargetOrOption = 'Delete the selected target or option';
|
||||
lisMMSetS = 'Set "%s"';
|
||||
lisMMValueS = 'Value "%s"';
|
||||
lisMMInvalidCharacterAt = 'invalid character "%s" at %s';
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -27,7 +27,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, contnrs, LazConfigStorage, Laz2_XMLCfg, LazLogger,
|
||||
FileProcs, KeywordFuncLists;
|
||||
FileProcs, KeywordFuncLists, LazarusIDEStrConsts;
|
||||
|
||||
const
|
||||
BuildMatrixProjectName = '#project';
|
||||
@ -247,7 +247,8 @@ var
|
||||
|
||||
procedure WarnInvalidChar;
|
||||
begin
|
||||
Result:='invalid character "'+dbgstr(p^)+'" at '+IntToStr(p-PChar(Targets)+1);
|
||||
Result:=Format(lisMMInvalidCharacterAt, [dbgstr(p^), IntToStr(p-PChar(
|
||||
Targets)+1)]);
|
||||
end;
|
||||
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user