pkgmessages.pp 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. {
  2. This file is part of the fppkg package manager
  3. Copyright (c) 1999-2022 by the Free Pascal development team
  4. See the file COPYING.FPC, included in this distribution,
  5. for details about the copyright.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. **********************************************************************}
  10. unit pkgmessages;
  11. {$mode objfpc}{$H+}
  12. interface
  13. Resourcestring
  14. SError = 'Error: ';
  15. SWarning = 'Warning: ';
  16. SDebug = 'Debug: ';
  17. SProgress = 'Progress: ';
  18. SInfo = 'Info: ';
  19. SCommand = 'Command: ';
  20. SErrInValidArgument = 'Invalid command-line argument at position %d : %s';
  21. SErrNeedArgument = 'Option at position %d (%s) needs an argument';
  22. SErrMissingFPC = 'Could not find a fpc executable in the PATH';
  23. SErrInvalidFPCInfo = 'Compiler returns invalid information, check if fpc -iV works';
  24. SErrMissingFPMake = 'Missing configuration fpmake.pp';
  25. SErrMissingMakefilefpc = 'Missing configuration Makefile.fpc';
  26. SErrMissingDirectory = 'Missing directory "%s"';
  27. SErrMissingCompilerConfig = 'Could not find compiler configuration "%s"';
  28. SErrMissingInstallPackage = 'Package "%s" is not installed';
  29. SErrMissingAvailablePackage= 'Package "%s" is not available';
  30. SErrMissingPackage = 'Could not find package "%s"';
  31. SErrMissingInstallRepo = 'Could not find repository "%s"';
  32. SErrNoPackageSpecified = 'No package specified';
  33. SErrPackageNotAvailable = 'Source of package %s is not available';
  34. SErrNoPackageAvailable = 'Package dependency %s %s is not available';
  35. SErrOnlyLocalDir = 'The specified command "%s" works only on current dir, not on a (remote) package';
  36. SErrIllConfRepository = 'Invalid configured repository "%s"';
  37. SErrExecutionFPMake = 'Execution of FPMake %s failed';
  38. SErrException = 'The FPC Package tool encountered the following error:';
  39. SErrActionAlreadyRegistered= 'Action "%s" is already registered';
  40. SErrActionNotFound = 'Action "%s" is not supported';
  41. SErrCompileFailureFPMake = 'Could not compile fpmake driver program';
  42. SErrCompileFailureFPMakeTryRecovery = 'Could not compile fpmake driver program, try adding "--recovery"';
  43. SErrNoFTPDownload = 'This binary has no support for FTP downloads.';
  44. SErrNoHTTPDownload = 'This binary has no support for HTTP downloads.';
  45. SErrBackupFailed = 'Backup of file "%s" to file "%s" failed.';
  46. SErrUnknownProtocol = 'Unknown download protocol "%s" in url "%s"';
  47. SErrNoSuchFile = 'File "%s" does not exist.';
  48. SErrDownloadFailed = '%s Download of "%s" failed: %s';
  49. SErrDownloadPackageFailed = 'Download of package failed.';
  50. SErrInvalidLogLevels = 'Invalid verbosity string: "%s"';
  51. SErrInvalidCommand = 'Invalid command: %s';
  52. SErrChangeDirFailed = 'Could not change directory to "%s"';
  53. SErrCorruptPackagesFile = 'Packages file "%s" is corrupt, delete file manual and retry';
  54. SErrCorruptMirrorsFile = 'Mirrors file "%s" is corrupt, delete file manual and retry';
  55. SErrPackageIsLocal = 'Operation not supported for local packages';
  56. SErrConvertFPMakeExists = 'Found existing fpmake.pp, aborting conversion';
  57. SErrFailedToSelectMirror = 'Could not select a mirror, run update and retry';
  58. SErrUnsupportedConfigVersion = 'Configuration file is too old, delete file manual and retry';
  59. SErrPackageDoesNotSupportTarget = 'Package %s does not support %s';
  60. SErrHTTPGetFailed = 'HTTP Download failed.';
  61. SErrLoginFailed = 'FTP LOGIN command failed.';
  62. SErrCWDFailed = 'FTP CWD "%s" command failed.';
  63. SErrGETFailed = 'FTP GET "%s" command failed.';
  64. SErrBrokenPackagesFound = 'Found broken packages, run "fppkg fixbroken" first';
  65. SErrManifestNoSinglePackage = 'Manifest file "%s" does not contain exactly one package';
  66. SErrCannotModifyRepository = 'The repository of an TFPPackages-instance can not be changed.';
  67. SErrRepositoryNotAssigned = 'Repository not assigned';
  68. SErrInstallationImpossible = 'It is not possible to install the package "%s" in repository "%s".';
  69. SErrNoInstallRepoAvailable = 'There are no repositories configured to install packages into';
  70. SLogGeneratingFPMake = 'Generating fpmake.pp';
  71. SLogNotCompilingFPMake = 'Skipping compiling of fpmake.pp, fpmake executable already exists';
  72. SLogCommandLineAction = 'Adding action from commandline: "%s %s"';
  73. SLogRunAction = 'Action: "%s"';
  74. SLogExecute = 'Executing: "%s %s"';
  75. SLogChangeDir = 'CurrentDir: "%s"';
  76. SLogDownloading = 'Downloading "%s" to "%s"';
  77. SLogUnzippping = 'Unzipping "%s"';
  78. SLogZippping = 'Zipping "%s"';
  79. SLogLoadingGlobalConfig = 'Loaded global configuration from "%s"';
  80. SLogLoadingCompilerConfig = 'Loading compiler configuration from "%s"';
  81. SLogLoadingFPMakeCompilerConfig = 'Loading compiler configuration for fpmake building from "%s"';
  82. SLogGeneratingGlobalConfig = 'Generating default global configuration in "%s"';
  83. SLogDetectedCompiler = 'Detected compiler "%s" (version %s for %s)';
  84. SLogDetectedPrefix = 'Detected %s prefix "%s"';
  85. SLogFPCDirEnv = 'FPCDIR from environment setting "%s"';
  86. SLogGeneratingCompilerConfig = 'Generating default compiler configuration in "%s"';
  87. SLogLoadingPackagesFile = 'Loading available packages from "%s"';
  88. SLogLoadingMirrorsFile = 'Loading available mirrors from "%s"';
  89. SLogFindInstalledPackages = 'Searching for installed packages in "%s"';
  90. SLogFoundPackageInFile = 'Found package "%s" in file "%s"';
  91. SLogFailedLoadingPackage = 'Failed to load package "%s" in file "%s". Package is skipped. Message: %s';
  92. SLogFoundFPMakeAddin = 'Found FPMake-AddIn "%s"';
  93. SLogUpdateFPMakeAddin = 'FPMake-AddIn "%s" updated';
  94. SLogSavingStatusFile = 'Saving local status to "%s"';
  95. SLogFPMKUnitDepVersion = 'Checking for %s %s, installed %s, available %s';
  96. SLogFPMKUnitDepTooOld = 'Minimum version of %s is not installed, using internal fpmkunit with limited functionality';
  97. SLogSelectedMirror = 'Selected mirror "%s"';
  98. SLogStartLoadingConfFile = 'Start loading configuration file "%s"';
  99. SLogUpgradingConfig = 'Configuration file "%s" is updated with new configuration settings';
  100. SLogOldConfigFileFormat = 'Configuration file is in an old format';
  101. SLogPackageDependency = 'Dependency on package %s %s, installed %s, available %s (%s)';
  102. SLogPackageChecksumChanged = 'Package %s (%s) needs to be rebuild, dependency %s (%s) is modified';
  103. SLogPackageDepBroken = 'Package %s (%s) needs to be rebuild, dependency %s (%s) is broken';
  104. SLogCheckBrokenDependenvies= 'Checking for broken dependencies';
  105. SLogFailedToCreateManifest = 'Failed to create manifest from fpmake.pp-file (%s) while scanning for available packages: %s';
  106. SLogUseInternalFpmkunit = 'Fpmkunit not available, fallback to internal version.';
  107. SLogDetermineInstallRepo = 'Determine in which repository package "%s" has to be installed';
  108. SLogUseCommandLineRepo = 'Use repository "%s" provided on the command-line';
  109. SLogUseSourceRepoInstRepo = 'Use the installation repository "%s" which is coupled to the source repository "%s"';
  110. SLogUseConfigurationRepo = 'Use repository "%s" provided in the configuration files';
  111. SLogUseLastRepo = 'Use the last repository "%s"';
  112. SLogCfgHeader = 'Settings from configuration-files:';
  113. SLogCfgSectionHeader = ' %s-section:';
  114. SLogGlobalCfgRemoteMirrorsURL = ' RemoteMirrorsURL: %s';
  115. SLogGlobalCfgRemoteRepository = ' RemoteRepository: %s';
  116. SLogGlobalCfgLocalRepository = ' LocalRepository: "%s" -> "%s"';
  117. SLogGlobalCfgBuildDir = ' BuildDir: "%s" -> "%s"';
  118. SLogGlobalCfgArchivesDir = ' ArchivesDir: "%s" -> "%s"';
  119. SLogGlobalCfgCompilerConfigDir = ' CompilerConfigDir: "%s" -> "%s"';
  120. SLogGlobalCfgDefaultCompilerConfig = ' DefaultCompilerConfig: "%s"';
  121. SLogGlobalCfgFPMakeCompilerConfig = ' FPMakeCompilerConfig: "%s"';
  122. SLogGlobalCfgDownloader = ' Downloader: %s';
  123. SLogCompilerCfgHeader = 'Using %scompiler configuration file "%s":';
  124. SLogCompilerCfgCompiler = ' Compiler: "%s"';
  125. SLogCompilerCfgTarget = ' Target: %s';
  126. SLogCompilerCfgOptions = ' Options: "%s"';
  127. SLogCompilerCfgVersion = ' Version: %s';
  128. SLogCompilerCfgGlobalInstallDir = ' GlobalInstallDir: "%s" -> "%S"';
  129. SLogCompilerCfgLocalInstallDir = ' LocalInstallDir: "%s" -> "%s"';
  130. SLogCompilerCfgGlobalPrefix = ' GlobalPrefix: "%s" -> "%s"';
  131. SLogCompilerCfgLocalPrefix = ' LocalPrefix: "%s" -> "%s"';
  132. SLogRepositoryName = ' Name: %s';
  133. SLogRepositoryDescription = ' Description: "%s"';
  134. SLogRepositoryPath = ' Dir: "%s" -> "%s"';
  135. SLogRepositoryPrefix = ' Prefix: "%s" -> "%s"';
  136. SLogInstallRepository = ' InstallRepository:"%s"';
  137. SLogIncludeFile = ' IncludeFile: "%s" -> "\%s"';
  138. SLogIncludeFileMask = ' IncludeFileMask: "%s" -> "\%s"';
  139. SLogIncludeFileDoesNotExist = 'The log-file "%s" does not exist';
  140. SLogIncludeFileMaskDoesNotExist = 'The directory "%s" of the include-mask "%s" does not exist';
  141. SLogPackageInfoName = 'Package: %s';
  142. SLogPackageInfoVersion = 'Version: %s';
  143. SLogPackageInfoAuthor = 'Author: %s %s';
  144. SLogPackageInfoCategory = 'Category: %s';
  145. SLogPackageInfoLicense = 'License: %s';
  146. SLogPackageInfoWebsite = 'Website: %s';
  147. SLogPackageInfoOSes = 'Supported OSes: %s';
  148. SLogPackageInfoCPUs = 'Supported CPUs: %s';
  149. SLogPackageInfoDescription1 = 'Description:';
  150. SLogPackageInfoDescription2 = '%s';
  151. SLogPackageInfoDependencies1 = 'Dependencies:';
  152. SLogPackageInfoDependencies2 = ' %s %s';
  153. SDbgFound = 'Found';
  154. SDbgNotFound = 'Not Found';
  155. SDbgDirectoryExists = 'Directory "%s" %s';
  156. SDbgFileExists = 'File "%s" %s';
  157. SDbgBackupFile = 'Creating Backup File "%s"';
  158. SDbgPackageMultipleLocations = 'Multiple installations found for package %s, using installation "%s"';
  159. SDbgPackageDependencyOtherTarget = 'Dependency on package %s is not for %s';
  160. SDbgPackageDepOtherTarget = 'Package %s is not for %s, skipping it''s dependencies';
  161. SDbgObsoleteDependency = 'Package %s depends on package %s which is not installed anymore';
  162. SDbgForcePackageInstall = 'Installation of package "%s" forced';
  163. SDbgPackageInstallRequired = 'Installation of package "%s" required for repository "%s"';
  164. SWarnBrokenAfterReinstall = 'Package %s is still broken, even after re-installation. (%s)';
  165. SWarnFailedToWriteCompConf = 'Failed to write compiler-configuration file "%s": %s';
  166. SProgrReinstallDependent = 'Re-install packages which are dependent on just installed packages';
  167. SProgrInstallDependencies = 'Install dependencies';
  168. SProgrDependenciesInstalled= 'Dependencies installed';
  169. SProgrDownloadPackage = 'Downloading package %s version %s';
  170. SInfoPackageDepBroken = 'dependency %s in the %s repository is broken';
  171. SInfoPackageChecksumChanged= 'dependency %s in the %s repository is modified';
  172. SInfoObsoleteDependency = 'depends on package %s which is not installed anymore';
  173. implementation
  174. end.