Add locale switcher to Advanced prefs
Closes https://www.zotero.org/trac/ticket/1733 (!)
This commit is contained in:
parent
2addf6b27b
commit
33b40829b8
6 changed files with 141 additions and 3 deletions
|
@ -96,6 +96,7 @@ const xpcomFilesLocal = [
|
|||
'id',
|
||||
'integration',
|
||||
'itemTreeView',
|
||||
'locale',
|
||||
'locateManager',
|
||||
'mime',
|
||||
'notifier',
|
||||
|
@ -297,7 +298,7 @@ function makeZoteroContext(isConnector) {
|
|||
// Load xpcomFiles for specific mode
|
||||
for (let xpcomFile of (isConnector ? xpcomFilesConnector : xpcomFilesLocal)) {
|
||||
try {
|
||||
subscriptLoader.loadSubScript("chrome://zotero/content/xpcom/" + xpcomFile + ".js", zContext);
|
||||
subscriptLoader.loadSubScript("chrome://zotero/content/xpcom/" + xpcomFile + ".js", zContext, "UTF-8");
|
||||
}
|
||||
catch (e) {
|
||||
dump("Error loading " + xpcomFile + ".js\n\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue