mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 03:39:19 +02:00
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:
parent
5b72fe1d56
commit
e27c505be2
@ -1545,7 +1545,7 @@ procedure TPOFile.FillItem(var CurrentItem: TPOFileItem; Identifier, Original,
|
|||||||
Result := true;
|
Result := true;
|
||||||
if Item.Translation <> '' then
|
if Item.Translation <> '' then
|
||||||
begin
|
begin
|
||||||
Result := CompareFormatArgs(Item.Original,Item.Translation);
|
Result := (pos(sNoFormatFlag, Item.Flags) <> 0) or CompareFormatArgs(Item.Original,Item.Translation);
|
||||||
if not Result then
|
if not Result then
|
||||||
begin
|
begin
|
||||||
if pos(sFuzzyFlag, Item.Flags) = 0 then
|
if pos(sFuzzyFlag, Item.Flags) = 0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user