summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-07-27 20:32:31 -0400
committerChris Buechler <cmb@pfsense.org>2010-07-27 20:32:31 -0400
commitcf652f81e5f83b6aa71830e452b5d583d4de7db7 (patch)
tree058e521c36a69000e23aac217444e751e8365d4f /usr
parent981d193fb4176328996bc88bd0783108d2a153d3 (diff)
downloadpfsense-cf652f81e5f83b6aa71830e452b5d583d4de7db7.zip
pfsense-cf652f81e5f83b6aa71830e452b5d583d4de7db7.tar.gz
add patch from vcoque to fix gettext
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/diag_nanobsd.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/diag_nanobsd.php b/usr/local/www/diag_nanobsd.php
index 3409a34..db96484 100755
--- a/usr/local/www/diag_nanobsd.php
+++ b/usr/local/www/diag_nanobsd.php
@@ -67,10 +67,11 @@ nanobsd_detect_slice_info();
$NANOBSD_SIZE = nanobsd_get_size();
if($_POST['bootslice']) {
+ $statusmsg = gettext("Setting slice information, please wait...");
echo <<<EOF
<div id="loading">
<img src="/themes/metallic/images/misc/loader.gif">
- gettext("Setting slice information, please wait...")
+ $statusmsg
<p/>&nbsp;
</div>
EOF;
@@ -82,10 +83,11 @@ EOF;
}
if($_POST['destslice']) {
+ $statusmsg = gettext("Duplicating slice. Please wait, this will take a moment...");
echo <<<EOF
<div id="loading">
<img src="/themes/metallic/images/misc/loader.gif">
- gettext("Duplicating slice. Please wait, this will take a moment...")
+ $statusmsg
<p/>&nbsp;
</div>
EOF;
OpenPOWER on IntegriCloud