Hi JSON. I'll continue looking into your issues with the minimessage library and get back to you soon.
Regarding your second problem, the message syntax __MSG_key__ is really only intended for static strings, i.e. those not added via JavaScript. If you want to use this substitution in JavaScript, use a new gadgets.Prefs instance instead. I did a quick test and your strings appeared as expected. Here's an example snippet: ---------- var html = []; var prefs = new gadgets.Prefs(); html.push('<a href="'); html.push(prefs.getMsg('commlink')); html.push('">'); html.push(prefs.getMsg('Join')); html.push('</a>'); document.getElementById("faq").innerHTML = html.join(''); ---------- - Jason On Nov 24, 7:42 am, JSON <[EMAIL PROTECTED]> wrote: > Our app iFan:http://www.orkut.com/Application.aspx?appId=928144150139 > > was working fine for last 2 months. > > Over the weekend, the Dismissible Message function started throwing an > error and crashing the app: > > original function call: var mini = new gadgets.MiniMessage > (__MODULE_ID__) > Error: __MODULE_ID__ not defined. > > We replaced the __MODULE_ID__ and the new function call removed the > error and the app started working but dismissible messages stopped > working > new function call: var mini = new gadgets.MiniMessage() > > That's one error. Also, the localization strings stopped working. Some > of the strings are being picked up from the localization files > properly but most are not. > > I am giving a complete chronology so somebody can help us debug the > problem. > > thanks, > ~ JSON --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---