diff --git a/security/manager/pki/resources/content/downloadcert.js b/security/manager/pki/resources/content/downloadcert.js index 39ebaeca0016..60f102eb3065 100644 --- a/security/manager/pki/resources/content/downloadcert.js +++ b/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/security/manager/pki/resources/locale/en-US/pippki.properties b/security/manager/pki/resources/locale/en-US/pippki.properties index c15304065446..11bfc8deca1c 100644 --- a/security/manager/pki/resources/locale/en-US/pippki.properties +++ b/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