diff --git a/components/pochecker/pocheckermain.pp b/components/pochecker/pocheckermain.pp index 5c6b486eed..b286791a4b 100644 --- a/components/pochecker/pocheckermain.pp +++ b/components/pochecker/pocheckermain.pp @@ -308,7 +308,7 @@ begin PoFamily.RunTests(Options, ErrorCount, WarningCount, SL); debugln('RunSelectedTests: ',Format(sTotalErrors,[ErrorCount])); debugln(' ',Format(sTotalWarnings,[WarningCount])); - if (ErrorCount > 0) or (WarningCount > 0) then + if (ErrorCount > 0) or (WarningCount > 0) or (ptoCheckStatistics in Options) then begin SL.Add(Format(sTotalErrors,[ErrorCount])); SL.Add(Format(sTotalWarnings,[WarningCount])); diff --git a/components/pochecker/pofamilies.pp b/components/pochecker/pofamilies.pp index ab4d10a280..05d1167993 100644 --- a/components/pochecker/pofamilies.pp +++ b/components/pochecker/pofamilies.pp @@ -601,7 +601,6 @@ begin NrTotal := NrTranslated + NrUntranslated + NrFuzzy; if (NrTotal > 0) then begin - WarningCount := 1; //else it will not show up... ErrorLog.Add(Divider); ErrorLog.Add(sTranslationStatistics); ErrorLog.Add(ShortChildName);