diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-18 08:20:00 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-18 08:20:00 -0200 |
commit | bc12b05828abf4fbb70ece831068fb0fdea48516 (patch) | |
tree | 8e80ca9697799cdecdd017e05adc6d8f181ae5e6 /src | |
parent | e6dede0faa164b8d1dcfb0aefecd6f9faa8671f9 (diff) | |
parent | 185b43650f5685a2b4211a4cab0bc23718bd24bf (diff) | |
download | pfsense-bc12b05828abf4fbb70ece831068fb0fdea48516.zip pfsense-bc12b05828abf4fbb70ece831068fb0fdea48516.tar.gz |
Merge pull request #2456 from phil-davis/gt2
Diffstat (limited to 'src')
-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> |