Locale debugging
This commit is contained in:
parent
b8781bf254
commit
476e0f87d6
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue