summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/upload_progress.php18
1 files changed, 9 insertions, 9 deletions
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) {
<html>
<meta http-equiv="Refresh" CONTENT="1; url=upload_progress.php?uploadid={$id}">
<body>
- Could not locate progress {$id}. Trying again...
+ <?php printf(gettext("Could not locate progress %s. Trying again..."),$id);?>
</body>
</html>
EOF;
@@ -69,7 +69,7 @@ if ($info['bytes_uploaded'] >= $info['bytes_total']) {
&nbsp;<p>
<center>
<b>
- UPLOAD completed!
+ <?=gettext("UPLOAD completed!");?>
</b>
</center>
</body>
@@ -83,7 +83,7 @@ EOF1;
<html>
<head>
<meta http-equiv="Refresh" content="1; url=<?=$url?>">
- <title>Uploading Files... Please wait ...</title>
+ <title><?=gettext("Uploading Files... Please wait ...");?></title>
<style type='text/css'>
td {font-size: 10pt }
</style>
@@ -92,7 +92,7 @@ EOF1;
<table height="100%" width="100%" cellPadding="4" cellSpacing="4" style="border:1px solid #990000;">
<tr>
<td>
- <font face="arial"><b><center>Uploading file...</b></center>
+ <font face="arial"><b><center><?=gettext("Uploading file...");?></b></center>
<br>
<table width="100%" height="15" colspacing="0" cellpadding="0" cellspacing="0" border="0" align="top" nowrap>
<tr>
@@ -120,7 +120,7 @@ EOF1;
<td align="right">
<font face="arial">
<b>
- Uploaded:
+ <?=gettext("Uploaded:");?>
</td>
<td>
<font face="arial">
@@ -130,7 +130,7 @@ EOF1;
<td align="right">
<font face="arial">
<b>
- File Size:
+ <?=gettext("File Size:");?>
</td>
<td>
<font face="arial">
@@ -142,7 +142,7 @@ EOF1;
<td align="right">
<font face="arial">
<b>
- Completed:
+ <?=gettext("Completed:");?>
</td>
<td>
<font face="arial">
@@ -152,7 +152,7 @@ EOF1;
<td align="right">
<font face="arial">
<b>
- Estimated:
+ <?=gettext("Estimated:");?>
</td>
<td>
<font face="arial">
OpenPOWER on IntegriCloud