[Dehs-devel] r170 - trunk/www

atomo64-guest at alioth.debian.org atomo64-guest at alioth.debian.org
Sat Apr 4 19:00:00 UTC 2009


Author: atomo64-guest
Date: 2009-04-04 19:00:00 +0000 (Sat, 04 Apr 2009)
New Revision: 170

Modified:
   trunk/www/maintainer.php
   trunk/www/no_updated.php
   trunk/www/no_upstream.php
   trunk/www/no_watch.php
Log:
Speak better English


Modified: trunk/www/maintainer.php
===================================================================
--- trunk/www/maintainer.php	2009-04-04 18:58:25 UTC (rev 169)
+++ trunk/www/maintainer.php	2009-04-04 19:00:00 UTC (rev 170)
@@ -138,7 +138,7 @@
 				print "$totrs <b>packages without a checkable upstream</b>, <b>share: </b> " . number_format ( $totrs/$totpkgs[0] * 100, 2) . "%<br>" ;
 				break;
 			case "no_updated":
-				print "$totrs <b>packages with newer upstream release</b>, <b>share: </b> " . number_format ( $totrs/$totpkgs[0] * 100, 2) . "%<br>" ;
+				print "$totrs <b>packages with a newer upstream release</b>, <b>share: </b> " . number_format ( $totrs/$totpkgs[0] * 100, 2) . "%<br>" ;
 				break;
 			case "ok":
 				print "$totrs <b>packages up-to-date</b>, <b>share: </b> " . number_format ( $totrs/$totpkgs[0] * 100, 2) . "%<br>" ;
@@ -169,7 +169,7 @@
 <ul>
 <li><b>Pop Inst:</b> <a href="http://qa.debian.org/popcon.php?package=<?=$res_array['name']?>"><? print $res_array["pop_inst"]; ?></a></li>
 <? if ($key=="no_watch") { ?>
-<li><b>WWiz Upstream Version:</b>
+<li><b>WWiz upstream version:</b>
 		    <? if ($res_array["wwiz_version"]) {?>
 			<? if ($res_array[up_changes]!='') { ?>
 	   			<a href="<? print "wwiz_detail.php?id=$res_array[id]&amp;type=up_changes";?>">
@@ -183,7 +183,7 @@
 			?></li>
 <? }?>
 <? if ($key!="no_watch") { ?>
-<li><b>Upstream Version: </b>
+<li><b>Upstream version: </b>
 		<? if ($res_array["up_version"]) {?>
 	  	   <? if ($res_array[up_changes]!='') { ?>
 	   			<a href="<? print "wwiz_detail.php?id=$res_array[id]&amp;type=up_changes";?>">
@@ -196,7 +196,7 @@
     echo '<li><b>Source download: </b> <a href="' . htmlentities($res_array['up_url']) . '">' . htmlentities(preg_replace('/(.+?)\?.*/','$1',basename($res_array['up_url']))) . '</a></li>';
 }
 ?>
-<li><b>Debian Version: </b><? print htmlentities($res_array["version"]);
+<li><b>Debian version: </b><? print htmlentities($res_array["version"]);
 if ($res_array["dversionmangled"] != $res_array["version"]) {
     echo ' <span style="white-space: nowrap;">(mangled:&nbsp;<i>' . htmlentities($res_array["dversionmangled"]) . '</i>)</span>';
 }
@@ -212,7 +212,7 @@
 <li><b>Avg days opened: </b><? print number_format($res_array["tot_avg_error_date"],0); ?></li>
 <li><b>Distrib: </b><? printf('<a href="http://packages.debian.org/%1$s/%2$s">%1$s</a>',$res_array["dist"],$res_array["name"]); ?></li>
 <? if ($key=="no_watch") { ?>
-<li><b>Watch Wiz:</b>
+<li><b>Watch Wizard:</b>
 <?
 	if ($res_array["wwiz_type"]!="no_cright") {
 ?>

Modified: trunk/www/no_updated.php
===================================================================
--- trunk/www/no_updated.php	2009-04-04 18:58:25 UTC (rev 169)
+++ trunk/www/no_updated.php	2009-04-04 19:00:00 UTC (rev 170)
@@ -40,8 +40,8 @@
 $rsql2=pg_exec($db, "SELECT count(name) from pkgs WHERE up_version IS NOT NULL") OR Die("Errore on query");
 $totnowatch=pg_numrows($rsql);
 $totpkgs=pg_fetch_array($rsql2,0);
-print "<b>Total packages needing to be synced</b>: $totnowatch
-		<b>Total with upstream found:</b> $totpkgs[0] <b>Percentage: </b> " . number_format ( $totnowatch/$totpkgs[0] * 100, 2, ",",".") . "%" ;
+print "<b>Total packages to be updated</b>: $totnowatch
+		<b>Total with upstream version:</b> $totpkgs[0] <b>Share: </b> " . number_format ( $totnowatch/$totpkgs[0] * 100, 2) . "%" ;
 ?>
 <table
  style="width: auto; text-align: left; margin-left: auto; margin-right: auto;"
@@ -93,7 +93,7 @@
   </tbody>
 </table>
 <br>
-<i>last updated: <? echo htmlentities(date("r")); ?></i>
+<i>Last update: <? echo htmlentities(date("r")); ?></i>
 <br>
 </div>
 </body>

Modified: trunk/www/no_upstream.php
===================================================================
--- trunk/www/no_upstream.php	2009-04-04 18:58:25 UTC (rev 169)
+++ trunk/www/no_upstream.php	2009-04-04 19:00:00 UTC (rev 170)
@@ -19,7 +19,7 @@
 $totnowatch=pg_numrows($rsql);
 $totpkgs=pg_fetch_array($rsql2);
 print "<b>Total Package without a checkable upstream</b>: $totnowatch
-		<b>Total with Watch:</b> $totpkgs[0] <b>Share: </b> " . number_format ( $totnowatch/$totpkgs[0] * 100, 2, ",",".") . "%" ;
+		<b>Total with Watch:</b> $totpkgs[0] <b>Share: </b> " . number_format ( $totnowatch/$totpkgs[0] * 100, 2) . "%" ;
 
 ?>
 <table
@@ -68,7 +68,7 @@
   </tbody>
 </table>
 <br>
-<i>last updated: <? echo htmlentities(date("r")); ?></i>
+<i>Last update: <? echo htmlentities(date("r")); ?></i>
 <br>
 </div>
 </body>

Modified: trunk/www/no_watch.php
===================================================================
--- trunk/www/no_watch.php	2009-04-04 18:58:25 UTC (rev 169)
+++ trunk/www/no_watch.php	2009-04-04 19:00:00 UTC (rev 170)
@@ -61,7 +61,7 @@
 </tbody>
 </table><br>
 <b>Total source packages without watch file</b>: <? print $totnowatch . " "; ?>
-<b>Total source packages:</b> <?=$totpkgs[0];?> <b>Share: </b> <? print number_format ( $totnowatch/$totpkgs[0] * 100, 2, ",",".") . "%" ;?>
+<b>Total source packages:</b> <?=$totpkgs[0];?> <b>Share: </b> <? print number_format ( $totnowatch/$totpkgs[0] * 100, 2) . "%" ;?>
 <table
  style="width: 70%; text-align: left; margin-left: auto; margin-right: auto;"
  border="1" cellspacing="2" cellpadding="2">
@@ -110,7 +110,7 @@
 </tbody>
 </table>
 <br>
-<i>last updated: <? echo htmlentities(date("r")); ?></i>
+<i>Last update: <? echo htmlentities(date("r")); ?></i>
 <br>
 </div>
 </body>




More information about the Dehs-devel mailing list