Update wording of document import prompt

This commit is contained in:
Dan Stillman 2019-07-18 05:27:11 -04:00
parent 9020566de1
commit 7f8ec82ba2
2 changed files with 9 additions and 8 deletions

View file

@ -1669,7 +1669,7 @@ Zotero.Integration.Session.prototype.exportDocument = async function() {
Zotero.Integration.Session.prototype.importDocument = async function() {
const documentationURL = "https://www.zotero.org/support/kb/word_processor_document_export";
const documentationURL = "https://www.zotero.org/support/kb/moving_documents_between_word_processors";
var ps = Services.prompt;
@ -1677,7 +1677,7 @@ Zotero.Integration.Session.prototype.importDocument = async function() {
// Technically you will only reach this part in the code if getDocumentData returns
// ZOTERO_TRANSFER_DOCUMENT, which is only viable for Word.
// Let's add a parameter this changes later.
ps.alert(null, Zotero.getString('integration.importDocument'),
ps.alert(null, Zotero.getString('integration.importDocument.title'),
Zotero.getString('integration.importDocument.notAvailable', "Word"));
return;
}
@ -1686,10 +1686,10 @@ Zotero.Integration.Session.prototype.importDocument = async function() {
+ (ps.BUTTON_POS_1) * (ps.BUTTON_TITLE_CANCEL)
+ (ps.BUTTON_POS_2) * (ps.BUTTON_TITLE_IS_STRING);
var result = ps.confirmEx(null,
Zotero.getString('integration.importDocument'),
Zotero.getString('integration.importDocument.description'),
Zotero.getString('integration.importDocument.title'),
Zotero.getString('integration.importDocument.description', [Zotero.clientName, this._app.processorName]),
buttonFlags,
Zotero.getString('general.import'),
Zotero.getString('integration.importDocument.button'),
null,
Zotero.getString('general.moreInformation'), null, {});
if (result == 1) {

View file

@ -900,9 +900,10 @@ integration.delayCitationUpdates.alert.text2.tab = You will need to click Refres
integration.delayCitationUpdates.alert.text3 = You can change this setting later in the document preferences.
integration.delayCitationUpdates.bibliography.toolbar = Automatic citation updates are disabled. To see the bibliography, click Refresh in the Zotero toolbar.
integration.delayCitationUpdates.bibliography.tab = Automatic citation updates are disabled. To see the bibliography, click Refresh in the Zotero tab.
integration.importDocument = Import Document
integration.importDocument.description = Would you like to import this document for use with Zotero?
integration.importDocument.notAvailable = Your version of %S does not support document import. Please update to a newer version.
integration.importDocument.title = Transferred Document
integration.importDocument.description = Would you like to restore the %S citations in this document for use in %S?
integration.importDocument.button = Restore Citations
integration.importDocument.notAvailable = Your version of %S does not support document transfer. Please update to a newer version.
integration.exportDocument.title = Prepare Citations for Transfer
integration.exportDocument.description1 = Zotero will convert citations in the document to a format that can be safely transferred to another supported word processor.
integration.exportDocument.description2 = You should make a backup of the document before proceeding.