summaryrefslogtreecommitdiff
path: root/docview/src/dvconstants.pas
blob: e549bfe8be4b25017ef7ce039e2e177bc9d821d6 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
    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';
  BOOKMARK_FILE_EXTENSION = ExtensionSeparator + 'bookmark';
  BOOKMARK_SECTION = '[BOOKMARK]';
  OWN_HELP_MARKER = '[DOCVIEWHELP]';
  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>';
  rsDVUntitled = '(Untitled)';

const
  hcConfigGeneralTab               = 510;
  hcConfigFontsColorTab            = 520;

const
  PARAM_LINK_NOTE = 'note';
  PARAM_LINK_PROGRAM = 'program';
  PARAM_LINK_URL = 'url';
  PARAM_LINK_EXTERNAL = 'external';

  PRGM_EXPLORER = 'explore'; // web explorer
  PRGM_NETSCAPE = 'netscape';
  PRGM_MOZILLA = 'mozilla';
  PRGM_FIREFOX = 'firefox';



implementation

end.