LazUtils: when updating existing translation item, copy Flags together with translation if needed, just like we do for newly added item.

git-svn-id: trunk@57016 -
This commit is contained in:
maxim 2018-01-08 23:05:59 +00:00
parent 33824ac6a0
commit 26ce2347a4

View File

@ -1681,6 +1681,8 @@ begin
if Item.Context='' then
Item.Context := Item.IdentifierLow;
Item.Translation := ItemTmp.Translation;
if Item.Flags='' then
Item.Flags := ItemTmp.Flags;
Item.ModifyFlag(sFuzzyFlag, true);
// if old item is fuzzy, copy PreviousID too
if pos(sFuzzyFlag, ItemTmp.Flags)<>0 then