Add "Install Browser Extensions…" menu option

This commit is contained in:
Dan Stillman 2017-06-26 18:49:31 -04:00
parent 9372979fb5
commit 1d564970dc
4 changed files with 14 additions and 0 deletions

View file

@ -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);
}

View file

@ -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;"

View file

@ -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…">

View file

@ -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"];