Open Bug 764485 Opened 12 years ago Updated 2 years ago

"Image corrupt or truncated" in Error Console is hardcoded (not l10n-friendly)

Categories

(Core :: Graphics: ImageLib, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

Details

While trying to reproduce bug 763593, I ran across a few instances of "Error: Image corrupt or truncated" in my Error Console. That's currently a hardcoded non-localized string, defined in C++ here: > 105 nsAutoString msg(NS_LITERAL_STRING("Image corrupt or truncated: ") + > 106 NS_ConvertASCIItoUTF16(mImage.GetURIString())); https://mxr.mozilla.org/mozilla-central/source/image/src/Decoder.cpp#105 We want that string to be localizeable, I imagine.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.