mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 11:32:49 +02:00
lcl: lcltranslator: use typeinfo instead of type name
git-svn-id: trunk@56124 -
This commit is contained in:
parent
82dabee557
commit
faa58c53b1
@ -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