format must be localizable

RESOLVED INACTIVE

Status

()

Core
XPConnect
--
enhancement
RESOLVED INACTIVE
10 years ago
27 days ago

People

(Reporter: timeless, Unassigned)

Tracking

({l12y})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
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

Comment 1

27 days ago
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
Last Resolved: 27 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.