summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_rrd_graph.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_rrd_graph.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_rrd_graph.php')
-rw-r--r--src/usr/local/www/status_rrd_graph.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/status_rrd_graph.php b/src/usr/local/www/status_rrd_graph.php
index 2bea2c7..4e2eb94 100644
--- a/src/usr/local/www/status_rrd_graph.php
+++ b/src/usr/local/www/status_rrd_graph.php
@@ -230,7 +230,7 @@ if (is_numeric($_GET['end'])) {
/* this should never happen */
if ($end < $start) {
- log_error("start $start is smaller than end $end");
+ log_error(sprintf(gettext("start %d is smaller than end %d"), $start, $end));
$end = $now;
}
@@ -299,7 +299,7 @@ $graph_length = array(
switch ($curcat) {
case "vpnusers":
- $curcattext = "VPN Users";
+ $curcattext = gettext("VPN Users");
break;
default:
$curcattext = ucfirst($curcat);
@@ -622,7 +622,7 @@ if ($curcat == 'custom') {
$id = preg_replace('/\./', '_', $id);
?>
<div class="panel panel-default">
- <img class="img-responsive center-block" id="<?=$id?>" alt="<?=$prettydb?> Graph" src="status_rrd_graph_img.php?start=<?=$start?>&amp;end=<?=$end?>&amp;database=<?=$curdatabase?>&amp;style=<?=$curstyle?>&amp;graph=<?=$graph?>" />
+ <img class="img-responsive center-block" id="<?=$id?>" alt="<?=$prettydb?> <?=gettext("Graph");?>" src="status_rrd_graph_img.php?start=<?=$start?>&amp;end=<?=$end?>&amp;database=<?=$curdatabase?>&amp;style=<?=$curstyle?>&amp;graph=<?=$graph?>" />
</div>
<?php
OpenPOWER on IntegriCloud