Locale debugging

This commit is contained in:
Dan Stillman 2012-01-22 10:28:13 -05:00
parent b8781bf254
commit 476e0f87d6

View file

@ -124,6 +124,7 @@ Zotero.Cite.System.retrieveItem = function(item) {
};
Zotero.Cite.System.retrieveLocale = function(lang) {
Zotero.debug('=========' + lang);
var protHandler = Components.classes["@mozilla.org/network/protocol;1?name=chrome"]
.createInstance(Components.interfaces.nsIProtocolHandler);
var channel = protHandler.newChannel(protHandler.newURI("chrome://zotero/content/locale/csl/locales-"+lang+".xml", "UTF-8", null));