Remove enableMacClipboard pref and just display a warning message ("Some formatting may be lost.") on OS X.

This commit is contained in:
Dan Stillman 2007-02-16 08:44:09 +00:00
parent 45360c7198
commit a93c801d0e
4 changed files with 8 additions and 4 deletions

View File

@ -82,8 +82,8 @@ var Zotero_File_Interface_Bibliography = new function() {
// disable clipboard on the Mac, because it can't support formatted
// output
if(Zotero.isMac && !Zotero.Prefs.get("enableMacClipboard")) {
document.getElementById("copy-to-clipboard").hidden = "true";
if(Zotero.isMac) {
document.getElementById("mac-clipboard-warning").hidden = false;
}
}

View File

@ -23,7 +23,11 @@
<radiogroup id="output-radio">
<radio id="save-as-rtf" label="&zotero.bibliography.saveAsRTF.label;"/>
<radio id="save-as-html" label="&zotero.bibliography.saveAsHTML.label;"/>
<radio id="copy-to-clipboard" label="&zotero.bibliography.copyToClipboard.label;"/>
<hbox align="center">
<radio id="copy-to-clipboard" label="&zotero.bibliography.copyToClipboard.label;"/>
<label id="mac-clipboard-warning" value="&zotero.bibliography.macClipboardWarning;"
hidden="true" style="margin-left:1em; font-size:0.95em"/>
</hbox>
<radio id="print" label="&zotero.bibliography.print.label;"/>
</radiogroup>
</groupbox>

View File

@ -77,6 +77,7 @@
<!ENTITY zotero.bibliography.saveAsRTF.label "Save as RTF">
<!ENTITY zotero.bibliography.saveAsHTML.label "Save as HTML">
<!ENTITY zotero.bibliography.copyToClipboard.label "Copy to Clipboard">
<!ENTITY zotero.bibliography.macClipboardWarning "(Some formatting may be lost.)">
<!ENTITY zotero.bibliography.print.label "Print">
<!ENTITY zotero.integration.docPrefs.title "Document Preferences">

View File

@ -13,7 +13,6 @@ pref("extensions.zotero.parseEndNoteMIMETypes",true);
pref("extensions.zotero.automaticSnapshots",true);
pref("extensions.zotero.downloadAssociatedFiles",false);
pref("extensions.zotero.reportTranslationFailure",true);
pref("extensions.zotero.enableMacClipboard",false);
pref("extensions.zotero.automaticTags",true);
pref("extensions.zotero.fontSize", "1.0");