rem: var sbs = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService); var props = sbs.createBundle("chrome:  this.today = new Synthetic(props.GetStringFromName("agendaToday"), true); this.tomorrow = new Synthetic(props.GetStringFromName("agendaTomorrow"), false); this.soon = new Synthetic(props.GetStringFromName("agendaSoon"), false); 
add: this.today = new Synthetic(ltnGetString("lightning", "agendaToday"), true); this.tomorrow = new Synthetic(ltnGetString("lightning", "agendaTomorrow"), false); this.soon = new Synthetic(ltnGetString("lightning", "agendaSoon"), false); 
context: function initAgendaTree(){    var sbs = Components.classes["@mozilla.org/intl/stringbundle;1"]                        .getService(Components.interfaces.nsIStringBundleService);    var props = sbs.createBundle("chrome://lightning/locale/lightning.properties");    this.today = new Synthetic(props.GetStringFromName("agendaToday"), true);    this.tomorrow = new Synthetic(props.GetStringFromName("agendaTomorrow"), false);    this.soon = new Synthetic(props.GetStringFromName("agendaSoon"), false);    this.periods = [this.today, this.tomorrow, this.soon];}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4deb9624b116020469000c8700678915abb1edaf/agenda-tree.js/buggy/calendar/lightning/content/agenda-tree.js