LazUtils, Translations unit: treat items with no-object-pascal-format flag as having correct formatting (never mark them with fuzzy and badformat flags for the formatting reasons)

git-svn-id: trunk@61232 -
This commit is contained in:
maxim 2019-05-16 23:05:04 +00:00
parent 5b72fe1d56
commit e27c505be2

View File

@ -1545,7 +1545,7 @@ procedure TPOFile.FillItem(var CurrentItem: TPOFileItem; Identifier, Original,
Result := true;
if Item.Translation <> '' then
begin
Result := CompareFormatArgs(Item.Original,Item.Translation);
Result := (pos(sNoFormatFlag, Item.Flags) <> 0) or CompareFormatArgs(Item.Original,Item.Translation);
if not Result then
begin
if pos(sFuzzyFlag, Item.Flags) = 0 then