Tweak error for Add Note when beta features are disabled
And remove from localized strings
This commit is contained in:
parent
03ac62e71e
commit
f861249fce
2 changed files with 3 additions and 6 deletions
|
@ -660,11 +660,9 @@ Zotero.Integration.Interface.prototype.addEditCitation = async function (docFiel
|
|||
Zotero.Integration.Interface.prototype.addNote = async function () {
|
||||
if (!Zotero.isPDFBuild) {
|
||||
let ps = Services.prompt;
|
||||
let errorMessage = Zotero.getString('integration.error.noteEditorDisabled', ZOTERO_CONFIG.CLIENT_NAME);
|
||||
let index = ps.confirm(null, Zotero.getString('integration.error.title'), errorMessage);
|
||||
if (index == 1) {
|
||||
Zotero.Utilities.Internal.openPreferences("zotero-prefpane-general");
|
||||
}
|
||||
let errorMessage = "To add notes to your document, you must enable the beta PDF reader "
|
||||
+ "and note editor in the Zotero preferences.";
|
||||
let index = ps.alert(null, Zotero.getString('general.error'), errorMessage);
|
||||
throw new Zotero.Exception.UserCancelled('Cannot add notes with note editor disabled');
|
||||
}
|
||||
await this._session.init(false, false);
|
||||
|
|
|
@ -909,7 +909,6 @@ integration.error.rosettaWord.title = Outdated Word Configuration
|
|||
integration.error.rosettaWord1643 = %S can now be used with current versions of Word on Apple Silicon Macs.\n\nFor maximum performance, upgrade to the latest version of Word.
|
||||
integration.error.rosettaWord1644 = %S can now be used with Word running natively on Apple Silicon Macs.\n\nFor maximum performance, select Word in Finder, go to File → Get Info, disable “Open using Rosetta”, and restart Word.
|
||||
integration.error.viewTroubleshootingInfo = Would you like to view troubleshooting instructions?
|
||||
integration.error.noteEditorDisabled = To enable note citing you must opt-in into the new %S PDF reader and note editor features.
|
||||
|
||||
integration.replace = Replace this Zotero field?
|
||||
integration.missingItem.single = The highlighted citation no longer exists in your Zotero database. Do you want to select a substitute item?
|
||||
|
|
Loading…
Add table
Reference in a new issue