diff options
-rw-r--r-- | src/usr/local/www/diag_routes.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/diag_sockets.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/diag_tables.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/diag_routes.php b/src/usr/local/www/diag_routes.php index 36048e1..cc68313 100644 --- a/src/usr/local/www/diag_routes.php +++ b/src/usr/local/www/diag_routes.php @@ -212,7 +212,7 @@ events.push(function() { </script> <div class="panel panel-default"> - <div class="panel-heading"><h2 class="panel-title">IPv4 Routes</h2></div> + <div class="panel-heading"><h2 class="panel-title"><?=gettext("IPv4 Routes")?></h2></div> <div class="panel panel-body"> <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" id="IPv4"> <thead> @@ -230,7 +230,7 @@ events.push(function() { </div> <div class="panel panel-default"> - <div class="panel-heading"><h2 class="panel-title">IPv6 Routes</h2></div> + <div class="panel-heading"><h2 class="panel-title"><?=gettext("IPv6 Routes")?></h2></div> <div class="panel panel-body"> <table class="table table-striped table-hover table-condensed sortable-theme-bootstrap" id="IPv6"> <thead> diff --git a/src/usr/local/www/diag_sockets.php b/src/usr/local/www/diag_sockets.php index 517e8c7..55c1b17 100644 --- a/src/usr/local/www/diag_sockets.php +++ b/src/usr/local/www/diag_sockets.php @@ -67,7 +67,7 @@ $pgtitle = array(gettext("Diagnostics"), gettext("Sockets")); include('head.inc'); $showAll = isset($_GET['showAll']); -$showAllText = $showAll ? "Show only listening sockets" : "Show all socket connections"; +$showAllText = $showAll ? gettext("Show only listening sockets") : gettext("Show all socket connections"); $showAllOption = $showAll ? "" : "?showAll"; ?> diff --git a/src/usr/local/www/diag_tables.php b/src/usr/local/www/diag_tables.php index 07aa2b8..b2f100d 100644 --- a/src/usr/local/www/diag_tables.php +++ b/src/usr/local/www/diag_tables.php @@ -129,7 +129,7 @@ if ($savemsg) { if ($tablename == "webConfiguratorlockout") { $displayname = gettext("Web configurator lockout table"); } else { - $displayname = ucfirst($tablename) . " " . gettext("table"); + $displayname = sprintf(gettext("%s table"), ucfirst($tablename)); } $form = new Form(false); @@ -230,7 +230,7 @@ events.push(function() { </td> <td> <?php if (!$bogons): ?> - <a class="btn btn-xs btn-default" data-entry="<?=htmlspecialchars($entry)?>">Remove</a> + <a class="btn btn-xs btn-default" data-entry="<?=htmlspecialchars($entry)?>"><?=gettext("Remove")?></a> <?php endif ?> </td> </tr> |