[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [PATCH] Fix a message in kpgpbase.cpp
From: Ingo =?iso-8859-1?q?Kl=F6cker?= <ingo.kloecker () epost ! de>
Date: 2001-07-24 17:42:42
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If one uses GnuPG and receives an encrypted message which one cannot
decrypt because of the lack of the corresponding secret key, KMail said
i18n("Do not have the public key for this message").
This is obviously wrong and was already corrected some time ago in the
PGP code. Oddly enough, it wasn't fixed in the GnuPG specific code.
The patch below fixes the message also for the GnuPG code. Please note
that this patch doesn't affect the translation (and thus doesn't
violate the message freeze) because the same (correct) message appears
also in the PGP code and was already translated. I checked that it
works with the german translation.
Regards,
Ingo
- --------------------
Index: kpgpbase.cpp
===================================================================
RCS file: /home/kde/kdenetwork/libkdenetwork/kpgpbase.cpp,v
retrieving revision 1.13
diff -u -3 -p -r1.13 kpgpbase.cpp
--- kpgpbase.cpp 2001/07/22 21:26:22 1.13
+++ kpgpbase.cpp 2001/07/24 17:25:31
@@ -672,8 +672,8 @@ KpgpBaseG::decrypt(const char *passphras
// no secret key fitting this message
status |= NO_SEC_KEY;
status |= ERROR;
- errMsg = i18n("Do not have the public key for this message");
- kdDebug(5100) << "KpgpBase: no public key for this message" << endl;
+ errMsg = i18n("Do not have the secret key for this message");
+ kdDebug(5100) << "KpgpBase: no secret key for this message" << endl;
}
// check for persons
index = info.find("can only be read by:");
- --------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7XbOWGnR+RTDgudgRAqUeAJ4zlm5b5DUWDkgQq915pS2vRGOoPACeOZOO
auuwekfo1QdAWu/rT4guewg=
=FtMj
-----END PGP SIGNATURE-----
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic