summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorbruno <bruno.stein@bluepex.com>2016-01-22 11:25:28 -0200
committerbruno <bruno.stein@bluepex.com>2016-01-22 11:25:28 -0200
commit3bd74348f03714448996b0352ce7bb41fb2cc320 (patch)
treeb37e08c08a3267590e0363673874fa2475fd1a9e /src/usr/local/www/status_queues.php
parentee2a6908784f93f904ce603f0db8c96d5bd81140 (diff)
downloadpfsense-3bd74348f03714448996b0352ce7bb41fb2cc320.zip
pfsense-3bd74348f03714448996b0352ce7bb41fb2cc320.tar.gz
add call 'gettext' function in the status menu files
Diffstat (limited to 'src/usr/local/www/status_queues.php')
-rw-r--r--src/usr/local/www/status_queues.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/status_queues.php b/src/usr/local/www/status_queues.php
index b1c0815..9568b75 100644
--- a/src/usr/local/www/status_queues.php
+++ b/src/usr/local/www/status_queues.php
@@ -84,7 +84,7 @@ if (!file_exists("{$g['varrun_path']}/qstats.pid") || !isvalidpid("{$g['varrun_p
}
$fd = @fsockopen("unix://{$g['varrun_path']}/qstats");
if (!$fd) {
- $error = "Something wrong happened during communication with stat gathering";
+ $error = gettext("Something wrong happened during communication with stat gathering");
} else {
$stats = "";
while (!feof($fd)) {
@@ -94,7 +94,7 @@ if (!$fd) {
@file_put_contents("{$g['tmp_path']}/qstats", $stats);
$altqstats = @parse_xml_config("{$g['tmp_path']}/qstats", array("altqstats"));
if ($altqstats == -1) {
- $error = "No queue statistics could be read.";
+ $error = gettext("No queue statistics could be read.");
}
}
if ($_REQUEST['getactivity']) {
@@ -191,8 +191,8 @@ else: ?>
<th><?=gettext("Queue"); ?></th>
<th><?=gettext("Statistics"); ?>
<select id="selStatistic" class="form-control">
- <option value="0">PPS</option>
- <option value="1">Bandwidth</option>
+ <option value="0"><?=gettext("PPS");?></option>
+ <option value="1"><?=gettext("Bandwidth");?></option>
</select>
</th>
<th><?=gettext("PPS"); ?></th>
OpenPOWER on IntegriCloud