From ca892a550efc4eec78a8eea51117bbb1b287f12a Mon Sep 17 00:00:00 2001 From: "javi%netscape.com" Date: Wed, 1 Aug 2001 23:13:26 +0000 Subject: [PATCH] Fix for Bug 84151 Checking in for Kai Engert r=ssaux,ddrinan sr=blizzard Add some text for the case where a cert doesn't have the appropriate text for us to present to the user. git-svn-id: svn://10.0.0.236/trunk@100130 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/manager/pki/resources/content/downloadcert.js | 3 +++ .../manager/pki/resources/locale/en-US/pippki.properties | 1 + 2 files changed, 4 insertions(+) diff --git a/mozilla/security/manager/pki/resources/content/downloadcert.js b/mozilla/security/manager/pki/resources/content/downloadcert.js index 39ebaeca001..60f102eb306 100644 --- a/mozilla/security/manager/pki/resources/content/downloadcert.js +++ b/mozilla/security/manager/pki/resources/content/downloadcert.js @@ -33,6 +33,9 @@ function onLoad() var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties"); + if (!caName.length) + caName = bundle.GetStringFromName("unnamedCA"); + var message2 = bundle.formatStringFromName("newCAMessage1", [ caName ], 1); diff --git a/mozilla/security/manager/pki/resources/locale/en-US/pippki.properties b/mozilla/security/manager/pki/resources/locale/en-US/pippki.properties index c1530406544..11bfc8deca1 100644 --- a/mozilla/security/manager/pki/resources/locale/en-US/pippki.properties +++ b/mozilla/security/manager/pki/resources/locale/en-US/pippki.properties @@ -25,6 +25,7 @@ CertPassPrompt=Please enter the Personal Security Password for the PSM Private K #These are for dialogs #Download Cert dialog newCAMessage1=Do you want to trust "%S" for the following purposes? +unnamedCA=Certificate Authority (unnamed) #For editing cert trust editTrustWindowTitle=Edit certificate trust