summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-20 20:41:46 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-20 20:41:46 -0300
commit408811c5cf9c44c13609cac12bb3547a9d0daf49 (patch)
tree733c9ac7013eff497bc7e25203c6c4e5b7de4f17 /usr/local/www
parent367ceabc92c8b17531fc5613e01ec8fcb26bfb8e (diff)
downloadpfsense-408811c5cf9c44c13609cac12bb3547a9d0daf49.zip
pfsense-408811c5cf9c44c13609cac12bb3547a9d0daf49.tar.gz
Implement gettext() calls on status.php
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/status.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/status.php b/usr/local/www/status.php
index bc2656d..e21cfe3 100755
--- a/usr/local/www/status.php
+++ b/usr/local/www/status.php
@@ -107,7 +107,7 @@ function defCmd($command) {
/* List all of the commands as an index. */
function listCmds() {
global $commands;
- echo "<p>This status page includes the following information:\n";
+ echo "<p>" . gettext("This status page includes the following information") . ":\n";
echo "<ul width=\"700\">\n";
for ($i = 0; isset($commands[$i]); $i++ ) {
echo "<li><strong><a href=\"#" . $commands[$i][0] . "\">" . $commands[$i][0] . "</a></strong>\n";
@@ -222,10 +222,10 @@ pre {
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<strong><?=$currentDate;?></strong>
-<p><span class="red"><strong>Note: make sure to remove any sensitive information
-(passwords, maybe also IP addresses) before posting
-information from this page in public places (like mailing lists)!</strong></span><br>
-Passwords in config.xml have been automatically removed.
+<p><span class="red"><strong><?=gettext("Note: make sure to remove any sensitive information " .
+"(passwords, maybe also IP addresses) before posting " .
+"information from this page in public places (like mailing lists)"); ?>!</strong></span><br>
+<?=gettext("Passwords in config.xml have been automatically removed"); ?>.
<div id="cmdspace" style="width:700px">
<?php listCmds(); ?>
OpenPOWER on IntegriCloud