mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 04:00:25 +02:00
lcl: lcltranslator: use typeinfo instead of type name
git-svn-id: branches/fixes_1_8@56128 -
This commit is contained in:
parent
04ffbfcd3f
commit
4ec8f57ef7
@ -284,8 +284,7 @@ var
|
||||
Reader: TReader;
|
||||
begin
|
||||
Result := '';
|
||||
if (PropInfo = nil) or
|
||||
(SysUtils.CompareText(PropInfo^.PropType^.Name, 'TTRANSLATESTRING') <> 0) then
|
||||
if (PropInfo=nil) or (PropInfo^.PropType<>TypeInfo(TTranslateString)) then
|
||||
exit;
|
||||
|
||||
// do not translate at design time
|
||||
|
Loading…
Reference in New Issue
Block a user