mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 19:35:58 +02:00
IDE: improved localization
git-svn-id: trunk@43513 -
This commit is contained in:
parent
bf893993a5
commit
491fa9111c
@ -797,6 +797,8 @@ resourcestring
|
||||
lisDuplicateNameAComponentNamedAlreadyExistsInTheInhe = 'Duplicate name: A '
|
||||
+'component named %s%s%s already exists in the inherited component %s';
|
||||
lisComponentNameIsKeyword = 'Component name %s%s%s is keyword';
|
||||
lisThereIsAlreadyAComponentClassWithTheName = 'There is already a component '
|
||||
+'class with the name %s.';
|
||||
lisTheUnitItselfHasAlreadyTheNamePascalIdentifiersMus = 'The unit itself '
|
||||
+'has already the name %s%s%s. Pascal identifiers must be unique.';
|
||||
lisUnableToRenameVariableInSource = 'Unable to rename variable in source.';
|
||||
@ -805,6 +807,8 @@ resourcestring
|
||||
lisThereIsAlreadyAFormWithTheName = 'There is already a form with the name %s%s%s';
|
||||
lisThereIsAlreadyAUnitWithTheNamePascalIdentifiersMus = 'There is already a '
|
||||
+'unit with the name %s%s%s. Pascal identifiers must be unique.';
|
||||
lisThisComponentAlreadyContainsAClassWithTheName = 'This component already '
|
||||
+'contains a class with the name %s.';
|
||||
lisSeeMessages = 'See messages.';
|
||||
lisError = 'Error: ';
|
||||
lisWarning = 'Warning: ';
|
||||
|
@ -11990,7 +11990,8 @@ var
|
||||
ConflictingClass:=AComponent.ClassType.ClassParent;
|
||||
while ConflictingClass<>nil do begin
|
||||
if SysUtils.CompareText(AName,ConflictingClass.ClassName)=0 then begin
|
||||
s:='This component has already the class '+ConflictingClass.ClassName;
|
||||
s:=Format(lisThisComponentAlreadyContainsAClassWithTheName, [
|
||||
ConflictingClass.ClassName]);
|
||||
raise EComponentError.Create(s);
|
||||
end;
|
||||
ConflictingClass:=ConflictingClass.ClassParent;
|
||||
@ -12003,7 +12004,8 @@ var
|
||||
// check if registered component class
|
||||
RegComp:=IDEComponentPalette.FindComponent(AName);
|
||||
if RegComp<>nil then begin
|
||||
s:='There is already a component class with the name '+RegComp.ComponentClass.ClassName;
|
||||
s:=Format(lisThereIsAlreadyAComponentClassWithTheName, [RegComp.
|
||||
ComponentClass.ClassName]);
|
||||
raise EComponentError.Create(s);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user