PoChecker: only report formatting error if translation is present

git-svn-id: trunk@39772 -
This commit is contained in:
maxim 2013-01-05 17:27:42 +00:00
parent 97a96b51f1
commit 16d97f6a60

View File

@ -357,7 +357,7 @@ begin
//CPoItem := FChild.FindPoItem(MPoItem.Identifier);
if Assigned(CPoItem) then
begin
if CompareFormatArgs(CPoItem.Original, CPoItem.Translation) = false then
if (Length(CPoItem.Translation) > 0) and (CompareFormatArgs(CPoItem.Original, CPoItem.Translation) = false) then
begin
if (ErrorCount = 0) then
begin