bold the rest of the update msg

This commit is contained in:
zzz
2010-03-18 12:32:28 +00:00
parent 2e8fd23f2b
commit d3c490e9d7

View File

@ -205,13 +205,14 @@ public class UpdateHandler {
} else { } else {
_log.log(Log.CRIT, "Update was VERIFIED, will be installed at next restart"); _log.log(Log.CRIT, "Update was VERIFIED, will be installed at next restart");
StringBuilder buf = new StringBuilder(64); StringBuilder buf = new StringBuilder(64);
buf.append("<b>").append(_("Update downloaded")).append("</b><br>"); buf.append("<b>").append(_("Update downloaded")).append("<br>");
if (System.getProperty("wrapper.version") != null) if (System.getProperty("wrapper.version") != null)
buf.append(_("Click Restart to install")); buf.append(_("Click Restart to install"));
else else
buf.append(_("Click Shutdown and restart to install")); buf.append(_("Click Shutdown and restart to install"));
if (up.newVersion() != null) if (up.newVersion() != null)
buf.append(' ').append(_("Version {0}", up.newVersion())); buf.append(' ').append(_("Version {0}", up.newVersion()));
buf.append("</b>");
updateStatus(buf.toString()); updateStatus(buf.toString());
} }
} else { } else {