mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 20:00:53 +02:00
LCL, updatepofile, fix to process some multilined rst strings previously discarded
git-svn-id: trunk@17605 -
This commit is contained in:
parent
7b8ef5e908
commit
d92574550c
@ -722,11 +722,18 @@ begin
|
||||
UntagAll;
|
||||
// for each string in lrt/rst list check if it's already
|
||||
// in PO if not add it
|
||||
Value := '';
|
||||
Multi := false;
|
||||
for i:=0 to InputLines.Count-1 do begin
|
||||
Line:=InputLines[i];
|
||||
n := Length(Line);
|
||||
if n=0 then
|
||||
if n=0 then begin
|
||||
if Multi and (Value<>'') then begin
|
||||
// process pending multiline values (bug in fpc?)
|
||||
UpdateItem(Identifier, Value);
|
||||
end;
|
||||
continue;
|
||||
end;
|
||||
|
||||
if SType=stLrt then begin
|
||||
p:=Pos('=',Line);
|
||||
|
Loading…
Reference in New Issue
Block a user