From bab74b37c58c8cead166e145f0c597cbe2754578 Mon Sep 17 00:00:00 2001 From: Rafael Lucas Date: Thu, 29 Jul 2010 09:45:55 -0300 Subject: Implement gettext() calls on upload_progress.php --- usr/local/www/upload_progress.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/upload_progress.php b/usr/local/www/upload_progress.php index 8a27b64..2658905 100644 --- a/usr/local/www/upload_progress.php +++ b/usr/local/www/upload_progress.php @@ -41,7 +41,7 @@ include("guiconfig.inc"); // sanitize the ID value $id = $_SESSION['uploadid']; if (!$id) { - echo "Sorry, we could not find an uploadid code."; + echo gettext("Sorry, we could not find an uploadid code."); exit; } @@ -54,7 +54,7 @@ if (!$info) { - Could not locate progress {$id}. Trying again... + EOF; @@ -69,7 +69,7 @@ if ($info['bytes_uploaded'] >= $info['bytes_total']) {  

- UPLOAD completed! +
@@ -83,7 +83,7 @@ EOF1; - Uploading Files... Please wait ... + <?=gettext("Uploading Files... Please wait ...");?> @@ -92,7 +92,7 @@ EOF1;
-
Uploading file...
+

@@ -120,7 +120,7 @@ EOF1;
- Uploaded: + @@ -130,7 +130,7 @@ EOF1; - File Size: + @@ -142,7 +142,7 @@ EOF1; - Completed: + @@ -152,7 +152,7 @@ EOF1; - Estimated: + -- cgit v1.1