Changeset 25 for trunk/Packages/Common/UTranslator.pas
- Timestamp:
- Oct 5, 2019, 3:04:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/UTranslator.pas
r8 r25 7 7 uses 8 8 Classes, SysUtils, Forms, ExtCtrls, Controls, Contnrs, LazFileUtils, LazUTF8, 9 Translations, TypInfo, Dialogs, FileUtil, LCLProc, ULanguages, LCLType; 9 Translations, TypInfo, Dialogs, FileUtil, LCLProc, ULanguages, LCLType, 10 LCLVersion; 10 11 11 12 type … … 138 139 for J := 0 to Items.Count - 1 do 139 140 with TPoFileItem(Items[J]) do begin 141 {$if (lcl_major<2)} 142 Po.Add(IdentifierLow, Original, Translation, Comments, Context, 143 Flags, PreviousID); 144 {$else} 140 145 Item := nil; 141 146 Po.FillItem(Item, IdentifierLow, Original, Translation, Comments, Context, 142 147 Flags, PreviousID); 148 {$endif} 143 149 end; 144 150 Translations.TranslateResourceStrings(Po);
Note:
See TracChangeset
for help on using the changeset viewer.