[Greasemonkey] locale updated against HEAD
Valentin Laube
valentin.laube at gmx.net
Wed Jan 11 14:22:23 EST 2006
chris feldmann wrote:
> And thank you for catching that missing DOCTYPE. Looks like I missed
> one more thing moving from 0.6.4:
>
> Index: loc/chrome/chromeFiles/content/utils.js
> ===================================================================
> RCS file: /cvs/greasemonkey/src/chrome/chromeFiles/content/utils.js,v
> retrieving revision 1.3
> diff -d -r1.3 utils.js
> 55c55
> < filePicker.init(win, "Find Text Editor", nsIFilePicker.modeOpen);
> ---
>
> > filePicker.init(win, win.document.getElementById('gm-manage-bundle').getString('editor.prompt'), nsIFilePicker.modeOpen);
This doesn't work if you call "New User Script" from the "Tools" menu
because "win" isn't the manage dialog and therefore has no
"gm-manage-bundle" element.
Another thing you missed:
The title of the manage dialog is still hardcoded and cannot be translated.
- Valentin Laube
More information about the Greasemonkey
mailing list