diff options
author | Phil Davis <phil.davis@inf.org> | 2016-01-16 00:47:06 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-01-16 00:47:06 +0545 |
commit | babf5d85a3871c11a31b853ed7eb837e989f4c01 (patch) | |
tree | 7943e4e5d3097539ddd1a7b9675d87186f15bab7 /src/usr/local/www/diag_ping.php | |
parent | c3f962bab940051e9e3d0fd93f981c1ff8fd0cc2 (diff) | |
download | pfsense-babf5d85a3871c11a31b853ed7eb837e989f4c01.zip pfsense-babf5d85a3871c11a31b853ed7eb837e989f4c01.tar.gz |
Internationalization batch 1
Diffstat (limited to 'src/usr/local/www/diag_ping.php')
-rw-r--r-- | src/usr/local/www/diag_ping.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_ping.php b/src/usr/local/www/diag_ping.php index d95fc54..b99f595 100644 --- a/src/usr/local/www/diag_ping.php +++ b/src/usr/local/www/diag_ping.php @@ -156,7 +156,7 @@ if ($do_ping) { $result = shell_exec($cmd); if (empty($result)) { - $input_errors[] = "Host \"" . $host . "\" did not respond or could not be resolved."; + $input_errors[] = sprintf(gettext('Host "%s" did not respond or could not be resolved.'), $host); } } @@ -207,7 +207,7 @@ if ($do_ping && !empty($result) && !$input_errors) { ?> <div class="panel panel-default"> <div class="panel-heading"> - <h2 class="panel-title">Results</h2> + <h2 class="panel-title"><?=gettext('Results')?></h2> </div> <div class="panel-body"> |