mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-25 13:59:12 +02:00
Codetools: improved localization
git-svn-id: trunk@32020 -
This commit is contained in:
parent
ab89769de4
commit
db322bd785
components/codetools
@ -124,6 +124,7 @@ ResourceString
|
||||
ctsNotEnoughGenParams = 'Not enough actual generic parameters';
|
||||
ctsTooManyGenParams = 'Too many actual generic parameters';
|
||||
ctsSyntaxErrorInGeneric = 'Syntax error in generic type declaration';
|
||||
ctsExpected = '"%s" expected';
|
||||
ctsNoContextNodeFoundAtCursor = 'no context node found at cursor';
|
||||
ctsInheritedKeywordOnlyAllowedInMethods =
|
||||
'inherited keyword only allowed in methods';
|
||||
|
@ -1275,7 +1275,7 @@ begin
|
||||
begin
|
||||
MoveCursorToNodeStart(SpecializeParamsNode);
|
||||
if not ReadNextAtomIsChar('<') then
|
||||
FParamValuesTool.RaiseException('"<" expected');
|
||||
FParamValuesTool.RaiseException(Format(ctsExpected, ['<']));
|
||||
ReadNextAtom;
|
||||
while CurPos.Flag = cafWord do
|
||||
begin
|
||||
@ -1284,7 +1284,7 @@ begin
|
||||
if CurPos.Flag = cafComma then ReadNextAtom;
|
||||
end;
|
||||
if not AtomIsChar('>') then
|
||||
FParamValuesTool.RaiseException('">" expected');
|
||||
FParamValuesTool.RaiseException(Format(ctsExpected, ['>']));
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user