From 0d17c8032654d3573517b34a081f14ddf0c714b2 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 15 Oct 2015 13:27:11 +0545 Subject: Tidy some text in package install code 1) The "Beginning package removal" "Beginning package installation"... heading above the text box that displays the progress text output is never updated along the way, so it always says "Beginning...". It seems easy to just remove the word "Beginning" - the detailed progress is in the text box below, and the "please wait"/"completed"/"failed" appears below the text box already. 2) Replace remaining occurrences of add/delete with install/remove to make the words used on the UI consistent. 3) Make a custom sentence for the "reinstallall" case. (Note: I am just fixing text UI stuff with this PR. After pressing "Confirm" to reinstallall, actually nothing happened. So that needs looking at also.) --- src/usr/local/www/pkg_mgr_install.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index d6aee1f..c482a79 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -246,7 +246,7 @@ display_top_tabs($tab_array); ?>
-

Add / remove package

+

Install / remove package

", ";", "&", "'", '"', '.', '/'), "", htmlspecialchars_decode($_GET['id'], ENT_QUOTES | ENT_HTML401)); @@ -263,7 +263,7 @@ display_top_tabs($tab_array); $pkgtxt = 'reinstalled'; break; case 'delete': - $pkgtxt = 'deleted'; + $pkgtxt = 'removed'; break; default: $pkgtxt = $pkgmode; @@ -273,7 +273,17 @@ display_top_tabs($tab_array);
+ +

+

Package: will be .

+