From 0bcf69e12d57d4057ddbda6187e1becab176715f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Apr 2013 09:43:11 +0400 Subject: add some infoblurbs to the updater plugin, remove experimental notices --- plugins/updater/init.php | 15 ++++++++++++--- plugins/updater/updater.js | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'plugins/updater') diff --git a/plugins/updater/init.php b/plugins/updater/init.php index adab6bc80..6bfaa82c4 100644 --- a/plugins/updater/init.php +++ b/plugins/updater/init.php @@ -298,8 +298,10 @@ class Updater extends Plugin { } function update_self($args) { - _debug("Warning: self-updating is experimental. Use at your own risk."); - _debug("Please backup your tt-rss directory before continuing. Your database will not be modified."); + _debug("READ THE FOLLOWING BEFORE CONTINUING!"); + _debug("* It is suggested to backup your tt-rss directory first."); + _debug("* Your database will not be modified."); + _debug("* Your current tt-rss installation directory will not be modified. It will be renamed and left in the parent directory. You will be able to migrate all your customized files after update finishes."); _debug("Type 'yes' to continue."); $input = read_stdin(); @@ -346,11 +348,18 @@ class Updater extends Plugin { } function updateSelf() { + print_warning(__("Do not close this dialog until updating is finished.")); + print "
"; - print "
".__("Do not close this dialog until updating is finished. Backup your tt-rss directory before continuing.")."
"; + print ""; print ""; diff --git a/plugins/updater/updater.js b/plugins/updater/updater.js index 40fcc871b..4a1847372 100644 --- a/plugins/updater/updater.js +++ b/plugins/updater/updater.js @@ -55,7 +55,7 @@ function updateSelf() { } }, start: function() { - if (prompt(__("Live updating is considered experimental. Backup your tt-rss directory before continuing. Please type 'yes' to continue.")) == 'yes') { + if (prompt(__("Backup your tt-rss directory before continuing. Please type 'yes' to continue.")) == 'yes') { dialog.performUpdate(0); } }, -- cgit v1.2.3