Changeset 45 for trunk/UAcronym.pas


Ignore:
Timestamp:
Jul 15, 2016, 12:38:46 AM (8 years ago)
Author:
chronos
Message:
  • Modified: More translated strings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UAcronym.pas

    r34 r45  
    225225function AcronymComparer(Item1, Item2: Pointer): Integer;
    226226
    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 
     227var
     228  ImportVariableString: array [TImportVariable] of string;
     229  ImportPatternFlagString: array [TImportPatternFlag] of string;
     230
     231procedure Translate;
    233232
    234233implementation
     
    236235resourcestring
    237236  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
     245procedure Translate;
     246begin
     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;
     254end;
    239255
    240256function AcronymComparer(Item1, Item2: Pointer): Integer;
Note: See TracChangeset for help on using the changeset viewer.