summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-20 21:18:43 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-20 21:18:43 -0300
commit0dd3b04f0bc6d6c8739e5a11d0fe33fe30cc0813 (patch)
tree4e129e3b69a6bf8d2256bf34ca6e2585d9992f44 /usr/local
parent6a641e9fd5af5d6eecb661903449725c8b64de29 (diff)
downloadpfsense-0dd3b04f0bc6d6c8739e5a11d0fe33fe30cc0813.zip
pfsense-0dd3b04f0bc6d6c8739e5a11d0fe33fe30cc0813.tar.gz
Implement gettext() calls on status.php
Diffstat (limited to 'usr/local')
-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