summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-27 20:03:44 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-27 20:03:44 +0545
commit5b139cfc0094605faa2ae5d52e79acf8422cb98e (patch)
tree453775ff044e159262ac2b84da0b9e1dcc57aaf1 /src
parentd5573e421d13d0c1b779981360057897d7bf924b (diff)
downloadpfsense-5b139cfc0094605faa2ae5d52e79acf8422cb98e.zip
pfsense-5b139cfc0094605faa2ae5d52e79acf8422cb98e.tar.gz
Internationalize status_graph_cpu
This one is a bit odd, so I have made a separate pull request. There seems to be no place in the menus that comes to this page - I had to manually enter the URL to get to it to test. I checked on 2.2.6 also, and there is no menu entry for it. But the code does work. Should this be available in the menus somewhere?
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/status_graph_cpu.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/usr/local/www/status_graph_cpu.php b/src/usr/local/www/status_graph_cpu.php
index f37a332..6bdc8fb 100644
--- a/src/usr/local/www/status_graph_cpu.php
+++ b/src/usr/local/www/status_graph_cpu.php
@@ -63,22 +63,21 @@
##|*MATCH=status_graph_cpu.php*
##|-PRIV
-$pgtitle = array(gettext("Status"), gettext("CPU load"));
+$pgtitle = array(gettext("Status"), gettext("CPU Load Graph"));
require("guiconfig.inc");
include("head.inc");
-$pgtitle = gettext("Status: CPU Graph");
-
?>
<div class="panel panel-default">
- <div class="panel-heading"><h2 class="panel-title"><?=gettext("CPU Load graph");?></h2></div>
+ <div class="panel-heading"><h2 class="panel-title"><?=gettext("CPU Load Graph");?></h2></div>
<div class="panel-body text-center">
<embed src="graph_cpu.php" type="image/svg+xml"
width="550" height="275" pluginspage="http://www.adobe.com/svg/viewer/install/auto" />
</div>
- <p class="text-center"><strong><?=gettext("Note"); ?>:</strong><?=gettext("if you can't see the graph, you may have to install the")?>
- <a href="http://www.adobe.com/svg/viewer/install/" target="_blank"><?=gettext("Adobe SVG viewer"); ?></a>
+ <p class="text-center">
+ <strong><?=gettext("Note"); ?>:</strong>
+ <?=sprintf(gettext('If you can\'t see the graph, you may have to install the %1$sAdobe SVG viewer%2$s'), '<a href="http://www.adobe.com/svg/viewer/install/" target="_blank">', '</a>')?>
</p>
</div>
OpenPOWER on IntegriCloud