Closed
Bug 178881
Opened 22 years ago
Closed 21 years ago
nsNSSCertificate.cpp contains two non-localizable hardcoded strings
Categories
(Core Graveyard :: Security: UI, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KaiE, Assigned: jgmyers)
References
Details
Attachments
(1 file)
3.00 KB,
patch
|
ssaux
:
review+
blizzard
:
superreview+
|
Details | Diff | Splinter Review |
NS_IMETHODIMP
nsNSSCertificate::GetNickname(nsAString &_nickname)
{
if (isAlreadyShutDown())
return NS_ERROR_NOT_AVAILABLE;
const char *nickname = (mCert->nickname) ? mCert->nickname : "(no nickname)";
_nickname = NS_ConvertUTF8toUCS2(nickname);
return NS_OK;
}
NS_IMETHODIMP
nsNSSCertificate::GetEmailAddress(nsAString &_emailAddress)
{
if (isAlreadyShutDown())
return NS_ERROR_NOT_AVAILABLE;
const char *email = (mCert->emailAddr) ? mCert->emailAddr : "(no email address)";
_emailAddress = NS_ConvertUTF8toUCS2(email);
return NS_OK;
}
The hardcoded strings should get moved to a string bundle.
Updated•22 years ago
|
Assignee | ||
Comment 1•21 years ago
|
||
*** Bug 191378 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 2•21 years ago
|
||
*** Bug 200639 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•21 years ago
|
Assignee: ssaux → jgmyers
Assignee | ||
Comment 3•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #142316 -
Flags: review?(ssaux)
Updated•21 years ago
|
Attachment #142316 -
Flags: review?(ssaux) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #142316 -
Flags: superreview?(blizzard)
Comment 4•21 years ago
|
||
Comment on attachment 142316 [details] [diff] [review]
Proposed fix
sr=blizzard
Attachment #142316 -
Flags: superreview?(blizzard) → superreview+
Assignee | ||
Updated•21 years ago
|
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•