summaryrefslogtreecommitdiff
path: root/docview/src/dvconstants.pas
blob: 3e44ef58ee9494e74c7033d9cf648f55d34aeeb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
    fpGUI  -  Free Pascal GUI Toolkit

    Copyright (C) 2006 - 2010 See the file AUTHORS.txt, included in this
    distribution, for details of the copyright.

    See the file COPYING.modifiedLGPL, included in this distribution,
    for details about redistributing fpGUI.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Description:
      Constants used by DocView.
}

unit dvConstants;

{$mode objfpc}{$H+}

interface

uses
  Classes
  ,fpg_base
  ;

const
  { DO NOT LOCALIZE }
  HelpPathEnvironmentVar = 'HELP';
  BookshelfEnvironmentVar = 'BOOKSHELF';
  HELP_FILE_DELIMITER = '+';
  HELP_FILE_EXTENSION = ExtensionSeparator + 'hlp';
  INF_FILE_EXTENSION = ExtensionSeparator + 'inf';
  NOTES_FILE_EXTENSION = ExtensionSeparator + 'notes';
  cDocViewHelpFile = 'docview.inf';


resourcestring
  rsDVTitle = 'Documentation Viewer';
  rsDVSearchingMsg = 'Searching...';
  rsDVDisplaying = 'Displaying...';
  rsDVLoadingNotes = 'Loading notes...';
  rsDVDisplayContents = 'Display contents...';
  rsDVDisplayingFirstTopic = 'Display first topic...';
  rsDVDone = 'Done';
  rsDVNoFile = 'No file';
  rsDVOpenHelpFile = 'Open Help File';
  rsDVHelpFiles = 'Help Files';
  rsDVNoMatchesFound = '(No matches found for <%s>)';
  rsDVSearchSyntaxError = 'Error in search syntax: ';
  rsDVSearchFoundMsg = 'Found %d matches for ';
  rsDVCouldNotOpen = 'Could not open <%s>';

const
  hcConfigGeneralTab               = 510;
  hcConfigFontsColorTab            = 520;


implementation

end.