Document import/export: Additional text tweaks

This commit is contained in:
Dan Stillman 2019-05-14 23:50:47 -04:00
parent 222bc4f25d
commit c29c855d28
3 changed files with 8 additions and 4 deletions

View file

@ -252,7 +252,9 @@ var Zotero_File_Interface_Bibliography = new function() {
+ (ps.BUTTON_POS_2) * (ps.BUTTON_TITLE_IS_STRING);
var result = ps.confirmEx(null,
Zotero.getString('integration.exportDocument'),
Zotero.getString('integration.exportDocument.description'),
Zotero.getString('integration.exportDocument.description1')
+ "\n\n"
+ Zotero.getString('integration.exportDocument.description2'),
buttonFlags,
Zotero.getString('general.export'),
null,

View file

@ -1624,14 +1624,14 @@ Zotero.Integration.Session.prototype.importDocument = async function() {
const importExportWikiURL = "https://www.zotero.org/support/kb/export_import_document";
var ps = Services.prompt;
var buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_OK)
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.importDocument'),
Zotero.getString('integration.importDocument.description'),
buttonFlags,
null,
Zotero.getString('general.import'),
null,
Zotero.getString('general.moreInformation'), null, {});
if (result == 1) {

View file

@ -41,6 +41,7 @@ general.character.plural = characters
general.create = Create
general.delete = Delete
general.remove = Remove
general.import = Import
general.export = Export
general.moreInformation = More Information
general.seeForMoreInformation = See %S for more information.
@ -901,7 +902,8 @@ 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.exportDocument = Export Document
integration.exportDocument.description = Exporting the document will allow you to open it in a different Zotero-supported word processor and retain citation links.\n\nYou should make a backup of the document before proceeding.
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.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.
styles.install.title = Install Style