From 72c82d8acff71035b7f7cd4a81ec31ad00f2e24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 24 May 2010 10:55:18 +0200 Subject: [PATCH] Convert to gettext and adjust coding style. --- import_status.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/import_status.php b/import_status.php index dccd41fdd..4125eadea 100644 --- a/import_status.php +++ b/import_status.php @@ -18,14 +18,17 @@ if (isset($GLOBALS["message"]) && $GLOBALS["message"]) { header('Content-type: text/html'); - usleep(300000); // wait 0.3 sec before we check for $_SESSION variable, which is set inside import.php - while ($_SESSION['Import_message']['message'] == null) { // wait until message is available + // wait 0.3 sec before we check for $_SESSION variable, which is set inside import.php + usleep(300000); + + // wait until message is available + while ($_SESSION['Import_message']['message'] == null) { usleep(250000); // 0.25 sec } echo $_SESSION['Import_message']['message']; echo '
' . "\n"; - echo ' [ ' . $GLOBALS["strBack"] . ' ]' . "\n"; + echo ' [ ' . __('Back') . ' ]' . "\n"; echo '
'."\n"; } else {