Closed Bug 439294 Opened 16 years ago Closed 7 years ago

format must be localizable

Categories

(Core :: XPConnect, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: timeless, Unassigned)

References

()

Details

(Keywords: l12y)

static const char format[] = "\'%s\' when calling method: [%s::%s]"; qa: this is a code bug (quite possibly a duplicate although i couldn't find a report), there could be tests written, and you're welcome to write them, however the most basic verification is this: does the code path referenced in the url work the same after the bug is fixed? if this bug is fixed, then the code referenced (specifically any format arrays) will be fallback cases and the default path will be through some localizable file. to people actually doing localization testing: afaik, the only localization support xpconnect itself has is xpc.msg (which iirc isn't actually localized by anyone..., so yes, this is a joke of a bug, but that's not our fault - iow, don't expect the string to suddenly appear in another language). note to anyone considering implementing this: people would like the filename and line number to appear in the flattened message string
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.