rem: var bundle = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService() .QueryInterface(Components.interfaces.nsIStringBundleService) .createBundle("chrome: var dialogTitle = bundle.GetStringFromName("RoamingErrorTitle"); 
add: var bundle = document.getElementById("bundle_roaming_prefs"); var dialogTitle = bundle.getString("RoamingErrorTitle"); 
context:   showError : function(prop, val, tech)  {    try    {      var bundle = Components.classes["@mozilla.org/intl/stringbundle;1"]                  .getService()                  .QueryInterface(Components.interfaces.nsIStringBundleService)                  .createBundle("chrome://sroaming/locale/prefs.properties");      var dialogTitle = bundle.GetStringFromName("RoamingErrorTitle");      var text = dialogTitle + "\n";      if (val)        text += bundle.formatStringFromName(prop, [val], 1);      else        text += bundle.GetStringFromName(prop);      if (tech) // should we show exceptions to user?        text += "\n" + tech;      GetPromptService().alert(window, dialogTitle, text);    }    catch(e)    {      dumpError("Error while trying to display an error: " + e                + " (original error: " + prop + " " + tech + ")\n");    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f91b94bfac4cfb86825336dc0b043f5dd7146150/all.js/clean/extensions/sroaming/resources/content/prefs/all.js