From 3bd74348f03714448996b0352ce7bb41fb2cc320 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 22 Jan 2016 11:25:28 -0200 Subject: add call 'gettext' function in the status menu files --- src/usr/local/www/status_rrd_graph.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr/local/www/status_rrd_graph.php') 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); ?>
- <?=$prettydb?> Graph + <?=$prettydb?> <?=gettext(" src="status_rrd_graph_img.php?start=&end=&database=&style=&graph=" />