context: function translateInit()  // load prefs, initalise options menu and fill other menus{	document.getElementById("contentAreaContextMenu").addEventListener("popupshowing",onTranslatePopup,false);		// get the variables strong in translate.properties	gTranslateBundle = document.getElementById("bundle-translate");	if (! gTranslateBundle)	{		alert("no bundle");  // alert if tranlate.properties is invalid	}		// read the preferences file and set the language if their is one 	const preferencesService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("");	if(preferencesService.prefHasUserValue("translate.userlanguage"))	{  		glocale = preferencesService.getIntPref("translate.userlanguage");	}	else	{		glocale = 0 ;	}  	initOptionsMenu();	initMenus();}
meta: 9817	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9817/92511fa4a281dc1b11c2960208b0078e716d4f82/translate.js/buggy/trunk/chrome/content/translate.js