From 871088f100b5c0c222dfbb21919e068745372b98 Mon Sep 17 00:00:00 2001 From: Landon Fuller Date: Thu, 3 May 2007 17:43:38 +0000 Subject: [PATCH] These encryption error strings are localizable git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4687 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/lib/crypto.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bacula/src/lib/crypto.c b/bacula/src/lib/crypto.c index 2dc1b9a208..b51ad97aea 100644 --- a/bacula/src/lib/crypto.c +++ b/bacula/src/lib/crypto.c @@ -1632,23 +1632,23 @@ crypto_digest_t crypto_digest_stream_type (int stream) { const char *crypto_strerror(crypto_error_t error) { switch (error) { case CRYPTO_ERROR_NONE: - return "No error"; + return _("No error"); case CRYPTO_ERROR_NOSIGNER: - return "Signer not found"; + return _("Signer not found"); case CRYPTO_ERROR_NORECIPIENT: - return "Recipient not found"; + return _("Recipient not found"); case CRYPTO_ERROR_INVALID_DIGEST: - return "Unsupported digest algorithm"; + return _("Unsupported digest algorithm"); case CRYPTO_ERROR_INVALID_CRYPTO: - return "Unsupported encryption algorithm"; + return _("Unsupported encryption algorithm"); case CRYPTO_ERROR_BAD_SIGNATURE: - return "Signature is invalid"; + return _("Signature is invalid"); case CRYPTO_ERROR_DECRYPTION: - return "Decryption error"; + return _("Decryption error"); case CRYPTO_ERROR_INTERNAL: /* This shouldn't happen */ - return "Internal error"; + return _("Internal error"); default: - return "Unknown error"; + return _("Unknown error"); } } -- 2.39.5