commit 670f272b3252a691b1aa5298a4cf3861e08783da
parent b059b2abdef7a63a874626c0e7112bf9d54a6a6e
Author: Simon Kornblith <simon@simonster.com>
Date: Sat, 27 Jul 2013 01:27:36 -0400
Alter message on auto-update
Avoid ambiguously implying that Linux users should be running Zotero as
root, and tell them to fix the permissions on the Zotero executable instead.
See https://forums.zotero.org/discussion/31020/
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/standalone/updatesOverlay.xul b/chrome/content/zotero/standalone/updatesOverlay.xul
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<overlay id="zotero-update"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <wizard id="updates">
+ <script type="application/javascript" src="chrome://zotero/content/include.js"/>
+ <script type="application/javascript">
+ document.getElementById("manualUpdateDesc").textContent = Zotero.getString("standalone.updateMessage");
+ </script>
+ </wizard>
+</overlay>
diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties
@@ -937,6 +937,7 @@ standalone.addonInstallationFailed.body = The add-on "%S" could not be installe
standalone.rootWarning = You appear to be running Zotero Standalone as root. This is insecure and may prevent Zotero from functioning when launched from your user account.\n\nIf you wish to install an automatic update, modify the Zotero program directory to be writeable by your user account.
standalone.rootWarning.exit = Exit
standalone.rootWarning.continue = Continue
+standalone.updateMessage = A recommended update is available, but you do not have permission to install it. To update automatically, modify the Zotero program directory to be writeable by your user account.
connector.error.title = Zotero Connector Error
connector.standaloneOpen = Your database cannot be accessed because Zotero Standalone is currently open. Please view your items in Zotero Standalone.