From 4470fb65f32ce6e4c97e2f89a63d22ec36483c13 Mon Sep 17 00:00:00 2001
From: yami <34216515+kn-yami@users.noreply.github.com>
Date: Sun, 22 Jul 2018 15:29:06 +0200
Subject: [PATCH] replace "certErrorCodePrefix2" with "certErrorCodePrefix"
---
security/manager/locales/en-US/chrome/pipnss/pipnss.properties | 3 +--
security/manager/ssl/TransportSecurityInfo.cpp | 2 +-
security/manager/ssl/nsNSSErrors.cpp | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/security/manager/locales/en-US/chrome/pipnss/pipnss.properties b/security/manager/locales/en-US/chrome/pipnss/pipnss.properties
index 9c732ce9de..23d7a323ca 100644
--- a/security/manager/locales/en-US/chrome/pipnss/pipnss.properties
+++ b/security/manager/locales/en-US/chrome/pipnss/pipnss.properties
@@ -279,8 +279,7 @@ certErrorExpiredNow=The certificate expired on %1$S. The current time is %2$S.
# LOCALIZATION NOTE (certErrorNotYetValidNow): Do not translate %1$S (date+time certificate will become valid) or %2$S (current date+time)
certErrorNotYetValidNow=The certificate will not be valid until %1$S. The current time is %2$S.
-# LOCALIZATION NOTE (certErrorCodePrefix2): Do not translate %1$S
-certErrorCodePrefix2=Error code: %1$S
+certErrorCodePrefix=(Error code: %S)
P12DefaultNickname=Imported Certificate
CertUnknown=Unknown
diff --git a/security/manager/ssl/TransportSecurityInfo.cpp b/security/manager/ssl/TransportSecurityInfo.cpp
index fe39f40171..0e2238ad02 100644
--- a/security/manager/ssl/TransportSecurityInfo.cpp
+++ b/security/manager/ssl/TransportSecurityInfo.cpp
@@ -854,7 +854,7 @@ AppendErrorTextCode(PRErrorCode errorCodeToReport,
nsString formattedString;
nsresult rv;
- rv = component->PIPBundleFormatStringFromName("certErrorCodePrefix2",
+ rv = component->PIPBundleFormatStringFromName("certErrorCodePrefix",
params, 1,
formattedString);
if (NS_SUCCEEDED(rv)) {
diff --git a/security/manager/ssl/nsNSSErrors.cpp b/security/manager/ssl/nsNSSErrors.cpp
index fc8bd3e318..1613eb4e7a 100644
--- a/security/manager/ssl/nsNSSErrors.cpp
+++ b/security/manager/ssl/nsNSSErrors.cpp
@@ -84,7 +84,7 @@ nsNSSErrors::getErrorMessageFromCode(PRErrorCode err,
params[0] = idU.get();
nsString formattedString;
- rv = component->PIPBundleFormatStringFromName("certErrorCodePrefix2",
+ rv = component->PIPBundleFormatStringFromName("certErrorCodePrefix",
params, 1,
formattedString);
if (NS_SUCCEEDED(rv)) {