diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-16 00:05:46 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-16 17:33:03 -0500 |
commit | a34759f3f22821be598b6264e992040485786349 (patch) | |
tree | b78b803c28ec2d7f095a8851d2fea2da1cc86c5d | |
parent | 9014e27c61b7c342816019f43d8323b675e5773e (diff) | |
download | pfsense-a34759f3f22821be598b6264e992040485786349.zip pfsense-a34759f3f22821be598b6264e992040485786349.tar.gz |
Change wording from stating what is going to happen to asking user if they want it to happen.
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 23716bd..b1686ce 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -269,14 +269,14 @@ if ($input_errors) { switch ($pkgmode) { case 'reinstallpkg': - $pkgtxt = sprintf(gettext('Package <b>%s</b> will be Reinstalled'), $pkgname); + $pkgtxt = sprintf(gettext('Are you sure you want to reinstall package %s?'), $pkgname); break; case 'delete': - $pkgtxt = sprintf(gettext('Package <b>%s</b> will be Removed'), $pkgname); + $pkgtxt = sprintf(gettext('Are you sure you want to remove package %s?'), $pkgname); break; case 'installed': default: - $pkgtxt = sprintf(gettext('Package <b>%s</b> will be Installed'), $pkgname); + $pkgtxt = sprintf(gettext('Are you sure you want to install package %s?'), $pkgname); break; } ?> @@ -287,11 +287,11 @@ if ($input_errors) { <?php if ($pkgmode == 'reinstallall') { ?> - <?=gettext("All Packages will be Reinstalled.");?> + <?=gettext("Are you sure you want to reinstall all packages?");?> <?php } else if ($_GET['from'] && $_GET['to']) { ?> - <?=sprintf(gettext('Package: %1$s will be Upgraded from %2$s to %3$s.'), '<b>' . $pkgname . '</b>', '<b>' . $_GET['from'] . '</b>', '<b>' . $_GET['to'] . '</b>')?> + <?=sprintf(gettext('Are you sure you want to upgrade package %1$s from %2$s to %3$s?'), $pkgname, $_GET['from'], $_GET['to'])?> <?php } else if ($firmwareupdate) { ?> @@ -299,7 +299,7 @@ if ($input_errors) { <?php } else { ?> - <?=$pkgtxt;?>. + <?=$pkgtxt;?> <?php } ?> |