From cf652f81e5f83b6aa71830e452b5d583d4de7db7 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Tue, 27 Jul 2010 20:32:31 -0400 Subject: add patch from vcoque to fix gettext --- usr/local/www/diag_nanobsd.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr') 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 << - gettext("Setting slice information, please wait...") + $statusmsg

  EOF; @@ -82,10 +83,11 @@ EOF; } if($_POST['destslice']) { + $statusmsg = gettext("Duplicating slice. Please wait, this will take a moment..."); echo << - gettext("Duplicating slice. Please wait, this will take a moment...") + $statusmsg

  EOF; -- cgit v1.1