diff options
author | yami <34216515+kn-yami@users.noreply.github.com> | 2018-07-22 15:29:06 +0200 |
---|---|---|
committer | yami <34216515+kn-yami@users.noreply.github.com> | 2018-07-22 15:29:06 +0200 |
commit | bdcae58fa6d4e96eddf1b115f58a4ff53446f78f (patch) | |
tree | 10f503587c467c6a0bdcd95b80c68fa84297813f | |
parent | 14c53fcf71dbcae1472b4713817ac3851cd22b77 (diff) | |
download | UXP-bdcae58fa6d4e96eddf1b115f58a4ff53446f78f.tar UXP-bdcae58fa6d4e96eddf1b115f58a4ff53446f78f.tar.gz UXP-bdcae58fa6d4e96eddf1b115f58a4ff53446f78f.tar.lz UXP-bdcae58fa6d4e96eddf1b115f58a4ff53446f78f.tar.xz UXP-bdcae58fa6d4e96eddf1b115f58a4ff53446f78f.zip |
replace "certErrorCodePrefix2" with "certErrorCodePrefix"
-rwxr-xr-x | security/manager/locales/en-US/chrome/pipnss/pipnss.properties | 3 | ||||
-rw-r--r-- | security/manager/ssl/TransportSecurityInfo.cpp | 2 | ||||
-rw-r--r-- | 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 9c732ce9d..23d7a323c 100755 --- 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 <a id="errorCode" title="%1$S">%1$S</a> -certErrorCodePrefix2=Error code: <a id="errorCode" title="%1$S">%1$S</a> +certErrorCodePrefix=(Error code: %S) P12DefaultNickname=Imported Certificate CertUnknown=Unknown diff --git a/security/manager/ssl/TransportSecurityInfo.cpp b/security/manager/ssl/TransportSecurityInfo.cpp index fe39f4017..0e2238ad0 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 fc8bd3e31..1613eb4e7 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)) { |