- Timestamp:
- Oct 5, 2019, 2:56:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/1.0/Packages/Common/UTranslator.pas
r8 r24 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 … … 139 140 with TPoFileItem(Items[J]) do begin 140 141 Item := nil; 142 {$if (lcl_major<2)} 143 Po.Add(IdentifierLow, Original, Translation, Comments, Context, 144 Flags, PreviousID); 145 {$else} 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.