{-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1.html

Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either expressed or implied. See the License for
the specific language governing rights and limitations under the License.

The Original Code is: InstallerConsts.pas, released on 2004-04-09.

The Initial Developer of the Original Code is Andreas Hausladen
(Andreas dott Hausladen att gmx dott de)
Portions created by Andreas Hausladen are Copyright (C) 2004 Andreas Hausladen.
All Rights Reserved.

Contributor(s): -

You may retrieve the latest version of this file at the Project JEDI's JVCL
home page, located at http://jvcl.sourceforge.net

Known Issues:
-----------------------------------------------------------------------------}
// $Id: InstallerConsts.pas 10997 2006-10-28 17:33:02Z ahuser $

unit InstallerConsts;

interface

const
  // sJVCLMacroXxx are displayed in the Summary page. They are not used by code.
  sJVCLMacroCommonDir = '$(JVCL)\common';                                // do not localize
  sJVCLMacroRunDir = '$(JVCL)\run';                                      // do not localize
  sJVCLMacroResourcesDir = '$(JVCL)\Resources';                          // do not localize
  sJVCLMacroClxDirs = '$(JVCL)\qcommon;$(JVCL)\qrun;$(JVCL)\Resources';  // do not localize

resourcestring
 // JVCL3Install.pas
  SWelcomeText =
    'The JEDI Visual Component Library (JVCL) consists of a huge collection (currently ca. 500)'#10 +
    'of visual and non-visual components which can be instantly reused in your Delphi, Kylix and'#10 +
    'C++ Builder projects.'#10 +
    ''#10 +
    'The library is built upon code donated from the Delphi community. It is reformatted to achieve'#10 +
    'a common look-and-feel, tested, documented and merged into the library. The library is grouped'#10 +
    'into several categories such as Enhanced Standard, Visual, Non-Visual, Data Aware and many,'#10 +
    'many more. The library is released to the public under the terms of the Mozilla Public License'#10 +
    '(MPL 1.1) and as such can be freely used in both freeware, shareware, open source and commercial'#10 +
    'projects.'#10 +
    ''#10 +
    'Source code files included in the JVCL have a header which explicitly states the license (as'#10 +
    'is required). However, unless noted otherwise, all files, including those without an MPL'#10 +
    'header, are subject to the MPL license.';

  RsInstallerName = 'JVCL %d.%d Installation';

  RsInstallerTitle = 'JVCL %d.%d Installation';
  RsWelcomePageSubTitle = 'Welcome to the JVCL 3 installation application';
  RsNoDelphiBcbInstalled = 'No Delphi or C++Builder is installed. The installer terminates.';
  RsDelphiBcbRunning = 'Delphi or C++Builder is running. Terminate the IDE and restart the installer.';

  RsInstallMode = 'New installation / Upgrade from an older version|Allows the selection of packages that should be installed.';
  RsUpdateMode = 'Compile already installed packages / Update IDE|Does not allow the selection of packages.';
  RsUninstallMode = 'Uninstall JVCL|Uninstall all JVCL packages and unregister them from the Delphi/C++ Builder IDE.';

  RsShowMPL = 'Show MPL 1.1'; // the button's width is set to 8+TextWidth+8

const
  sWelcomeFilename = '%s\Install\JVCLInstall\welcome.txt';
  sMPLFile = 'help\MPL-1.1.html';

  // sJclRootDirXx is used to find the "$(JVCL)\..\JCL" directory
  sJclRootDirName = '%s\Jcl';                                  // do not localize
  sJclRootDirFromJVCLDir = sJclRootDirName + '\Source\Common'; // do not localize

 // PgUninstall.pas
resourcestring
  RsUninstallPageTitle = 'Uninstalling JVCL 3';
  RsUninstallPageSubTitle = 'Uninstalling the JVCL 3 from the selected Delphi and C++Builder versions';

 // FrmDirEditBrowse.pas
resourcestring
  RsSelectDir = 'Please select the directory below:';
  RsNoDirectoryButton = 'No directory';

 // FrmInstall.pas
resourcestring
  RsErrorOpeningFile = 'Error opening the file.';
  RsInstallError = 'An error occured.';
  RsComplete = 'Complete.';
  RsError = '%s - Error';
  RsCompiling = 'Compiling: %s';

 // FrmCompileMessages.pas
resourcestring
  RsCompilerHint = 'Hint';
  RsCompilerWarning = 'Warning';
  RsCompilerError = 'Error';
  RsCompilerFatal = 'Fatal';

 // FrmPackageSelection.pas
resourcestring
  RsSelectTargetIDE = 'Select an IDE';
  RsPkgInfoRequires = 'Requires:';
  RsPkgInfoContains = 'Contains:';

 // FrmUninstall.pas
resourcestring
  RsDeletingFile = 'Deleting %s';

 // PgInstall.pas
resourcestring
  RsInstallPageTitle = 'Compiling packages';
  RsInstallPageSubTitle = 'The selected packages are compiling for the selected Delphi and C++Builder versions';

 // PgPackageSelection.pas
resourcestring
  RsPackageSelectionPageTitle = 'Select packages';
  RsPackageSelectionPageSubTitle = 'Select all packages for the target IDEs which should be installed';

 // PgSummary.pas
resourcestring
  RsSummaryPageTitle = 'Summary';
  RsSummaryPageSubTitleInstall = 'The following actions will be done through installation';
  RsSummaryPageSubTitleUpdate = 'The following actions will be done through the update';
  RsSummaryPageSubTitleUninstall = 'The following actions will be done through uninstallation';

  RsInstallForTarget = 'Install JVCL 3 for';
  RsInstallForFrameworks = 'Install for frameworks:';
  RsBplOutputDirectory = 'BPL output directory:';
  RsDcpOutputDirectory = 'DCP output directory:';
  RsLibOutputDirectory = 'LIB output directory:';
  RsHppOutputDirectory = 'HPP output directory:';
  RsBuildPackages = 'Build packages';
  RsCompilePackages = 'Compile packages';
  RsCleanComponentPalettes = 'Clean component palettes';
  RsAddToBrowsePath = 'Add to browse path:';
  RsAddToSearchPath = 'Add to search path:';
  RsAddToLibraryPath = 'Add to library path:';
  RsAddToIncludePath = 'Add to include path:';

  RsUninstallFromTarget = 'Uninstall from';
  RsRemove = 'Remove';
  RsUnregister = 'Unregister';
  RsJVCLPalettes = 'JVCL palettes';
  RsJVCLDirsFromPathLists = 'JVCL directories from path lists';
  RsJVCLPackages = 'JVCL 3 packages';
  RsJVCLFiles = 'JVCL 3 files';
  
 // PgConfig.pas
resourcestring
  RsConfigPageTitle = 'Configuration';
  RsConfigPageSubTitle = 'Choose the compilation options and global options for all targets';

 // FrmConfigPage.pas
resourcestring
  RsAllTargets = 'All versions';
  RsCannotOpen = 'Cannot open %s';
  RsReadReadmeForXPThemingInfo = 'Please read the readme.htm for details about XP theming with Delphi/C++Builder 5 and 6.'#10 +
              'Do you want to open readme.htm ?';
  RsErrorOpeningReadmeHTM = 'Cannot open file readme.htm';
  RsEditJvclInc = 'Edit jvcl%s%d.inc';
  RsEditJvclIncAll = 'Edit jvcl.inc';
  RsEditJvclIncAllError = 'Options can only be set for a single target, please select a target from the drop down list first.';
  RsJVCLConfigurationError = 'The jvcl.inc files are corrupted.';

const
  SInstallHTM = 'help\install.htm'; // do not localize
  SBCBGuideAnchor = 'AddJVCLPathToBCB'; // do not localize
  SReadmeHTM = 'readme.htm'; // do not localize

 // PgIDESelection.pas
resourcestring
  RsSelectionPageTitle = 'Choose IDE targets';
  RsSelectionPageSubTitleInstall = 'Select all target IDEs where the JVCL should be installed';
  RsSelectionPageSubTitleUpdate = 'Select all target IDEs where the JVCL should be updated';
  RsSelectionPageSubTitleUninstall = 'Select all target IDEs from which the JVCL should be uninstalled';

  RsErrorInstallingJCL = 'Cannot start the JCL Installer.';
  RsDelphiBCBUpdateRequired = 'Delphi/C++Builder update not installed';
  RsDownloadUpdatesFrom = 'Download from';
  RsJCLVersionRequired = 'JCL %s or higher not installed';
  RsDownloadOrSelectJclDir = 'Download the JCL, close the JVCL Installer and install the JCL before restarting the JVCL Installer.|' +
    'http://homepages.borland.com/jedi/jcl/'; // http://jcl.sourceforge.net
  RsInstalledJVCLVersion = 'Installed JVCL version: %s';
  RsInstallJCL = 'Install JCL';
//  RsNoJclVersionFound = 'No JCL %s found.';

//  RsJCLDirectoryCaption = '&JCL directory:';
  RsDeleteJVCLFilesCaption = '&Delete JVCL files (dcu,bpl,dcp, obj,bpi,lib,tds)';
//  RsJCLDirectorySelectionBtnHint = 'Select JCL %s installation directory...';

  RsUpdateData = '&Reload';
  RsEvaluationVersion = 'Evaluation version is not supported';

 // Main.pas
resourcestring
  RsBtnInstall = '&Install';
  RsBtnUninstall = '&Uninstall';
  RsNoPackageInstaller = 'Application error. No PackageInstaller created.';
  RsCancelInstallation = 'Do you really want to cancel the installation?';

const
  RsJediHomepage = 'http://projectjedi.sourceforge.net'; // do not localize
  RsJVCLHomepage = 'http://jvcl.sourceforge.net'; // do not localize


implementation

end.
