Localize "The update is improperly signed."

#294
This commit is contained in:
Kornel Lesiński committed 2014-07-01 02:13:24 +01:00
1 parent 2acc9114e4
commit b26bfeba0e
2 files changed
+7 -1

No files matched your search

+5 -1
View File
@@ -292,7 +292,11 @@
{
if (![self validateUpdateDownloadedToPath:downloadPath extractedToPath:tempDir DSASignature:[updateItem DSASignature] publicDSAKey:[host publicDSAKey]])
{
[self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUSignatureError userInfo:@{NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), NSLocalizedFailureReasonErrorKey: @"The update is improperly signed."}]];
NSDictionary *userInfo = @{
NSLocalizedDescriptionKey: SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil),
NSLocalizedFailureReasonErrorKey: SULocalizedString(@"The update is improperly signed.", nil),
};
[self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SUSignatureError userInfo:userInfo]];
return;
}
+2
View File
@@ -73,3 +73,5 @@
without a download but with a URL. */
"Learn More..." = "En savoir plus…";
"The update is improperly signed." = "La signature numérique de la mise à jour est incorrecte";