mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 12:58:15 +02:00
LazUtils, Translations unit: added comment
git-svn-id: trunk@61281 -
This commit is contained in:
parent
ff409fc05d
commit
a620891184
@ -1605,6 +1605,8 @@ begin
|
||||
CurrentItem:=TPOFileItem.Create(lowercase(Identifier), Original, Translation);
|
||||
CurrentItem.Comments := Comments;
|
||||
CurrentItem.Context := Context;
|
||||
//When setting item flags, omit '"' characters in order to avoid regeneration instability.
|
||||
//These characters are not meant to be present in flags anyway according to examples in gettext documentation.
|
||||
TmpFlags := StringReplace(Flags, '"', '', [rfReplaceAll]);
|
||||
CurrentItem.ModifyFlag(lowercase(TmpFlags), true);
|
||||
CurrentItem.PreviousID := PreviousID;
|
||||
|
Loading…
Reference in New Issue
Block a user