commit 1d564970dcb3989cef84ca6c562f8263336b85b9
parent 9372979fb54d6d2c52334abfab6ce72faf6c29e1
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 26 Jun 2017 18:49:31 -0400
Add "Install Browser Extensions…" menu option
Diffstat:
4 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js
@@ -165,6 +165,10 @@ const ZoteroStandalone = new function() {
ZoteroPane.loadURI(ZOTERO_CONFIG.FEEDBACK_URL);
break;
+ case "extensions":
+ ZoteroPane.loadURI(ZOTERO_CONFIG.EXTENSIONS_URL);
+ break;
+
default:
ZoteroPane.loadURI(ZOTERO_CONFIG.SUPPORT_URL);
}
diff --git a/chrome/content/zotero/standalone/standalone.xul b/chrome/content/zotero/standalone/standalone.xul
@@ -199,6 +199,11 @@
label="&helpFeedbackPage.label;"
oncommand="ZoteroStandalone.openHelp('feedback');"/>
<menuseparator/>
+ <menuitem id="installBrowserExtensions"
+ accessKey="&helpInstallBrowserExtensions.accesskey;"
+ label="&helpInstallBrowserExtensions.label;"
+ oncommand="ZoteroStandalone.openHelp('extensions');"/>
+ <menuseparator/>
<menuitem id="reportErrors"
accesskey="&helpReportErrors.accesskey;"
label="&helpReportErrors.label;"
diff --git a/chrome/locale/en-US/zotero/standalone.dtd b/chrome/locale/en-US/zotero/standalone.dtd
@@ -70,6 +70,10 @@
<!ENTITY helpTroubleshootingInfo.accesskey "T">
<!ENTITY helpFeedbackPage.label "Submit Feedback…">
<!ENTITY helpFeedbackPage.accesskey "S">
+
+<!ENTITY helpInstallBrowserExtensions.accesskey "B">
+<!ENTITY helpInstallBrowserExtensions.label "Install Browser Extensions…">
+
<!ENTITY helpReportErrors.label "Report Errors to Zotero…">
<!ENTITY helpReportErrors.accesskey "R">
<!ENTITY helpCheckForUpdates.label "Check for Updates…">
diff --git a/resource/config.js b/resource/config.js
@@ -21,6 +21,7 @@ var ZOTERO_CONFIG = {
SUPPORT_URL: "https://www.zotero.org/support/",
TROUBLESHOOTING_URL: "https://www.zotero.org/support/getting_help",
FEEDBACK_URL: "https://forums.zotero.org/",
+ EXTENSIONS_URL: "https://www.zotero.org/extensions"
};
EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"];