mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-09 20:59:10 +02:00
PoChecker: only report formatting error if translation is present
git-svn-id: trunk@39772 -
This commit is contained in:
parent
97a96b51f1
commit
16d97f6a60
@ -357,7 +357,7 @@ begin
|
|||||||
//CPoItem := FChild.FindPoItem(MPoItem.Identifier);
|
//CPoItem := FChild.FindPoItem(MPoItem.Identifier);
|
||||||
if Assigned(CPoItem) then
|
if Assigned(CPoItem) then
|
||||||
begin
|
begin
|
||||||
if CompareFormatArgs(CPoItem.Original, CPoItem.Translation) = false then
|
if (Length(CPoItem.Translation) > 0) and (CompareFormatArgs(CPoItem.Original, CPoItem.Translation) = false) then
|
||||||
begin
|
begin
|
||||||
if (ErrorCount = 0) then
|
if (ErrorCount = 0) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user