Closed Bug 453248 Opened 16 years ago Closed 10 years ago

[RFE] Pass the current locale as argument to test function on filter.py

Categories

(Mozilla Localizations :: Infrastructure, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: asrail, Assigned: asrail)

References

Details

Attachments

(1 file)

Attached patch Proposed patchSplinter Review
SeaMonkey depends on venkman and chatzilla to make a fully localized build.
Since not all of the locales have venkman or chatzilla translated, the all-locales for SeaMonkey is different from venkman and chatzilla.

To make it possible to check for venkman and chatzilla strings only when they're present on its own all-locales, the SeaMonkey's "test" function on filter.py have to know about the current locale.

The patch for compare-locales is trivial. The down side is that every filter.py around would have to be altered to add new parameter. Even though this change is also trivial.

There is an use case attached to bug 403993.
Attachment #336429 - Flags: review?(l10n)
Is this still needed?
Attachment #336429 - Flags: review?(l10n) → review-
Comment on attachment 336429 [details] [diff] [review]
Proposed patch

r-, as this doesn't seem to be needed. Rerequest if the need comes up again.
The solution to bug 403993 made this bug invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: