From 91c0bbff535d245c97628cc671bf29cee94d7a96 Mon Sep 17 00:00:00 2001 From: k-paulius Date: Tue, 16 Feb 2016 00:35:32 -0600 Subject: Review alert wording. End sentence with period --- src/usr/local/www/pkg_mgr_install.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/usr/local/www/pkg_mgr_install.php') diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 188aca8..6087d1d 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -378,17 +378,17 @@ if ($_POST) { if ($_POST['mode'] == 'delete') { $panel_heading_txt = gettext("Package Removal"); - $pkg_success_txt = sprintf(gettext('%1$s removal successfully completed'), $pkgid); + $pkg_success_txt = sprintf(gettext('%1$s removal successfully completed.'), $pkgid); $pkg_fail_txt = sprintf(gettext('%1$s removal failed!'), $pkgid); $pkg_wait_txt = sprintf(gettext('Please wait while the removal of %1$s completes.'), $pkgid); } else if (($_POST['mode'] == 'reinstallpkg') || ($_POST['mode'] == 'reinstallall')) { $panel_heading_txt = gettext("Package Reinstallation"); - $pkg_success_txt = sprintf(gettext('%1$s reinstallation successfully completed'), $pkgid); + $pkg_success_txt = sprintf(gettext('%1$s reinstallation successfully completed.'), $pkgid); $pkg_fail_txt = sprintf(gettext('%1$s reinstallation failed!'), $pkgid); $pkg_wait_txt = sprintf(gettext('Please wait while the reinstallation of %1$s completes.'), $pkgid); } else { $panel_heading_txt = gettext("Package Installation"); - $pkg_success_txt = sprintf(gettext('%1$s installation successfully completed'), $pkgid); + $pkg_success_txt = sprintf(gettext('%1$s installation successfully completed.'), $pkgid); $pkg_fail_txt = sprintf(gettext('%1$s installation failed!'), $pkgid); $pkg_wait_txt = sprintf(gettext('Please wait while the installation of %1$s completes.'), $pkgid); } @@ -513,12 +513,12 @@ function show_success() { $('#final').removeClass("alert-info").addClass("alert-success"); if ("" != "reinstallall") { if ("" == "firmware") { - $('#final').html("" + "" + ""); + $('#final').html("" + "" + ""); } else { $('#final').html(""); } } else { - $('#final').html(""); + $('#final').html(""); } $('#final').show(); @@ -531,7 +531,7 @@ function show_failure() { if ("" != "reinstallall") { $('#final').html(""); } else { - $('#final').html(""); + $('#final').html(""); } $('#final').show(); } -- cgit v1.1