Changeset 45 for trunk/UAcronym.pas
- Timestamp:
- Jul 15, 2016, 12:38:46 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UAcronym.pas
r34 r45 225 225 function AcronymComparer(Item1, Item2: Pointer): Integer; 226 226 227 const 228 ImportVariableString: array [TImportVariable] of string = ('None', 'Acronym', 229 'Meaning', 'Description'); 230 ImportPatternFlagString: array [TImportPatternFlag] of string = ('None', 'New item', 231 'Skip'); 232 227 var 228 ImportVariableString: array [TImportVariable] of string; 229 ImportPatternFlagString: array [TImportPatternFlag] of string; 230 231 procedure Translate; 233 232 234 233 implementation … … 236 235 resourcestring 237 236 SWrongFileFormat = 'Wrong file format'; 238 237 SDescription = 'Description'; 238 SMeaning = 'Meaning'; 239 SAcronym = 'Acronym'; 240 SNone = 'None'; 241 SNewItem = 'New item'; 242 SSkip = 'Skip'; 243 244 245 procedure Translate; 246 begin 247 ImportVariableString[ivAcronym] := SAcronym; 248 ImportVariableString[ivNone] := SNone; 249 ImportVariableString[ivMeaning] := SMeaning; 250 ImportVariableString[ivDescription] := SDescription; 251 ImportPatternFlagString[ipfNone] := SNone; 252 ImportPatternFlagString[ipfNewItem] := SNewItem; 253 ImportPatternFlagString[ipfSkip] := SSkip; 254 end; 239 255 240 256 function AcronymComparer(Item1, Item2: Pointer): Integer;
Note:
See TracChangeset
for help on using the changeset viewer.