diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-16 08:49:54 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-16 08:50:15 -0500 |
commit | 4b951e647c4e53a6511985d346ed75eb9ea680a3 (patch) | |
tree | 884020e242ee884bb3f514f52ccf4d31ce487261 /src/usr/local/www/widgets/widgets/system_information.widget.php | |
parent | 96fcf69829498a27292e6b4af538d2468fc8ae22 (diff) | |
download | pfsense-4b951e647c4e53a6511985d346ed75eb9ea680a3.zip pfsense-4b951e647c4e53a6511985d346ed75eb9ea680a3.tar.gz |
Minor cosmetic/text changes
Diffstat (limited to 'src/usr/local/www/widgets/widgets/system_information.widget.php')
-rw-r--r-- | src/usr/local/www/widgets/widgets/system_information.widget.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php index 0dd9be4..326e845 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -66,14 +66,14 @@ if ($_REQUEST['getupdatestatus']) { $system_version = get_system_pkg_version(); if ($system_version === false) { - echo "<i>Unable to check for updates</i>"; + print(gettext("<i>Unable to check for updates</i>")); exit; } if (!is_array($system_version) || !isset($system_version['version']) || !isset($system_version['installed_version'])) { - echo "<i>Wrong version information</i>"; + print(gettext("<i>Error in version information</i>")); exit; } @@ -84,21 +84,21 @@ if ($_REQUEST['getupdatestatus']) { case '<': ?> <div class="alert alert-warning" role="alert"> - Version <?=$system_version['version']?> is available. + Version <?=$system_version['version']?> <?=gettext("is available. ")?> <a href="/pkg_mgr_install.php?id=firmware" class="alert-link"> - Click Here to view. + <?=gettext("Click Here to update.")?> </a> </div> <?php break; case '=': - echo "You are on the latest version."; + print(gettext("You are on the latest version.")); break; case '>': - echo "You are on a later version than<br />the official release."; + print(gettext("You are on a later version than<br />the official release.")); break; default: - echo "<i>Error comparing installed version with latest available</i>"; + print(gettext( "<i>Error comparing installed version<br />with latest available</i>")); break; } |