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)

1.0 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KaiE, Assigned: jgmyers)

References

Details

Attachments

(1 file)

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.
Keywords: nsbeta1
Priority: -- → P3
Version: unspecified → 2.4
*** Bug 191378 has been marked as a duplicate of this bug. ***
*** Bug 200639 has been marked as a duplicate of this bug. ***
Assignee: ssaux → jgmyers
Attached patch Proposed fixSplinter Review
Attachment #142316 - Flags: review?(ssaux)
Attachment #142316 - Flags: review?(ssaux) → review+
Attachment #142316 - Flags: superreview?(blizzard)
Comment on attachment 142316 [details] [diff] [review] Proposed fix sr=blizzard
Attachment #142316 - Flags: superreview?(blizzard) → superreview+
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: PSM → Core
Version: psm2.4 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: