mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 12:18:17 +02:00
IDE: do not emit translatable strings for divider menuitems (with caption='-'), patch by Nur Cholif Murtadho, bug #26553
git-svn-id: trunk@52695 -
This commit is contained in:
parent
b4d93e4f9e
commit
fb60fef065
@ -4930,6 +4930,7 @@ begin
|
||||
if not Assigned(Instance) then exit;
|
||||
if not Assigned(PropInfo) then exit;
|
||||
if SysUtils.CompareText(PropInfo^.PropType^.Name,'TTRANSLATESTRING')<>0 then exit;
|
||||
if (SysUtils.CompareText(Instance.ClassName,'TMENUITEM')=0) and (Content='-') then exit;
|
||||
if Writer.Driver is TLRSObjectWriter then begin
|
||||
LRSWriter:=TLRSObjectWriter(Writer.Driver);
|
||||
Path:=LRSWriter.GetStackPath;
|
||||
|
Loading…
Reference in New Issue
Block a user