Changeset 191 for trunk/Forms


Ignore:
Timestamp:
Jul 17, 2018, 9:58:21 AM (6 years ago)
Author:
chronos
Message:
  • Added: Document check file open with .txt file extension filter.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormCheck.lfm

    r184 r191  
    11object FormCheck: TFormCheck
    2   Left = 526
     2  Left = 483
    33  Height = 635
    4   Top = 222
     4  Top = 257
    55  Width = 891
    66  Caption = 'Check document'
     
    188188  end
    189189  object OpenDialog1: TOpenDialog
     190    DefaultExt = '.txt'
     191    Filter = 'Text files (.txt)|*.txt|Any file|*.*'
    190192    left = 116
    191193    top = 493
  • trunk/Forms/UFormCheck.pas

    r190 r191  
    8383  SMissingAcronymSummary = 'Warning: Summary acronym %s with meaning "%s" missing from document body.';
    8484  SPluralAcronym = 'Note: Acronym %s is defined as plural in document body.';
     85  SSummaryAcronyms = 'Summary acronyms';
     86  SContentAcronyms = 'Content acronyms';
    8587
    8688{ TFormCheck }
     
    140142  try
    141143    FormAcronyms.Acronyms := AcronymDbContent.Acronyms;
     144    FormAcronyms.Caption := SContentAcronyms;
    142145    FormAcronyms.ShowModal;
    143146  finally
     
    153156  try
    154157    FormAcronyms.Acronyms := AcronymDbSummary.Acronyms;
     158    FormAcronyms.Caption := SSummaryAcronyms;
    155159    FormAcronyms.ShowModal;
    156160  finally
Note: See TracChangeset for help on using the changeset viewer.