Closed Bug 665992 Opened 13 years ago Closed 13 years ago

detectflash.js recent code update breaks localization

Categories

(www.mozilla.org :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pascalc, Unassigned)

Details

Attachments

(1 file)

Attached image Screenshot of the bug
The detectflash.js library used on whatsnew pages was recently updated with code from mozilla.jp in r90331 and that update broke the dynamic localization of the strings, the flash warning message is now displayed in English instead of being in the page language. See screenshot.
This is because the global variables FlashAlertTitle and  FlashAlertText which are of global scope and set outside of the library or now reset to local variable in the library. r91116 fixes that
fixed on trunk
https://www-trunk.stage.mozilla.com/it/firefox/3.6.18/whatsnew
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: