diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul
index 951e42d417..d38265741c 100644
--- a/chrome/content/zotero/preferences/preferences.xul
+++ b/chrome/content/zotero/preferences/preferences.xul
@@ -641,7 +641,6 @@ To add a new preference:
-
@@ -714,8 +713,6 @@ To add a new preference:
-
-
diff --git a/chrome/content/zotero/xpcom/connector/translator.js b/chrome/content/zotero/xpcom/connector/translator.js
index 30c8042eac..48ebedd2f9 100644
--- a/chrome/content/zotero/xpcom/connector/translator.js
+++ b/chrome/content/zotero/xpcom/connector/translator.js
@@ -373,8 +373,7 @@ Zotero.Translators.CodeGetter.prototype.getCodeFor = function(i) {
const TRANSLATOR_REQUIRED_PROPERTIES = ["translatorID", "translatorType", "label", "creator", "target",
"priority", "lastUpdated"];
-var TRANSLATOR_PASSING_PROPERTIES = TRANSLATOR_REQUIRED_PROPERTIES.concat(["displayOptions", "configOptions",
- "browserSupport", "code", "runMode"]);
+var TRANSLATOR_PASSING_PROPERTIES = TRANSLATOR_REQUIRED_PROPERTIES.concat(["browserSupport", "code", "runMode"]);
var TRANSLATOR_SAVE_PROPERTIES = TRANSLATOR_REQUIRED_PROPERTIES.concat(["browserSupport"]);
/**
* @class Represents an individual translator
@@ -392,8 +391,11 @@ var TRANSLATOR_SAVE_PROPERTIES = TRANSLATOR_REQUIRED_PROPERTIES.concat(["browser
* c = Google Chrome (WebKit & V8)
* s = Safari (WebKit & Nitro/Squirrelfish Extreme)
* i = Internet Explorer
+ * b = Bookmarklet
+ * v = Server
* @property {Object} configOptions Configuration options for import/export
* @property {Object} displayOptions Display options for export
+ * @property {Object} hiddenPrefs Hidden preferences configurable through about:config
* @property {Boolean} inRepository Whether the translator may be found in the repository
* @property {String} lastUpdated SQL-style date and time of translator's last update
* @property {String} code The executable JavaScript for the translator
@@ -426,9 +428,6 @@ Zotero.Translator.prototype.init = function(info) {
this.runMode = Zotero.Translator.RUN_MODE_ZOTERO_STANDALONE;
}
- this._configOptions = info["configOptions"] ? info["configOptions"] : {};
- this._displayOptions = info["displayOptions"] ? info["displayOptions"] : {};
-
if(this.translatorType & TRANSLATOR_TYPES["import"]) {
// compile import regexp to match only file extension
this.importRegexp = this.target ? new RegExp("\\."+this.target+"$", "i") : null;
@@ -469,13 +468,6 @@ Zotero.Translator.prototype.getCode = function(callback) {
);
}
-Zotero.Translator.prototype.__defineGetter__("displayOptions", function() {
- return Zotero.Utilities.deepCopy(this._displayOptions);
-});
-Zotero.Translator.prototype.__defineGetter__("configOptions", function() {
- return Zotero.Utilities.deepCopy(this._configOptions);
-});
-
/**
* Log a translator-related error
* @param {String} message The error message
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
index 737fd58cf9..f5da1f3ef7 100644
--- a/chrome/content/zotero/xpcom/schema.js
+++ b/chrome/content/zotero/xpcom/schema.js
@@ -1664,7 +1664,7 @@ Zotero.Schema = new function(){
metadata.browserSupport = browserSupport;
}
- for each(var attr in ["configOptions", "displayOptions"]) {
+ for each(var attr in ["configOptions", "displayOptions", "hiddenPrefs"]) {
try {
var tags = xmlnode.getElementsByTagName(attr);
if(tags.length && tags[0].firstChild) {
diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js
index 1d08e14402..1e3a2cd23c 100644
--- a/chrome/content/zotero/xpcom/server_connector.js
+++ b/chrome/content/zotero/xpcom/server_connector.js
@@ -96,8 +96,7 @@ Zotero.Server.Connector.GetTranslators.prototype = {
for each(var translator in translators) {
let serializableTranslator = {};
for each(var key in ["translatorID", "translatorType", "label", "creator", "target",
- "minVersion", "maxVersion", "configOptions", "displayOptions", "priority",
- "browserSupport", "inRepository", "lastUpdated"]) {
+ "minVersion", "maxVersion", "priority", "browserSupport", "inRepository", "lastUpdated"]) {
serializableTranslator[key] = translator[key];
}
responseData.push(serializableTranslator);
diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js
index 3fcd91b6ae..06d4791b20 100644
--- a/chrome/content/zotero/xpcom/translation/translate.js
+++ b/chrome/content/zotero/xpcom/translation/translate.js
@@ -158,6 +158,27 @@ Zotero.Translate.Sandbox = {
return translate._displayOptions[option];
},
+ /**
+ * Gets a hidden preference that can be defined by hiddenPrefs in translator header
+ *
+ * @param {Zotero.Translate} translate
+ * @param {String} pref Prefernce to be retrieved
+ */
+ "getHiddenPref":function(translate, pref) {
+ if(typeof(pref) != "string") {
+ throw(new Error("getPref: preference must be a string"));
+ }
+
+ var hp = translate._translatorInfo.hiddenPrefs || {};
+
+ var value;
+ try {
+ value = Zotero.Prefs.get('translators.' + pref);
+ } catch(e) {}
+
+ return (value !== undefined ? value : hp[pref]);
+ },
+
/**
* For loading other translators and accessing their methods
*
@@ -733,6 +754,7 @@ Zotero.Translate.Base.prototype = {
"init":function() {
this._handlers = [];
this._currentState = null;
+ this._translatorInfo = null;
this.document = null;
this.location = null;
},
@@ -762,7 +784,6 @@ Zotero.Translate.Base.prototype = {
}
this.translator = null;
- this._setDisplayOptions = null;
if(typeof(translator) == "object") { // passed an object and not an ID
if(translator.translatorID) {
@@ -1357,6 +1378,7 @@ Zotero.Translate.Base.prototype = {
this.complete(false, e);
return;
}
+ this._translatorInfo = this._sandboxManager.sandbox.ZOTERO_TRANSLATOR_INFO;
if(callback) callback();
},
@@ -1827,7 +1849,7 @@ Zotero.Translate.Import.prototype._loadTranslator = function(translator, callbac
* Prepare translator IO
*/
Zotero.Translate.Import.prototype._loadTranslatorPrepareIO = function(translator, callback) {
- var configOptions = this._sandboxManager.sandbox.ZOTERO_TRANSLATOR_INFO.configOptions;
+ var configOptions = this._translatorInfo.configOptions;
var dataMode = configOptions ? configOptions["dataMode"] : "";
var me = this;
diff --git a/chrome/content/zotero/xpcom/translation/translator.js b/chrome/content/zotero/xpcom/translation/translator.js
index 5a4b7b43b3..ea34152000 100644
--- a/chrome/content/zotero/xpcom/translation/translator.js
+++ b/chrome/content/zotero/xpcom/translation/translator.js
@@ -425,8 +425,11 @@ Zotero.Translators = new function() {
* c = Google Chrome (WebKit & V8)
* s = Safari (WebKit & Nitro/Squirrelfish Extreme)
* i = Internet Explorer
+ * b = Bookmarklet
+ * v = Server
* @property {Object} configOptions Configuration options for import/export
* @property {Object} displayOptions Display options for export
+ * @property {Object} hiddenPrefs Hidden preferences configurable through about:config
* @property {Boolean} inRepository Whether the translator may be found in the repository
* @property {String} lastUpdated SQL-style date and time of translator's last update
* @property {String} code The executable JavaScript for the translator
@@ -490,6 +493,8 @@ Zotero.Translator = function(file, json, code) {
this._configOptions = info["configOptions"] ? info["configOptions"] : {};
this._displayOptions = info["displayOptions"] ? info["displayOptions"] : {};
+ this._hiddenPrefs = info["hiddenPrefs"] ? info["hiddenPrefs"] : {};
+
this.browserSupport = info["browserSupport"] ? info["browserSupport"] : "g";
this.runMode = Zotero.Translator.RUN_MODE_IN_BROWSER;
@@ -543,6 +548,9 @@ Zotero.Translator.prototype.__defineGetter__("displayOptions", function() {
Zotero.Translator.prototype.__defineGetter__("configOptions", function() {
return Zotero.Utilities.deepCopy(this._configOptions);
});
+Zotero.Translator.prototype.__defineGetter__("hiddenPrefs", function() {
+ return Zotero.Utilities.deepCopy(this._hiddenPrefs);
+});
/**
* Log a translator-related error
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
index 1033eb12bc..8512f515b2 100644
--- a/chrome/content/zotero/xpcom/zotero.js
+++ b/chrome/content/zotero/xpcom/zotero.js
@@ -2239,6 +2239,7 @@ Zotero.Keys = new function() {
for each(var action in actions) {
var action = action.substr(5); // strips 'keys.'
if (action == 'overrideGlobal') {
+ Zotero.Prefs.clear('keys.overrideGlobal');
continue;
}
_keys[Zotero.Prefs.get('keys.' + action)] = action;
@@ -2266,42 +2267,6 @@ Zotero.Keys = new function() {
}
}
}
-
- if (Zotero.Prefs.get('keys.overrideGlobal')) {
- var keys = document.getElementsByTagName('key');
- for each(var key in keys) {
- try {
- var id = key.getAttribute('id');
- }
- // A couple keys are always invalid
- catch (e) {
- continue;
- }
-
- if (id == 'key_openZotero') {
- continue;
- }
-
- var mods = key.getAttribute('modifiers').split(/[\,\s]/);
- var second = useShift ? 'shift' : 'alt';
- // Key doesn't match a Zotero shortcut
- if (mods.length != 2 || !((mods[0] == 'accel' && mods[1] == second) ||
- (mods[0] == second && mods[1] == 'accel'))) {
- continue;
- }
-
- if (_keys[key.getAttribute('key')] || key.getAttribute('key') == zKey) {
- // Don't override Redo on Fx3 Mac, since Redo and Zotero can coexist
- if (zKey == 'Z' && key.getAttribute('key') == 'Z'
- && id == 'key_redo' && Zotero.isFx3 && Zotero.isMac) {
- continue;
- }
-
- Zotero.debug('Removing key ' + id + ' with accesskey ' + key.getAttribute('key'));
- key.parentNode.removeChild(key);
- }
- }
- }
}
diff --git a/chrome/locale/af-ZA/zotero/preferences.dtd b/chrome/locale/af-ZA/zotero/preferences.dtd
index ad3368de8e..6d8480f812 100644
--- a/chrome/locale/af-ZA/zotero/preferences.dtd
+++ b/chrome/locale/af-ZA/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/ar/zotero/preferences.dtd b/chrome/locale/ar/zotero/preferences.dtd
index 5a0a723646..fa436631e3 100644
--- a/chrome/locale/ar/zotero/preferences.dtd
+++ b/chrome/locale/ar/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/bg-BG/zotero/preferences.dtd b/chrome/locale/bg-BG/zotero/preferences.dtd
index 724d560281..48c591470d 100644
--- a/chrome/locale/bg-BG/zotero/preferences.dtd
+++ b/chrome/locale/bg-BG/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/ca-AD/zotero/preferences.dtd b/chrome/locale/ca-AD/zotero/preferences.dtd
index d55f02e236..9c7ad4e125 100644
--- a/chrome/locale/ca-AD/zotero/preferences.dtd
+++ b/chrome/locale/ca-AD/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/cs-CZ/zotero/preferences.dtd b/chrome/locale/cs-CZ/zotero/preferences.dtd
index aa092501d9..d619237d8c 100644
--- a/chrome/locale/cs-CZ/zotero/preferences.dtd
+++ b/chrome/locale/cs-CZ/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/da-DK/zotero/preferences.dtd b/chrome/locale/da-DK/zotero/preferences.dtd
index 6ea832e7c7..646e33b272 100644
--- a/chrome/locale/da-DK/zotero/preferences.dtd
+++ b/chrome/locale/da-DK/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/de/zotero/preferences.dtd b/chrome/locale/de/zotero/preferences.dtd
index 47643b288d..cfe4d5f3a4 100644
--- a/chrome/locale/de/zotero/preferences.dtd
+++ b/chrome/locale/de/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/el-GR/zotero/preferences.dtd b/chrome/locale/el-GR/zotero/preferences.dtd
index c34d885121..c63e656036 100644
--- a/chrome/locale/el-GR/zotero/preferences.dtd
+++ b/chrome/locale/el-GR/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/es-ES/zotero/preferences.dtd b/chrome/locale/es-ES/zotero/preferences.dtd
index 31caf35b45..f60d54f99b 100644
--- a/chrome/locale/es-ES/zotero/preferences.dtd
+++ b/chrome/locale/es-ES/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/et-EE/zotero/preferences.dtd b/chrome/locale/et-EE/zotero/preferences.dtd
index a5f1083b43..8b0631d4d7 100644
--- a/chrome/locale/et-EE/zotero/preferences.dtd
+++ b/chrome/locale/et-EE/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/eu-ES/zotero/preferences.dtd b/chrome/locale/eu-ES/zotero/preferences.dtd
index 3aa4248079..575c65252b 100644
--- a/chrome/locale/eu-ES/zotero/preferences.dtd
+++ b/chrome/locale/eu-ES/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/fa/zotero/preferences.dtd b/chrome/locale/fa/zotero/preferences.dtd
index 7c2557e34d..08f691a3b0 100644
--- a/chrome/locale/fa/zotero/preferences.dtd
+++ b/chrome/locale/fa/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/fi-FI/zotero/preferences.dtd b/chrome/locale/fi-FI/zotero/preferences.dtd
index e4a2e87f15..70434b3436 100644
--- a/chrome/locale/fi-FI/zotero/preferences.dtd
+++ b/chrome/locale/fi-FI/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/fr-FR/zotero/preferences.dtd b/chrome/locale/fr-FR/zotero/preferences.dtd
index 3c34411a59..d048ee6861 100644
--- a/chrome/locale/fr-FR/zotero/preferences.dtd
+++ b/chrome/locale/fr-FR/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/gl-ES/zotero/preferences.dtd b/chrome/locale/gl-ES/zotero/preferences.dtd
index fe4ea0fb08..53571d8176 100644
--- a/chrome/locale/gl-ES/zotero/preferences.dtd
+++ b/chrome/locale/gl-ES/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/he-IL/zotero/preferences.dtd b/chrome/locale/he-IL/zotero/preferences.dtd
index 6d5945c0ae..28385bc015 100644
--- a/chrome/locale/he-IL/zotero/preferences.dtd
+++ b/chrome/locale/he-IL/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/hr-HR/zotero/preferences.dtd b/chrome/locale/hr-HR/zotero/preferences.dtd
index c34d885121..c63e656036 100644
--- a/chrome/locale/hr-HR/zotero/preferences.dtd
+++ b/chrome/locale/hr-HR/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/hu-HU/zotero/preferences.dtd b/chrome/locale/hu-HU/zotero/preferences.dtd
index b74a4af093..b92eb19b31 100644
--- a/chrome/locale/hu-HU/zotero/preferences.dtd
+++ b/chrome/locale/hu-HU/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/is-IS/zotero/preferences.dtd b/chrome/locale/is-IS/zotero/preferences.dtd
index ec742450fb..912e01cdb2 100644
--- a/chrome/locale/is-IS/zotero/preferences.dtd
+++ b/chrome/locale/is-IS/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/it-IT/zotero/preferences.dtd b/chrome/locale/it-IT/zotero/preferences.dtd
index d249668010..3edcded4ed 100644
--- a/chrome/locale/it-IT/zotero/preferences.dtd
+++ b/chrome/locale/it-IT/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/ja-JP/zotero/preferences.dtd b/chrome/locale/ja-JP/zotero/preferences.dtd
index fb9a0196ba..27e68a44b0 100644
--- a/chrome/locale/ja-JP/zotero/preferences.dtd
+++ b/chrome/locale/ja-JP/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/km/zotero/preferences.dtd b/chrome/locale/km/zotero/preferences.dtd
index 43759a92d4..637eab1b6b 100644
--- a/chrome/locale/km/zotero/preferences.dtd
+++ b/chrome/locale/km/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/ko-KR/zotero/preferences.dtd b/chrome/locale/ko-KR/zotero/preferences.dtd
index 3e2f49ffa7..ca7ef28fc8 100644
--- a/chrome/locale/ko-KR/zotero/preferences.dtd
+++ b/chrome/locale/ko-KR/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/mn-MN/zotero/preferences.dtd b/chrome/locale/mn-MN/zotero/preferences.dtd
index 9623cefbc6..e96c6e5c03 100644
--- a/chrome/locale/mn-MN/zotero/preferences.dtd
+++ b/chrome/locale/mn-MN/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/nb-NO/zotero/preferences.dtd b/chrome/locale/nb-NO/zotero/preferences.dtd
index e3e3816fe6..3a6cd4ab6f 100644
--- a/chrome/locale/nb-NO/zotero/preferences.dtd
+++ b/chrome/locale/nb-NO/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/nl-NL/zotero/preferences.dtd b/chrome/locale/nl-NL/zotero/preferences.dtd
index 36764a0562..5ad190ae73 100644
--- a/chrome/locale/nl-NL/zotero/preferences.dtd
+++ b/chrome/locale/nl-NL/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/nn-NO/zotero/preferences.dtd b/chrome/locale/nn-NO/zotero/preferences.dtd
index d9de7aa67d..7aa9f818b5 100644
--- a/chrome/locale/nn-NO/zotero/preferences.dtd
+++ b/chrome/locale/nn-NO/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/pl-PL/zotero/preferences.dtd b/chrome/locale/pl-PL/zotero/preferences.dtd
index 38e2b0d646..f4ae6f82b8 100644
--- a/chrome/locale/pl-PL/zotero/preferences.dtd
+++ b/chrome/locale/pl-PL/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/pt-BR/zotero/preferences.dtd b/chrome/locale/pt-BR/zotero/preferences.dtd
index c39d06d90d..907c41dbce 100644
--- a/chrome/locale/pt-BR/zotero/preferences.dtd
+++ b/chrome/locale/pt-BR/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/pt-PT/zotero/preferences.dtd b/chrome/locale/pt-PT/zotero/preferences.dtd
index 655dbd62a4..c43bb1e911 100644
--- a/chrome/locale/pt-PT/zotero/preferences.dtd
+++ b/chrome/locale/pt-PT/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/ro-RO/zotero/preferences.dtd b/chrome/locale/ro-RO/zotero/preferences.dtd
index 1c1b1c2aef..c09d90ff87 100644
--- a/chrome/locale/ro-RO/zotero/preferences.dtd
+++ b/chrome/locale/ro-RO/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/ru-RU/zotero/preferences.dtd b/chrome/locale/ru-RU/zotero/preferences.dtd
index 72073f30c4..3412d6db36 100644
--- a/chrome/locale/ru-RU/zotero/preferences.dtd
+++ b/chrome/locale/ru-RU/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/sk-SK/zotero/preferences.dtd b/chrome/locale/sk-SK/zotero/preferences.dtd
index f0c52d8a8b..c21ec60480 100644
--- a/chrome/locale/sk-SK/zotero/preferences.dtd
+++ b/chrome/locale/sk-SK/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/sl-SI/zotero/preferences.dtd b/chrome/locale/sl-SI/zotero/preferences.dtd
index bf0418f962..be7031f6fa 100644
--- a/chrome/locale/sl-SI/zotero/preferences.dtd
+++ b/chrome/locale/sl-SI/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/sr-RS/zotero/preferences.dtd b/chrome/locale/sr-RS/zotero/preferences.dtd
index 88733c15d4..1fe71fe30c 100644
--- a/chrome/locale/sr-RS/zotero/preferences.dtd
+++ b/chrome/locale/sr-RS/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/sv-SE/zotero/preferences.dtd b/chrome/locale/sv-SE/zotero/preferences.dtd
index ecadc29734..1d2f8d70b1 100644
--- a/chrome/locale/sv-SE/zotero/preferences.dtd
+++ b/chrome/locale/sv-SE/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/th-TH/zotero/preferences.dtd b/chrome/locale/th-TH/zotero/preferences.dtd
index c983d1930e..0b0fe8a40d 100644
--- a/chrome/locale/th-TH/zotero/preferences.dtd
+++ b/chrome/locale/th-TH/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/tr-TR/zotero/preferences.dtd b/chrome/locale/tr-TR/zotero/preferences.dtd
index cca39b83a3..eed0b0db21 100644
--- a/chrome/locale/tr-TR/zotero/preferences.dtd
+++ b/chrome/locale/tr-TR/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/vi-VN/zotero/preferences.dtd b/chrome/locale/vi-VN/zotero/preferences.dtd
index 4cf21981ab..b648b4a28b 100644
--- a/chrome/locale/vi-VN/zotero/preferences.dtd
+++ b/chrome/locale/vi-VN/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/zh-CN/zotero/preferences.dtd b/chrome/locale/zh-CN/zotero/preferences.dtd
index a5985ebc5b..059bb94c25 100644
--- a/chrome/locale/zh-CN/zotero/preferences.dtd
+++ b/chrome/locale/zh-CN/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/chrome/locale/zh-TW/zotero/preferences.dtd b/chrome/locale/zh-TW/zotero/preferences.dtd
index fa7431d969..9af13dbcd0 100644
--- a/chrome/locale/zh-TW/zotero/preferences.dtd
+++ b/chrome/locale/zh-TW/zotero/preferences.dtd
@@ -128,7 +128,6 @@
-
diff --git a/defaults/preferences/zotero.js b/defaults/preferences/zotero.js
index e4b89dd1aa..ff80b033a4 100644
--- a/defaults/preferences/zotero.js
+++ b/defaults/preferences/zotero.js
@@ -60,7 +60,6 @@ pref("extensions.zotero.lastLongTagDelimiter", ";");
pref("extensions.zotero.tagCloud", false);
// Keyboard shortcuts
-pref("extensions.zotero.keys.overrideGlobal", false);
pref("extensions.zotero.keys.openZotero", 'Z');
pref("extensions.zotero.keys.toggleFullscreen", 'F');
pref("extensions.zotero.keys.library", 'L');
diff --git a/translators b/translators
index 2c33d5d461..a14697a41d 160000
--- a/translators
+++ b/translators
@@ -1 +1 @@
-Subproject commit 2c33d5d461cab0749702529e26686738e7a0b411
+Subproject commit a14697a41dcb6d51dc93cdafcdafe8a1cd1a2213