Просмотр исходного кода

Tweak KeyNotFound message: 'incorrect key ID' makes sense for the tool since it works with a single key but the Compiler and Setup can have multiple.

Martijn Laan 4 месяцев назад
Родитель
Сommit
d2c69470f6
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      Projects/Src/Compiler.Messages.pas
  2. 1 1
      Projects/Src/Setup.Install.pas

+ 1 - 1
Projects/Src/Compiler.Messages.pas

@@ -87,7 +87,7 @@ const
   SCompilerSourceFileISSigMissingFile = 'Signature file does not exist for source file "%s"';
   SCompilerSourceFileISSigInvalidSignature = 'Signature is not valid for source file "%s": %s';
   SCompilerSourceFileISSigMalformedOrBadSignature = 'malformed or bad signature';
-  SCompilerSourceFileISSigKeyNotFound = 'incorrect key ID';
+  SCompilerSourceFileISSigKeyNotFound = 'no matching key found';
   SCompilerSourceFileISSigUnknownVerifyResult = 'unknown verify result';
   SCompilerSourceFileISSigFileSizeIncorrect = 'file size incorrect';
   SCompilerSourceFileISSigFileHashIncorrect = 'file hash incorrect';

+ 1 - 1
Projects/Src/Setup.Install.pas

@@ -264,7 +264,7 @@ procedure CopySourceFileToDestFile(const SourceF, DestF: TFile; const ISSigVerif
 const
   ISSigMissingFile = 'Signature file does not exist';
   ISSigMalformedOrBadSignature = 'Malformed or bad signature';
-  ISSigKeyNotFound = 'Incorrect key ID';
+  ISSigKeyNotFound = 'No matching key found';
   ISSigUnknownVerifyResult  = 'Unknown verify result';
   ISSigFileSizeIncorrect = 'File size incorrect';
   ISSigFileHashIncorrect = 'File hash incorrect';