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); ZoteroPane.loadURI(ZOTERO_CONFIG.FEEDBACK_URL);
break; break;
case "extensions":
ZoteroPane.loadURI(ZOTERO_CONFIG.EXTENSIONS_URL);
break;
default: default:
ZoteroPane.loadURI(ZOTERO_CONFIG.SUPPORT_URL); ZoteroPane.loadURI(ZOTERO_CONFIG.SUPPORT_URL);
} }

View File

@ -199,6 +199,11 @@
label="&helpFeedbackPage.label;" label="&helpFeedbackPage.label;"
oncommand="ZoteroStandalone.openHelp('feedback');"/> oncommand="ZoteroStandalone.openHelp('feedback');"/>
<menuseparator/> <menuseparator/>
<menuitem id="installBrowserExtensions"
accessKey="&helpInstallBrowserExtensions.accesskey;"
label="&helpInstallBrowserExtensions.label;"
oncommand="ZoteroStandalone.openHelp('extensions');"/>
<menuseparator/>
<menuitem id="reportErrors" <menuitem id="reportErrors"
accesskey="&helpReportErrors.accesskey;" accesskey="&helpReportErrors.accesskey;"
label="&helpReportErrors.label;" label="&helpReportErrors.label;"

View File

@ -70,6 +70,10 @@
<!ENTITY helpTroubleshootingInfo.accesskey "T"> <!ENTITY helpTroubleshootingInfo.accesskey "T">
<!ENTITY helpFeedbackPage.label "Submit Feedback…"> <!ENTITY helpFeedbackPage.label "Submit Feedback…">
<!ENTITY helpFeedbackPage.accesskey "S"> <!ENTITY helpFeedbackPage.accesskey "S">
<!ENTITY helpInstallBrowserExtensions.accesskey "B">
<!ENTITY helpInstallBrowserExtensions.label "Install Browser Extensions…">
<!ENTITY helpReportErrors.label "Report Errors to Zotero…"> <!ENTITY helpReportErrors.label "Report Errors to Zotero…">
<!ENTITY helpReportErrors.accesskey "R"> <!ENTITY helpReportErrors.accesskey "R">
<!ENTITY helpCheckForUpdates.label "Check for Updates…"> <!ENTITY helpCheckForUpdates.label "Check for Updates…">

View File

@ -21,6 +21,7 @@ var ZOTERO_CONFIG = {
SUPPORT_URL: "https://www.zotero.org/support/", SUPPORT_URL: "https://www.zotero.org/support/",
TROUBLESHOOTING_URL: "https://www.zotero.org/support/getting_help", TROUBLESHOOTING_URL: "https://www.zotero.org/support/getting_help",
FEEDBACK_URL: "https://forums.zotero.org/", FEEDBACK_URL: "https://forums.zotero.org/",
EXTENSIONS_URL: "https://www.zotero.org/extensions"
}; };
EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"]; EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"];