What steps will reproduce the problem?
- Use translate as a function thus:
jQuery.translate(descValue,"en",lang, {
complete:
function(translation){document.getElementById("desc").innerHTML = translation}
});
Where descValue is a String containing the text to be translated, and desc
is a div that will contain the translated text...
What is the expected output? What do you see instead?
The script runs fine (although I haven't tested using more than 500
characters), and the translated text is showed in the DIV, but in firefox3
I see this error in my error console EVERY time I call the translate
function...
What version of the product are you using? On what operating system?
jquery.translate-1.1.1
FireFox 3
Windows VISTA Home Premium
Original issue reported on code.google.com by davc...@gmail.com on 8 Aug 2008 at 11:49
Original issue reported on code.google.com by
davc...@gmail.com
on 8 Aug 2008 at 11:49