Adjust document-export wording

"Export" is too confusing, since you also have to export and import the
file itself.
This commit is contained in:
Dan Stillman 2019-07-16 02:21:02 -04:00
parent b899e5694a
commit fd12eb08b1
3 changed files with 9 additions and 9 deletions

View file

@ -59,7 +59,7 @@ const DELAYED_CITATION_RTF_STYLING_CLEAR = "\\ulclear";
const DELAYED_CITATION_HTML_STYLING = "<div class='delayed-zotero-citation-updates'>"
const DELAYED_CITATION_HTML_STYLING_END = "</div>"
const EXPORTED_DOCUMENT_MARKER = "ZOTERO_EXPORTED_DOCUMENT";
const EXPORTED_DOCUMENT_MARKER = "ZOTERO_TRANSFER_DOCUMENT";
Zotero.Integration = new function() {
@ -545,19 +545,19 @@ Zotero.Integration = new function() {
}
Zotero.Integration.confirmExportDocument = 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;
var buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING)
+ (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.exportDocument'),
Zotero.getString('integration.exportDocument.title'),
Zotero.getString('integration.exportDocument.description1')
+ "\n\n"
+ Zotero.getString('integration.exportDocument.description2'),
buttonFlags,
Zotero.getString('general.export'),
Zotero.getString('general.continue'),
null,
Zotero.getString('general.moreInformation'), null, {});
if (result == 0) {
@ -1675,7 +1675,7 @@ Zotero.Integration.Session.prototype.importDocument = async function() {
if (!this._app.supportsImportExport) {
// Technically you will only reach this part in the code if getDocumentData returns
// ZOTERO_EXPORTED_DOCUMENT, which is only viable for Word.
// ZOTERO_TRANSFER_DOCUMENT, which is only viable for Word.
// Let's add a parameter this changes later.
ps.alert(null, Zotero.getString('integration.importDocument'),
Zotero.getString('integration.importDocument.notAvailable', "Word"));

View file

@ -247,7 +247,7 @@
<!ENTITY zotero.integration.prefs.automaticJournalAbbeviations.label "Use MEDLINE journal abbreviations">
<!ENTITY zotero.integration.prefs.automaticJournalAbbeviations.caption "The “Journal Abbr” field will be ignored.">
<!ENTITY zotero.integration.prefs.exportDocument "Export Document…">
<!ENTITY zotero.integration.prefs.exportDocument "Switch to a Different Word Processor…">
<!ENTITY zotero.integration.showEditor.label "Show Editor">
<!ENTITY zotero.integration.classicView.label "Classic View">

View file

@ -903,10 +903,10 @@ integration.delayCitationUpdates.bibliography.tab = Automatic citation updates a
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.exportDocument = Export Document
integration.exportDocument.description1 = Exporting the document will allow you to open it in a different Zotero-supported word processor and retain citation links.
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.
integration.importInstructions = This document contains exported Zotero citations. Open it with a Zotero-supported word processor and press Refresh in the Zotero plugin to import it.
integration.importInstructions = The Zotero citations in this document have been converted to a format that can be safely transferred between word processors. Open this document in a supported word processor and press Refresh in the Zotero plugin to continue working with the citations.
styles.install.title = Install Style
styles.install.unexpectedError = An unexpected error occurred while installing "%1$S"